CVE-2026-42511
7.3FreeBSD · dhclient
A failure to escape double-quotes in the BOOTP file field allows for arbitrary dhclient.conf directive injection, potentially leading to remote code execution as root.
Executive summary
A critical vulnerability in the FreeBSD dhclient allows an unauthenticated attacker, operating a rogue DHCP server, to execute arbitrary code with root privileges on client systems.
Vulnerability
This flaw involves improper neutralization of quoting syntax (CWE-149) within the dhclient lease file, where an unauthenticated attacker can inject arbitrary directives that are subsequently evaluated by dhclient-script during system restart.
Business impact
The ability for an unauthenticated attacker to achieve root-level code execution poses a severe risk to organizational infrastructure. Successful exploitation could lead to total system compromise, unauthorized data access, and the potential for lateral movement across the network. Given the CVSS score of 7.3, this vulnerability represents a high-severity threat that requires immediate attention to prevent full loss of confidentiality, integrity, and availability.
Remediation
Immediate Action: Update affected FreeBSD systems to the patched versions specified in the FreeBSD security advisory (FreeBSD-SA-26:12.dhclient).
Proactive Monitoring: Review system logs for unusual dhclient behavior or unexpected modifications to the lease files and dhclient-script configurations.
Compensating Controls: Ensure DHCP traffic is restricted to trusted, authorized servers and implement network segmentation to limit the reach of rogue DHCP servers.
Exploitation status
Public Exploit Available: No (exploit_available: unknown)
Analyst recommendation
Due to the potential for unauthenticated root-level code execution, this vulnerability must be treated with high priority. System administrators should verify their current FreeBSD release versions against the affected list and apply the necessary security patches provided by the vendor immediately. Consistent monitoring of DHCP traffic and adherence to network security best practices will further reduce the risk of exploitation.
More FreeBSD CVEs
Sources
Originally found and disclosed by Joshua Rogers of AISLE Research Team, per the CVE Program record.