Description
OPNsense before 26.7.8 contains a command injection vulnerability that allows authenticated users with the System: Firmware privilege to execute commands as root by storing a malicious firmware mirror URL. Attackers can submit shell metacharacters through POST /api/core/firmware/set that opnsense-update evaluates with eval, and can also disable package signature verification through sed injection.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| opnsense | core | 0 to <26.7.8 [affected]; 26.7.8 [unaffected] |
References
- https://github.com/opnsense/core/security/advisories/GHSA-p683-f7x2-pm4p (vendor-advisory)
- https://github.com/opnsense/core/commit/1cc41fc39da99d59818c789b3b561f1515126f47 (patch)
- https://github.com/opnsense/core/commit/8e214533d33c3af7481e86f616ee615adc6a0a73 (patch)
- https://github.com/opnsense/update/commit/9bfd3b7020499b6032ee64804193a9f3ce8178fa (patch)
- https://github.com/opnsense/update/blob/a2b8a10ba85f13b2cd002abb4c8692dde99f0261/src/update/opnsense-update.sh.in#L165 (technical-description)
- https://abraxaslabs.tech/research/opnsense-firmware-mirror-sed (third-party-advisory)
- https://github.com/opnsense/core (product)
- https://www.vulncheck.com/advisories/opnsense-before-26.7.8-root-command-injection-via-firmware-mirror-setting (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.