9.3critical
wolfSSL Python library `CERT_REQUIRED` mode fails to enforce client certificate requirement
- Severity
- 9.3critical CVSS:4.0 by wolfSSL
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- wolfSSL
- Also known as
- GHSA-vj87-jj27-4h9cPYSEC-2026-575
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wolfssl | from 5.3.0 up to 5.8.2 | CVE List |
| wolfssl (PyPI) | before 5.8.4.post0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| wolfSSL | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/AU:Y |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad en el manejo de verify_mode = CERT_REQUIRED en el paquete Python wolfssl (wolfssl-py) causa que los requisitos de certificado de cliente no se apliquen completamente. Debido a que la bandera WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT no fue incluida, el comportamiento coincidió efectivamente con CERT_OPTIONAL: un certificado de par fue verificado si se presentó, pero las conexiones fueron autenticadas incorrectamente cuando no se proporcionó ningún certificado de cliente. Esto resulta en una autenticación impropia, permitiendo a los atacantes eludir la autenticación de cliente de TLS mutuo (mTLS) al omitir un certificado de cliente durante el handshake TLS. El problema afecta a las versiones hasta la 5.8.2 inclusive.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-15346 changed 2026-01-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vj87-jj27-4h9c changed 2026-06-29 | CC-BY-4.0 |
| NVD | CVE-2025-15346 changed 2026-10-07 | Public domain |
| PyPA Advisory Database | PYSEC-2026-575 changed 2026-07-01 | CC-BY-4.0 |