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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-05-13T21:54:31.679Z
- Modified: 2026-10-26T14:10:00.130Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- opnsense core: < 26.1.8
- opnsense opnsense: before 26.1.8

## References

- <https://github.com/opnsense/core/security/advisories/GHSA-5rx3-w735-74wm> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-45158](https://www.cve.org/CVERecord?id=CVE-2026-45158), CVE Terms of Use, modified 2026-05-14
- NVD: [CVE-2026-45158](https://nvd.nist.gov/vuln/detail/CVE-2026-45158), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-45158 · Whole record: https://cve.day/CVE-2026-45158.json · Rebuilt by cve.day 2026-11-25T22:59:21.678Z
