CVE-2026-57154
OPNsense: Configuration line injection via multiple GUI text fields
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-57154 divulgada · CVSS 8.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
OPNsense, a FreeBSD-based firewall and routing platform, is affected by a flaw where authenticated users with delegated web UI or API access can inject extra lines into generated service configuration files, such as Dnsmasq, Monit, and OpenVPN. This can alter privileged service behavior beyond the permissions granted, cross access-control boundaries, or cause denial of service.
Affects OPNsense versions up to and including 26.1.10 and 26.4.1 where Dnsmasq DNS & DHCP is enabled. The listed fix is 26.1.11. The vendor rating is not given, so the CVSS score of 8.1 (high) is the only rating shown.
Descripción original del registro (GitHub_M)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
core |
Corregida | 26.1.11 | — | — |
26.1.11Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/opnsense/core/security/advisories/GHSA-fq94-cxvc-9r7whttps://github.com/opnsense/core/commit/52b18e67a9ec4596a64ac3a53f3aa102ced55293https://github.com/opnsense/core/commit/6c3be9a11699879fe50aea1c30e50de5864601d7Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
