VDB
Sign up
—

PYSEC-2026-575

wolfSSL Python module vulnerable to Improper Authentication

Quick fix

PYSEC-2026-575 — wolfssl: upgrade to the fixed version with the command below.

pip install --upgrade 'wolfssl>=5.8.4.post0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/wolfssl
Introduced in: 0Fixed in: 5.8.4.post0
Fixpip install --upgrade 'wolfssl>=5.8.4.post0'

References