What’s Vulnerable › Vulnerabilities

CVE-2026-45158: OPNsense: Command Injection via Attacker-Controlled DHCP Config

Description

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.

Affected products

How to fix

Upgrade to a fixed version: OPNsense 26.1.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45158 or the next vulnerability affects your stack