CVE-2026-35018: NetComm NF20MESH Authenticated RCE via Shell Injection
NetComm NF20MESH routers contain a critical flaw that allows someone with login credentials to run arbitrary commands with full system privileges. The vulnerability stems from improper handling of usernames during account creation—attackers can inject shell commands into the username field, and the router will execute them without restriction. This is a post-authentication attack, meaning an attacker must first obtain valid credentials, but once inside, they gain complete control of the device.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-78
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-23 / 2026-06-24
NVD description (verbatim)
NetComm NF20MESH routers running firmware R6B031 and earlier contain an authenticated remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the username JSON parameter processed by the dalStorage_addUserAccount function. Attackers can exploit the unsafe concatenation of user-supplied input into a shell command string passed to rut_doSystemAction without sanitization to achieve full root-level command execution on the underlying operating system.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the dalStorage_addUserAccount function, which processes user input from a JSON username parameter without sanitization before passing it to rut_doSystemAction for shell execution. The unsafe concatenation allows shell metacharacters (such as backticks, semicolons, pipes, or command substitution syntax) embedded in the username to break out of the intended command context and execute arbitrary system commands with root privileges. This is a classic OS command injection flaw (CWE-78) that exploits the router's failure to escape or validate user-controlled data before shell invocation.
Business impact
Compromised routers can be used as persistent backdoors for lateral network movement, credential harvesting, DNS hijacking, or deployment of malware across connected networks. For organizations relying on NetComm devices in branch offices or remote sites, exploitation could lead to full compromise of network segments, data exfiltration, or service disruption. The ability to execute commands as root means attackers can modify firewall rules, intercept traffic, or persist across reboots.
Affected systems
NetComm NF20MESH routers running firmware version R6B031 or earlier are vulnerable. Organizations should verify their installed firmware versions immediately. NetComm has not provided information on later firmware versions that may or may not contain fixes; consult vendor advisories for confirmed patched versions.
Exploitability
Exploitation requires valid authentication credentials for the router's administrative interface. The attack vector is network-based and does not require user interaction once an attacker has login access. The attack complexity is low—injection of shell metacharacters into a username field is straightforward. The barrier to entry is credential acquisition, which could occur through phishing, credential stuffing, default credentials, or prior network compromise.
Remediation
Apply the latest firmware update from NetComm for the NF20MESH model. If patched firmware is unavailable, restrict administrative access to trusted IP ranges via firewall rules, enforce strong unique administrative passwords, disable remote management interfaces if not required, and monitor account creation logs for suspicious usernames containing shell metacharacters. Verify patch availability and version numbers against the vendor's official security advisory before deployment.
Patch guidance
Check NetComm's security portal or contact support to confirm the latest patched firmware version for the NF20MESH. Firmware R6B032 and later versions should be validated against the vendor advisory before deployment. Test patches in a non-production environment first. After patching, verify that the device functions correctly and that any configuration scripts or integrations continue to operate as expected.
Detection guidance
Monitor router administrative logs for account creation events containing suspicious characters in usernames (backticks, $(), semicolons, pipes, tildes, or other shell metacharacters). Review system command execution logs for unexpected root-level activities following user account modifications. Network-based detection is difficult without access to application logs; prioritize log monitoring and access control reviews. Consider scanning for exposed administrative interfaces using network discovery tools and flag any accessible NetComm devices for immediate credential and firmware review.
Why prioritize this
This vulnerability scores 8.8 (HIGH) on CVSS 3.1 due to high impact across confidentiality, integrity, and availability combined with low attack complexity. Although it requires prior authentication, the post-authentication escalation to unauthenticated root command execution creates substantial risk. Organizations should treat this as high priority, especially if NF20MESH routers are internet-facing, accessible to untrusted internal users, or deployed in critical network segments.
Risk score, explained
The CVSS 3.1 score of 8.8 reflects: (1) Network-based attack vector with no special access required after authentication; (2) Low attack complexity—shell injection is trivial to execute; (3) Low privileges required—only authenticated user access; (4) No user interaction required; (5) High impact to all three security pillars (confidentiality, integrity, availability via root command execution). The score would be higher if the vulnerability were unauthenticated, but the requirement for valid credentials limits the overall severity slightly.
Frequently asked questions
Do I need valid administrative credentials to exploit this vulnerability?
Yes. The vulnerability requires prior authentication to the router's administrative interface. However, once authenticated, an attacker can escalate to root-level command execution. If your router uses default or weak credentials, or if credentials are exposed through phishing or prior compromise, the barrier to entry is significantly lowered.
What is the difference between the affected firmware version R6B031 and later versions?
NetComm has not publicly confirmed which firmware versions beyond R6B031 contain the fix. Do not assume that firmware versions immediately after R6B031 are patched. Consult NetComm's official security advisory or contact support to identify the specific patched firmware version for your region and device variant before upgrading.
Can I mitigate this vulnerability without patching if firmware is unavailable?
Partial mitigation is possible: restrict administrative access to trusted IP addresses via firewall rules, enforce complex unique administrative passwords, disable remote management if not operationally required, and implement strict monitoring of account creation activity. However, these controls do not eliminate the underlying vulnerability—patching is essential once available.
Is this vulnerability currently being exploited in the wild?
This vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, which means no confirmed in-the-wild exploitation has been publicly reported as of the vulnerability publication date. However, the simplicity of the attack and the prevalence of routers in network environments means vigilance is warranted.
This analysis is based on the CVE record published on 2026-06-23 and modified on 2026-06-24. Patch version numbers, firmware release dates, and vendor advisory details must be verified directly with NetComm's official security communications. SEC.co makes no warranty regarding the completeness or accuracy of vendor remediation timelines. Organizations should validate all patch deployments in a non-production environment before production rollout. No exploit code or weaponized proof-of-concept is provided herein. This intelligence is for defensive and risk management purposes only. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2025-41265HIGHWaterfall WF-500 TX Host OS Command Injection (CVSS 7.2)
- CVE-2025-41266HIGHWaterfall WF-500 TX Host Command Injection Vulnerability Analysis
- CVE-2025-41267HIGHWaterfall WF-500 TX Host Command Injection Vulnerability
- CVE-2025-41279HIGHOS Command Injection in Waterfall WF-500 RX Host Administration WebUI
- CVE-2025-41281HIGHWaterfall WF-500 OS Command Injection
- CVE-2025-66273HIGHQNAP Command Injection in QTS and QuTS hero
- CVE-2025-66279HIGHQNAP NAS Command Injection – Admin Authentication Required, HIGH Severity
- CVE-2025-69755HIGHNeterbit NW-431F Router RCE and Data Exposure Vulnerability