Skip to main content
VulnerabilityPublished Updated

CVE-2026-54919: yhirose cpp-httplib · Improper Certificate Validation

Affects yhirose cpp-httplibSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.4 High : upgrade to 0.47.0 soon.

Data as of 21 Nov 2026, 17:35 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.47.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade cpp-httplib and yhirose/cpp-httplib to 0.47.0.

Affected software

ProductAffectedFixed in
yhirosecpp-httplibAffected
  • >=0.31.0 <0.47.0
Fixed in
  • 0.47.0
GitHubyhirose/cpp-httplibpkg:github/yhirose/cpp-httplibOther threatsAffected
  • <0.47.0 >=0.31.0
Fixed in
  • 0.47.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version 0.47.0 of cpp-httplib is available that addresses this certificate validation issue. Users should upgrade to version 0.47.0 or later to remediate this vulnerability. Patch status is confirmed by the vendor's advisory indicating the fix in 0.47.0. No other mitigation is specified.

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.

References

Community reviews

Loading reviews…