Root command execution via newline-injected private key
Published Oct 21, 2025 · Updated Oct 21, 2025
Command injection in TP-Link Omada, Omada Pro, and Festa Gateways allows remote authenticated users to execute arbitrary commands as root. In the WireGuard Web UI, safeSpecialString() and normal_precheck() retain newlines in the private-key value, and check_key() passes the resulting command to popen(). Administrative portal access is normally required; the injected command grants full gateway control, while undisclosed deployment scenarios remove the credential gate.
Summary
What happened
Command injection in TP-Link Omada, Omada Pro, and Festa Gateways allows remote authenticated users to execute arbitrary commands as root. In the WireGuard Web UI, safeSpecialString() and normal_precheck() retain newlines in the private-key value, and check_key() passes the resulting command to popen(). Administrative portal access is normally required; the injected command grants full gateway control, while undisclosed deployment scenarios remove the credential gate.
The record
- CVE
- CVE-2025-7850
- Published
- Oct 21, 2025
- Updated
- Oct 21, 2025
- Vendor
- TP-Link Systems Inc.
- Product
- Omada Gateways
- Classifications
- CWE-78, T1059.004
- Attack vector
- adjacent
- Privileges
- admin
Timeline
How it unfolded
- Oct 21, 2025CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <ER8411 1.3.3, ER7412-M2 1.1.0, ER707-M2 1.3.1, ER7206 2.2.2, ER605 2.3.1, ER706W 1.2.1, ER706W-4G 1.2.1, ER7212PC 2.1.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Forescout WireGuard private-key command-injection demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo