Improper Certificate Validation in python-cryptography - #VU140697
Published: August 1, 2026
python-cryptography
Detailed vulnerability description
The vulnerability allows a remote attacker to spoof certificate identity validation.
The vulnerability exists due to improper certificate validation in the certificate verifier when processing certificate chains with wildcard DNS subject alternative names under permitted subtrees constraints. A remote attacker can present a specially crafted certificate chain to spoof certificate identity validation.
The issue occurs when an intermediate constrained CA permits a specific DNS name such as foo.example.com, but a leaf certificate uses a broader wildcard DNS SAN such as *.example.com.