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).

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)10.9%top 4.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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)

VendorProductVersions
OPNsense OPNsense 0 – before 25.1.8

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

References