{"id":"CVE-2026-113396","kind":"vulnerability","aliases":["CVE-2026-113396"],"related":[],"title":"DrayTek Vigor2960 router: rename_table flaw allows remote command injection","description":"A weakness has been identified in DrayTek Vigor2960 1.5.1.6 Revision 8218. The impacted element is the function rename_table of the file /cgi-bin/mainfunction.cgi of the component Rename Table Handler. This manipulation of the argument newtable causes command injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 1.5.1.7 is sufficient to resolve this issue. It is suggested to upgrade the affected component. The vendor explains: \"2960 1.5.1.7 has corrected many security issues. And 2960 is EoS with limited support, only major issues would be reviewed(e.g. unauthenticated vuln.)\". This vulnerability only affects products that are no longer supported by the maintainer.","summary":"The Rename Table handler in the web management CGI of DrayTek Vigor2960 1.5.1.6 does not sanitize the newtable argument, so command injection is possible. A remote attacker can run operating system commands on the router, and a public exploit exists.","severity":"high","cvss":7.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["draytek","infrastructure","network-appliances","routers","self-hosted","vigor2960"],"not_affected_if":["management-restricted-to-lan","other-draytek-models","web-management-disabled"],"how_to_check":"- Check the firmware version on the router's admin page or with `show version` over the console; the affected build is `1.5.1.6` Revision 8218\n- Confirm whether the web management interface at /cgi-bin/mainfunction.cgi is reachable from the internet","fix":"- Upgrade Vigor2960 firmware to `1.5.1.7` as the advisory suggests\n- The vendor says the 2960 is end of support with limited fixes, so if no upgrade path remains, replace the device or restrict management access","status":"open","published_at":"2026-10-20T14:16:59+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","triaged_at":"2026-10-25T03:27:07+00:00","updated_at":"2026-10-25T03:27:07+00:00","category":"infrastructure","confidence":0.75,"triage":{"at":"2026-10-25T03:27:07Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Vigor2960 firmware to `1.5.1.7` as the advisory suggests\n- The vendor says the 2960 is end of support with limited fixes, so if no upgrade path remains, replace the device or restrict management access","reach":"internet","title":"DrayTek Vigor2960 router: rename_table flaw allows remote command injection","impact":"high","summary":"The Rename Table handler in the web management CGI of DrayTek Vigor2960 1.5.1.6 does not sanitize the newtable argument, so command injection is possible. A remote attacker can run operating system commands on the router, and a public exploit exists.","category":"infrastructure","nicknames":[],"who_cares":["draytek","vigor2960","routers","network-appliances","self-hosted"],"confidence":0.75,"needs_auth":"unknown","worst_case":"remote attacker runs operating system commands on the router","analyst_note":"Confirm whether authentication is required for /cgi-bin/mainfunction.cgi and whether the web management interface is exposed by default; check the NVD entry for the exploit reference.","how_to_check":"- Check the firmware version on the router's admin page or with `show version` over the console; the affected build is `1.5.1.6` Revision 8218\n- Confirm whether the web management interface at /cgi-bin/mainfunction.cgi is reachable from the internet","needs_analyst":true,"not_affected_if":["other-draytek-models","web-management-disabled","management-restricted-to-lan"],"who_is_affected":"Owners of DrayTek Vigor2960 routers on firmware 1.5.1.6 Revision 8218, especially where the web management interface is exposed to the internet or to untrusted networks. The vendor notes this product is end of support, so devices on that line may not receive a fix beyond 1.5.1.7. Teams without Vigor2960 hardware can skip it.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.00069,"input_tokens":3481,"output_tokens":683,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-113396':13A,16A '-2026':12A,15A '/cgi-bin/mainfunction.cgi':89C '1.5.1.6':39B,75C '1.5.1.7':129C,148C '2960':147C,155C '8218':77C 'affect':142C,173C 'allow':7A 'applianc':21B 'argument':45B,100C 'attack':53B,106C,125C 'avail':116C 'caus':102C 'cgi':35B 'command':9A,47B,58B,103C 'compon':92C,143C 'correct':150C 'could':121C 'cve':11A,14A 'draytek':1A,17B,37B,73C 'e.g':167C 'element':80C 'eo':157C 'exist':66B 'explain':146C 'exploit':65B,112C 'file':88C 'flaw':6A 'function':83C 'handler':30B,95C 'host':25B 'identifi':71C 'impact':79C 'infrastructur':18B 'initi':109C 'inject':10A,48B,104C 'issu':135C,153C,163C 'limit':159C 'longer':178C 'made':115C 'maintain':182C 'major':162C 'manag':34B 'mani':151C 'manipul':97C 'network':20B 'network-appli':19B 'newtabl':44B,101C 'oper':56B 'possibl':50B 'product':174C 'public':64B,119C 'remot':8A,52B,110C 'renam':4A,28B,84C,93C 'resolv':133C 'review':166C 'revis':76C 'router':3A,22B,61B 'run':55B 'sanit':42B 'secur':152C 'self':24B 'self-host':23B 'suffici':131C 'suggest':138C 'support':160C,179C 'system':57B 'tabl':5A,29B,85C,94C 'unauthent':168C 'upgrad':126C,140C 'use':123C 'vendor':145C 'version':128C 'vigor2960':2A,26B,38B,74C 'vuln':169C 'vulner':171C 'weak':68C 'web':33B 'would':164C","nicknames":[],"mitigations":[],"who_affected":"Owners of DrayTek Vigor2960 routers on firmware 1.5.1.6 Revision 8218, especially where the web management interface is exposed to the internet or to untrusted networks. The vendor notes this product is end of support, so devices on that line may not receive a fix beyond 1.5.1.7. Teams without Vigor2960 hardware can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T14:16:59+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cna@vuldb.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-113396","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113396","severity":null,"published_at":"2026-10-20T14:16:59+00:00","modified_at":"2026-10-20T19:27:34+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","fetched_at":"2026-10-23T22:28:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}