Description
Netgate pfSense CE from 2.7.1 through 2.9.0 contains a CRLF injection vulnerability in services_unbound_advanced.php that allows authenticated users with DNS Resolver: Advanced privilege to inject Unbound directives. Attackers can embed CR/LF characters in the unvalidated sock_queue_timeout parameter, which is written raw into unbound.conf, to override local records and forwarding for all clients.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Netgate | pfSense CE | 2.7.1 – ≤ 2.9.0 | — |
Advisories 1
- WID-SEC-2026-3983 Netgate pfSense: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 15, 2026
References
- https://github.com/abraxas/pfsense-unbound-sock-timeout exploit technical-description
- https://abraxaslabs.tech/research/pfsense-ce-leftovers technical-description
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/services_unbound_advanced.php#L178 technical-description
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/unbound.inc#L590 technical-description
- VulnCheck Advisory: Netgate pfSense CE 2.7.1 through 2.9.0 CRLF Injection via services_unbound_advanced.php third-party-advisory