Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.8, unsanitized user input is passed to the DHCP configuration of the configured interface, which is processed by a shell script, allowing remote code execution as root on the underlying operating system. This vulnerability is fixed in 26.1.8.
AnalysisAI
Remote code execution in OPNsense firewall (core versions prior to 26.1.8) allows authenticated administrators to execute arbitrary commands as root by injecting shell metacharacters into DHCP interface configuration fields that are passed unsanitized to an underlying shell script. The flaw carries a 9.1 CVSS score with scope change reflecting privilege escalation from the web UI context to OS root, though no public exploit has been identified at time of analysis and EPSS estimates only a 0.23% probability of near-term exploitation.
Technical ContextAI
OPNsense is a FreeBSD-based open-source firewall and routing platform forked from pfSense, where backend configuration changes are typically applied by shell scripts that consume values rendered from the web GUI's XML config store. CPE data confirms the affected product is opnsense:opnsense (the 'core' package per the EUVD entry). The root cause is CWE-88 (Improper Neutralization of Argument Delimiters in a Command, i.e., argument injection): user-supplied DHCP interface configuration values are interpolated into a shell script without proper quoting or sanitization, so an operator who can write to those fields can break out of the intended argument context and have the shell interpret attacker-controlled tokens as commands executed by the script's root-privileged process.
RemediationAI
Vendor-released patch: OPNsense core 26.1.8 - upgrade via the built-in firmware update mechanism (System → Firmware → Updates) and consult the GitHub Security Advisory at https://github.com/opnsense/core/security/advisories/GHSA-5rx3-w735-74wm for advisory details. If immediate patching is not possible, compensating controls should focus on shrinking the population of accounts that can reach the vulnerable DHCP configuration: restrict the web GUI to a dedicated management VLAN or VPN (lan_anchor/firewall rules on the WebGUI anchor), enforce MFA on admin logins, and review the privilege list under System → Access → Users to ensure only fully trusted operators hold the 'Services: DHCPv4/DHCPv6: Edit' or equivalent permissions - accepting the trade-off that delegated network operations become slower. Disabling DHCP server functionality on affected interfaces also removes the injection sink but breaks address assignment for any clients that rely on it.
Insecure permissions in the configuration directory (/conf/) of OPNsense Community Edition before 23.7 and Business Edit
DECISO OPNsense 23.1 does not impose rate limits for authentication, allowing attackers to perform a brute-force attack
A command injection vulnerability in the component /api/cron/settings/setJob/ of OPNsense Community Edition before 23.7
A command injection vulnerability in the component diag_backup.php of OPNsense Community Edition before 23.7 and Busines
/ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 al
OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 was discovered to contain insecure permissions
Insecure permissions exist for configd.socket in OPNsense Community Edition before 23.7 and Business Edition before 23.4
A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Busine
A Cross-Site Request Forgery (CSRF) in the System Halt API (/system/halt) of OPNsense Community Edition before 23.7 and
OPNsense 19.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicio
OPNsense 19.1 contains a stored cross-site scripting vulnerability in the system_advanced_sysctl.php endpoint that allow
OPNsense 19.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject ma
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30202