Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54919— cpp-httplib: TLS certificate chain verification bypassed for IP-literal hosts on Mbed TLS and wolfSSL backends

Quick assessment

Affected
yhirose cpp-httplib
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

yhirose cpp-httplib是yhirose个人开发者开源的一款使用C++语言编写的HTTP/HTTPS服务器和客户端库。 yhirose cpp-httplib存在加密问题漏洞,该漏洞源于使用Mbed TLS或wolfSSL后端时,当客户端连接到IP文字主机且服务器证书验证开启时,SSLClient和Client在HTTPS模式下会跳过证书链验证,Mbed TLS后端的WebSocketClient则完全跳过验证,导致中间人攻击者可以通过拦截流量并出示精心构造的证书来读取或修改流量。以下版本受

CVSS 7.4 · High EPSS 0.26% · P17

Affected Version Matrix 1

VendorProduct Version RangeStatus
yhirose cpp-httplib >= 0.31.0, < 0.47.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54919

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cpp-httplib: TLS certificate chain verification bypassed for IP-literal hosts on Mbed TLS and wolfSSL backends
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
证书验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
yhirose cpp-httplib 加密问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
yhirose cpp-httplib是yhirose个人开发者开源的一款使用C++语言编写的HTTP/HTTPS服务器和客户端库。 yhirose cpp-httplib存在加密问题漏洞,该漏洞源于使用Mbed TLS或wolfSSL后端时,当客户端连接到IP文字主机且服务器证书验证开启时,SSLClient和Client在HTTPS模式下会跳过证书链验证,Mbed TLS后端的WebSocketClient则完全跳过验证,导致中间人攻击者可以通过拦截流量并出示精心构造的证书来读取或修改流量。以下版本受
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
yhirose cpp-httplib >= 0.31.0, < 0.47.0 -

II. Public POCs for CVE-2026-54919

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8572 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54919

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-54919 (2)

Vendor Advisories for CVE-2026-54919 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54919

No comments yet


Leave a comment