Vulnerability details

CVE-2025-50989

opnsense OPNsense
CVSS 3.1
9.1Critical

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.

CVSS scores

ScoreVersionSourceVector
8.8High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
9.1Critical 3.1 CVEProject cvelistV5 (CNA) (mitre) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
opnsense OPNsense v < 25.1.8 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-08-27
Last updated
2025-09-12
State
Published
Assigner (CNA)
mitre

Exploit prediction (EPSS)

10.93%
Probability of exploitation in 30 days
95.8%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-78
    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-77
    Improper Neutralization of Special Elements used in a Command ('Command Injection')