Vulnerabilities · 2025 · Opnsense
CVE-2025-50989
Opnsense vulnerability
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
Opnsense. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opnsense runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Opnsense products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.