PT-2026-57218 · Unknown · Cpp-Httplib
CVE-2026-54919
·
Published
2026-07-10
·
Updated
2026-07-10
CVSS v3.1
7.4
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
cpp-httplib versions 0.31.0 through 0.46.1
Description
When 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. Additionally, WebSocketClient on the Mbed TLS backend skips verification entirely. This allows a man-in-the-middle attacker to intercept traffic by presenting a crafted certificate to read or modify the data.Recommendations
Update to version 0.47.0.
Exploit
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cpp-Httplib