CVE-2026-57154: OPNsense: Configuration line injection via multiple GUI text fields
CVE-2026-57154 affects 237 listed versions of OPNsense in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
OPNsense
237 of 250 listed versions are affected. Fixed in 26.1.11. The newest release, 26.7.10, is not affected.
26.1.10 26.1.9 26.1.8 26.1.7 26.1.6 26.1.5 26.1.4 26.1.3 26.1.2 26.1.1 26.1 25.7.11 25.7.10 25.7.9 25.7.8 25.7.7 25.7.6 25.7.5 25.7.4 25.7.3 25.7.2 25.7.1 25.7 25.1.12 25.1.11 25.1.10 25.1.9 25.1.8 25.1.7 25.1.6 25.1.5 25.1.4 25.1.3 25.1.2 25.1.1 25.1 24.7.12 24.7.11 24.7.10 24.7.9 24.7.8 24.7.7 24.7.6 24.7.5 24.7.4 24.7.3 24.7.2 24.7.1 24.7 24.1.10 24.1.9 24.1.8 24.1.7 24.1.6 24.1.5 24.1.4 24.1.3 24.1.2 24.1.1 24.1 and 177 more
What it is
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H (GitHub)
Published by GitHub on 3 November 2026. Last changed 10 November 2026.
Sources
Check one version you run: look CVE-2026-57154 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.