CVE-2026-57154

8.1High

Published 03 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
High impact on integrity, availability
Weakness
CWE-74, CWE-93

What an attacker gets

Authenticated users can inject malicious configuration directives into system services, potentially leading to root command execution. An attacker needs valid Web UI or API credentials with delegated access to affected settings.

Root cause

The application fails to sanitize carriage return or line feed characters in input fields, allowing attackers to inject new lines into generated configuration files.

Affected versions

OPNsense versions prior to 26.1.11 and 26.4.1p1.

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Fix & remediation

Upgrade to OPNsense 26.1.11 or 26.4.1p1 immediately. Until patched, restrict Web UI and API access to trusted administrative accounts only and audit all configuration changes.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-57154