RCE in Opnsense
CVE-2025-50989
OPNsense before 25.1.8 contains an authenticated command injection vulnerability in its Bridge Interface Edit endpoint (interfaces_bridge_edit.php). The span POST parameter is concatenated into a system-level command without proper sanitization or escaping, allowing an administrator to inject arbitrary shell operators and payloads. Successful exploitation results in remote code execution with the privileges of the web service (typically root), potentially leading to full system compromise or lateral movement. This vulnerability arises from inadequate input validation and improper handling of user-supplied data in backend command invocations.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.080 (94.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Opnsense — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Third Party Advisory)
- cve@mitre.org (Product)
Frequently asked questions
- What is CVE-2025-50989?
- CVE-2025-50989 is a critical-severity vulnerability in Opnsense, classified under OS Command Injection. CVSS score: 9.1/10. Published 2025-08-27.
- How severe is CVE-2025-50989?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2025-50989 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.