Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111228 Overview
CVE-2026-111228 is a Carriage Return Line Feed (CRLF) injection vulnerability [CWE-93] in Netgate pfSense Community Edition. The flaw affects versions 2.7.1 through 2.9.0 and resides in the services_unbound_advanced.php configuration page. An authenticated user with the DNS Resolver: Advanced privilege can inject arbitrary Unbound directives through the unvalidated sock_queue_timeout parameter. The parameter is written raw into unbound.conf, allowing attackers to override local records and forwarding rules for every client that relies on the resolver.
Critical Impact
Authenticated attackers can poison DNS responses firewall-wide, redirecting all client traffic to attacker-controlled infrastructure.
Affected Products
- Netgate pfSense CE 2.7.1
- Netgate pfSense CE versions between 2.7.1 and 2.9.0
- Netgate pfSense CE 2.9.0
Discovery Timeline
- 2026-10-15 - CVE CVE-2026-111228 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-111228
Vulnerability Analysis
The vulnerability resides in the Unbound Advanced configuration handler at services_unbound_advanced.php. The web interface accepts a sock_queue_timeout value intended to configure Unbound socket queue behavior. The handler fails to sanitize or validate the submitted value before concatenating it into the generated unbound.conf file. Because Unbound parses its configuration line by line, any embedded CR (\r) or LF (\n) bytes terminate the current directive and begin a new one. An attacker with the DNS Resolver: Advanced permission can therefore append arbitrary Unbound directives such as local-data, local-zone, or forward-zone blocks. The injected configuration persists across resolver restarts and applies to every DNS client served by the firewall.
Root Cause
The root cause is improper neutralization of CRLF sequences in a user-controlled numeric parameter. The configuration generator in unbound.inc writes the field directly into the configuration file without type coercion or character filtering. Only client-side form controls restrict the input, which attackers bypass with crafted HTTP POST requests.
Attack Vector
Exploitation requires an authenticated session with the DNS Resolver: Advanced privilege. The attacker submits a crafted POST request to services_unbound_advanced.php containing CR/LF sequences in the sock_queue_timeout field. After the resolver reloads, injected directives take effect for all downstream clients. Technical details are available in the Abraxas Labs Research writeup and the VulnCheck Security Advisory.
No verified exploit code is published. Refer to the vulnerable sinks in unbound.inc line 590 and services_unbound_advanced.php line 178 for the implementation details.
Detection Methods for CVE-2026-111228
Indicators of Compromise
- Unexpected local-data, local-zone, or forward-zone entries in /var/unbound/unbound.conf not configured through the GUI.
- sock_queue_timeout values in the pfSense configuration backup that contain non-numeric characters or embedded newlines.
- DNS responses from the resolver that map internal hostnames to attacker-controlled IP addresses.
Detection Strategies
- Compare the live unbound.conf against the directives expected from the pfSense GUI configuration and alert on drift.
- Monitor the pfSense audit log for POST requests to services_unbound_advanced.php and flag payloads containing URL-encoded %0d or %0a sequences.
- Baseline DNS answers for critical internal and external hostnames and alert when the pfSense resolver returns unexpected records.
Monitoring Recommendations
- Forward pfSense webConfigurator access logs to a central log platform for review of administrative actions.
- Track changes to /cf/conf/config.xml and the generated Unbound configuration using file integrity monitoring.
- Review the membership of any group granted the DNS Resolver: Advanced privilege and alert on new assignments.
How to Mitigate CVE-2026-111228
Immediate Actions Required
- Restrict the DNS Resolver: Advanced privilege to a minimal set of trusted administrators.
- Audit unbound.conf on all pfSense CE firewalls running 2.7.1 through 2.9.0 for unauthorized directives.
- Rotate webConfigurator credentials for any account that may have been exposed to untrusted operators.
Patch Information
No vendor patch is referenced in the published advisory data. A community fix proposal is available in the GitHub Repository for Timeout Fix. Monitor Netgate security announcements for an official release that addresses services_unbound_advanced.php input validation.
Workarounds
- Remove the DNS Resolver: Advanced privilege from non-administrator roles until a vendor patch is applied.
- Disable the Unbound Advanced configuration page through role-based access control if the custom directives feature is not required.
- Place the webConfigurator behind a management VLAN and restrict access with firewall rules to limit who can reach services_unbound_advanced.php.
# Example: verify unbound.conf contains no injected directives
grep -nE '^(local-data|local-zone|forward-zone)' /var/unbound/unbound.conf
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

