wolfSSL Python module vulnerable to Improper Authentication
Critical severity
GitHub Reviewed
Published
Jan 8, 2026
to the GitHub Advisory Database
•
Updated Jan 8, 2026
Description
Published by the National Vulnerability Database
Jan 8, 2026
Published to the GitHub Advisory Database
Jan 8, 2026
Last updated
Jan 8, 2026
Reviewed
Jan 8, 2026
A vulnerability in the handling of verify_mode = CERT_REQUIRED in the wolfssl Python package (wolfssl-py) causes client certificate requirements to not be fully enforced.
Because the WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT flag was not included, the behavior effectively matched CERT_OPTIONAL: a peer certificate was verified if presented, but connections were incorrectly authenticated when no client certificate was provided.
This results in improper authentication, allowing attackers to bypass mutual TLS (mTLS) client authentication by omitting a client certificate during the TLS handshake.
The issue affects versions up to and including 5.8.2.
References