RCE in Opnsense
CVE-2025-50989
- CVSS v3
- 9.1 Critical
- Public exploits
- None known
- EPSS
- 0.110 · 96.0th percentile
- Published
- 2025-08-27
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- High
PR:H - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.110, 96.0th percentile (last changed ); up from 0.101 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.101 · newest: 0.110 · change: +0.009
Affected products
- Opnsense — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/4rdr/proofs/blob/main/info/OPNsense-25.1-Command-Injection-via-span-… (Exploit, Third Party Advisory)
- github.com/opnsense/changelog/blob/640e96ed6a783254283aead0d0b744fc9143ce6d/com… (Product)