Advisory

PYSEC-2026-575

Also known as: CVE-2025-15346, GHSA-vj87-jj27-4h9c

Summary

wolfSSL Python module vulnerable to Improper Authentication

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.

Severity

Not rated by the source.

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:23 UTC

Affected packages and fixes

wolfssl

PyPI · All systems

Affected

  • introduced 0, fixed 5.8.4.post0 (ecosystem)

Fixed versions

5.8.4.post0

Fix

  • Fixed version 5.8.4.post0
    pip install --upgrade wolfssl==5.8.4.post0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences