# CVE-2026-57154 - OPNsense: Configuration line injection via multiple GUI text fields

DevFeed: [CVE-2026-57154 - OPNsense: Configuration line injection via multiple GUI text fields](<https://devfeed.tech/articles/cve-2026-57154-opnsense-configuration-line-injection-via-multiple-gui-text-fields-115509.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-57154>)

Author: CVEFEED.io; github.com

Published: 2026-11-03T19:18:06Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Opnsense](<https://devfeed.tech/topics/opnsense.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Network Configuration](<https://devfeed.tech/topics/network-configuration.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [api](<https://devfeed.tech/tags/api.md>), [conf](<https://devfeed.tech/tags/conf.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-57154](<https://devfeed.tech/tags/cve-2026-57154.md>), [denial-of-service](<https://devfeed.tech/tags/denial-of-service.md>), [dhcp](<https://devfeed.tech/tags/dhcp.md>), [execution](<https://devfeed.tech/tags/execution.md>), [firewall](<https://devfeed.tech/tags/firewall.md>), [gui](<https://devfeed.tech/tags/gui.md>), [ipsec](<https://devfeed.tech/tags/ipsec.md>), [monit](<https://devfeed.tech/tags/monit.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [ntp](<https://devfeed.tech/tags/ntp.md>), [openvpn](<https://devfeed.tech/tags/openvpn.md>), [opnsense](<https://devfeed.tech/tags/opnsense.md>), [rbac](<https://devfeed.tech/tags/rbac.md>), [sudo](<https://devfeed.tech/tags/sudo.md>), [unbound](<https://devfeed.tech/tags/unbound.md>)

## AI overview

Before OPNsense 26.1.11 and 26.4.1p1, authenticated Web UI or API users with delegated access to affected settings could insert CR or LF characters into single-line fields, adding attacker-controlled directives to privileged service configuration files. The confirmed Dnsmasq fields are rendered into /usr/local/etc/dnsmasq.conf; affected settings also span OpenVPN, DHCPv6, Unbound, IPsec, NTP, PPP or MPD, Monit, firewall, sudo, WebGUI, and System General. Applying or restarting a service could exceed delegated permissions, create service-side files, or cause denial of service. Monit injection demonstrated root command execution, while arbitrary shell execution was not confirmed for Dnsmasq. Fixed in versions 26.1.11 and 26.4.1p1.

## Source excerpt

CVE ID :CVE-2026-57154 Published : Nov. 3, 2026, 7:18 p.m. | 1 hour, 3 minutes ago 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. Severity: 8.1 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...