CVE-2025-50989

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductOpnsense
PublishedAug 27, 2025
First seenAug 27, 2025

How to fix

Update
  • opnsense opnsense25.1.8 or later

Affected products

ProductAffected versionsFixed in
opnsense opnsensev < 25.1.825.1.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-50989 · Opnsense · Dark Radar