Authenticated Command Injection in OPNsense Bridge Interface
CVE-2025-50989
What is CVE-2025-50989?
OPNsense version 25.1 has a significant command injection weakness found in its Bridge Interface Edit functionality. The vulnerability lies in the handling of the 'span' POST parameter, which is included in a system-level command without adequate sanitization or escaping. This allows an authenticated attacker, typically an administrator, to introduce harmful shell commands. If exploited, this vulnerability can lead to remote code execution with web service privileges, posing risks that could culminate in full system takeover or unauthorized lateral movement within the network. The root cause of the issue is primarily due to insufficient input validation and poor management of user-supplied data during backend command operations.
Affected Version(s)
OPNsense 0 < 25.1.8
