CVE-2026-137307 in wpa_supplicant
Summary
by MITRE • 11/26/2026
wpa_supplicant 2.7 through 2.12 with the wolfSSL backend contains an EAP-FAST server authentication bypass in tls_sess_sec_cb() that skips master secret derivation for oversized PAC-Opaque tickets. Adjacent attackers running a rogue authenticator can complete the handshake with an all-zero master secret to capture MS-CHAPv2 responses for offline cracking and replace the stored PAC.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in wpa_supplicant versions 2.7 through 2.12, specifically when configured with the wolfSSL backend, represents a critical authentication bypass within the Extensible Authentication Protocol - Flexible Authentication via Secure Tunneling (EAP-FAST) implementation. This flaw resides in the tls_sess_sec_cb function and exploits how the software handles oversized PAC-Opaque tickets during the TLS handshake process. In normal EAP-FAST operations, the Protected Access Credential (PAC) is used to establish a secure tunnel between the client and the authenticator. The PAC contains critical material for deriving session keys, ensuring that subsequent communications are encrypted and authenticated. However, when an oversized PAC-Opaque ticket is presented, the implementation fails to correctly derive the master secret from the provided credentials. Instead of validating the integrity of the PAC and computing a secure key exchange based on it, the software proceeds with the handshake using an all-zero master secret. This deviation from standard cryptographic protocols effectively nullifies the security guarantees provided by EAP-FAST, as the resulting session keys are predictable and known to any observer who can intercept the traffic.
The operational impact of this vulnerability is severe for network administrators relying on WPA2 or WPA3 enterprise authentication with PEAP-EAP-FAST configurations. An adjacent attacker operating a rogue authenticator can exploit this flaw to complete the EAP handshake without possessing valid credentials. By forcing the use of an all-zero master secret, the attacker gains the ability to capture MS-CHAPv2 responses from legitimate users attempting to connect to their malicious access point. These captured hashes are not protected by encryption because the tunnel itself is compromised due to the weak key derivation. Once obtained, these MS-CHAPv2 responses can be subjected to offline brute-force or dictionary attacks to recover the user's plaintext password. Furthermore, the attacker can replace the stored PAC on the victim device with a maliciously crafted one, allowing for persistent man-in-the-middle capabilities in future connections without requiring re-authentication from the user perspective. This undermines the fundamental trust model of enterprise wireless networks and exposes sensitive corporate credentials to compromise.
From a classification standpoint, this vulnerability aligns with CWE-295 Improper Certificate Validation and CWE-327 Use of a Broken or Risky Cryptographic Algorithm, as it involves the failure to properly validate input that affects cryptographic key generation. In terms of attack vectors, it maps directly to MITRE ATT&CK technique T1048 - Exfiltration Over Alternative Protocol, where data is exfiltrated using protocols designed for authentication rather than file transfer, and T1557 Adversary-in-the-Middle, as the attacker intercepts and potentially alters communications between two parties. The specific mechanism of bypassing master secret derivation also reflects CWE-328 Use of Weak Hash, given that the resulting session state lacks cryptographic strength.
Mitigation strategies must focus on immediate software updates and configuration hardening. Organizations should upgrade wpa_supplicant to a version newer than 2.12 where this logic error in tls_sess_sec_cb has been corrected to ensure proper master secret derivation regardless of PAC-Opaque ticket size. Until patches are applied, administrators can mitigate risk by disabling EAP-FAST entirely if it is not strictly required for legacy device support, thereby removing the attack surface associated with wolfSSL backend interactions. Additionally, enforcing strict validation on incoming TLS records and monitoring for anomalies in handshake completion times or error rates may help detect exploitation attempts. It is also advisable to implement network segmentation to limit the ability of adjacent attackers from reaching authentication infrastructure, although this does not fully mitigate the risk posed by rogue access points within trusted zones. Regular auditing of connected devices and PAC storage integrity can further reduce the window of opportunity for persistent compromise via PAC replacement attacks.