CVE-2026-57154
8.1 HIGHpublic exploit availablePublished 2026-11-03 · Updated 2026-11-07
AI risk analysis
- Summary
- Authenticated users with delegated access in OPNsense prior to 26.1.11 and 26.4.1p1 can inject CR/LF characters into single-line configuration fields, causing privilege escalation or service misconfiguration when those values are written to privileged config files like /usr/local/etc/dnsmasq.conf or /usr/local/etc/monitrc. This bypasses expected input constraints and allows attackers to inject arbitrary directives or commands, including demonstrated root command execution via Monit.
- Exploitability
- Exploitation requires valid authentication and delegated access to affected Web UI or API endpoints; no privilege escalation is needed beyond the attacker's existing delegated permissions.
- Blast radius
- Successful exploitation could lead to unauthorized service reconfiguration, cross-RBAC boundary violations, denial of service, or root-level command execution depending on the affected service.
- Detection
- Defenders should monitor for anomalous CR/LF characters in Web UI or API requests targeting fields such as dhcp_boot.filename, dhcp_boot.servername, dhcp_boot.address, dhcp_options.value, or Monit mail password fields, and inspect generated config files (e.g., /usr/local/etc/dnsmasq.conf, /usr/local/etc/monitrc) for unexpected multi-line entries or injected directives. Log sources include system logs, Web UI access logs, and API audit trails.
- Prioritized remediation
- Upgrade to OPNsense version 26.1.11 or 26.4.1p1 immediately; no workaround is sufficient to fully mitigate the vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.11 and 26.4.1p1, authenticated Web UI or API users with delegated access to affected settings can submit CR or LF characters in fields expected to contain one line, causing generated privileged service configuration files to contain additional attacker-controlled directives or policy lines. The confirmed Dnsmasq path includes dhcp_boot.filename, dhcp_boot.servername, dhcp_boot.address, and dhcp_options.value, which are rendered into /usr/local/etc/dnsmasq.conf; access through page-services-dnsforwarder covers api/dnsmasq/*. Related affected fields span OpenVPN, DHCPv6, Unbound, IPsec, NTP, PPP or MPD, Monit, firewall, sudo, WebGUI, and System General configuration. Applying or restarting the affected service can alter behavior beyond the delegated setting, create service-side files, cross RBAC boundaries, or cause denial of service. Line injection through Monit mail password and adjacent Monit text fields into /usr/local/etc/monitrc demonstrated root command execution. Arbitrary shell command execution was not confirmed for the Dnsmasq path. This issue is fixed in versions 26.1.11 and 26.4.1p1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-74, CWE-93
Public exploit & PoC references
- https://github.com/opnsense/core/commit/52b18e67a9ec4596a64ac3a53f3aa102ced55293
- https://github.com/opnsense/core/commit/6c3be9a11699879fe50aea1c30e50de5864601d7
- https://github.com/opnsense/core/security/advisories/GHSA-fq94-cxvc-9r7w
- https://github.com/opnsense/core/security/advisories/GHSA-fq94-cxvc-9r7w
All references
- https://github.com/opnsense/core/commit/52b18e67a9ec4596a64ac3a53f3aa102ced55293
- https://github.com/opnsense/core/commit/6c3be9a11699879fe50aea1c30e50de5864601d7
- https://github.com/opnsense/core/security/advisories/GHSA-fq94-cxvc-9r7w
- https://github.com/opnsense/core/security/advisories/GHSA-fq94-cxvc-9r7w
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-109961PoC
- HIGHCVE-2026-100615PoC
- HIGHCVE-2026-103504PoC
- HIGHCVE-2026-103929PoC
- CRITICALCVE-2026-105039PoC
- HIGHCVE-2026-106705PoC
- HIGHCVE-2026-108746PoC
- HIGHCVE-2026-109119
Related by shared AI tags and CWE weakness class. Browse the full archive.