Vulnerability · Published Aug 27, 2025 · Assigned by mitre
CVE-2025-50989
Critical 9.1
In plain English
A critical-severity OS command injection in OPNsense from OPNsense. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 10.9% (higher than 96% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H