{"id":"CVE-2026-54919","sourceIdentifier":"security-advisories@github.com","published":"2026-07-10T17:16:58.700","lastModified":"2026-10-25T15:10:00.147","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"cpp-httplib es una biblioteca HTTP/HTTPS multiplataforma de un solo archivo de cabecera para C++11. En las versiones afectadas del backend Mbed TLS desde la 0.31.0 hasta la 0.46.1 y las versiones del backend wolfSSL desde la 0.33.0 hasta la 0.46.1, cuando cpp-httplib se compila con CPPHTTPLIB_MBEDTLS_SUPPORT o CPPHTTPLIB_WOLFSSL_SUPPORT y un cliente se conecta a un host IP-literal con la verificación del certificado del servidor habilitada, SSLClient y Client en modo HTTPS omiten la validación de la cadena de certificados y WebSocketClient en el backend Mbed TLS omite la verificación por completo, permitiendo que un atacante man-in-the-middle posicionado para interceptar el tráfico presente un certificado manipulado y lea o modifique el tráfico. Este problema se corrige en la versión 0.47.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"yhirose","product":"cpp-httplib","versions":[{"version":">= 0.31.0, < 0.47.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-13T00:00:00+00:00","id":"CVE-2026-54919","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-295"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*","versionStartIncluding":"0.31.0","versionEndExcluding":"0.47.0","matchCriteriaId":"E8E62B4D-9F4B-4054-86B3-E29CDFD59056"}]}]}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/commit/fa981cedae004ea9d946f1392b9dec22fac6fee6","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/yhirose/cpp-httplib/releases/tag/v0.47.0","source":"security-advisories@github.com","tags":["Product","Release Notes"]},{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-8ffh-4p95-g3p2","source":"security-advisories@github.com","tags":["Mitigation","Patch","Vendor Advisory"]}]}