CVE-2026-54919
Received
Received - Intake
SSL Certificate Validation Bypass in cpp-httplib
Vulnerability report for CVE-2026-54919, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-10
Last updated on: 2026-07-10
Assigner: GitHub, Inc.
Description
Description
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In affected Mbed TLS backend versions from 0.31.0 through 0.46.1 and wolfSSL backend versions from 0.33.0 through 0.46.1, when cpp-httplib is built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT and a client connects to an IP-literal host with server certificate verification enabled, SSLClient and Client in HTTPS mode skip certificate chain validation and WebSocketClient on the Mbed TLS backend skips verification altogether, allowing a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. This issue is fixed in version 0.47.0.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| cpp-httplib | cpp-httplib | 0.47.0 |
| mbed_tls | mbed_tls | From 0.31.0 (inc) to 0.46.1 (inc) |
| wolfssl | wolfssl | From 0.33.0 (inc) to 0.46.1 (inc) |
| yhirose | cpp-httplib | From 0.31.0 (inc) to 0.47.0 (exc) |
| yhirose | cpp-httplib | From 0.33.0 (inc) to 0.47.0 (exc) |
| yhirose | cpp-httplib | From 0.46.1 (inc) to 0.47.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-295 | The product does not validate, or incorrectly validates, a certificate. |