Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33745: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in yhirose cpp-httplib

0
High
VulnerabilityCVE-2026-33745cvecve-2026-33745cwe-200
Published: Fri Mar 27 2026 (03/27/2026, 00:46:48 UTC)
Source: CVE Database V5
Vendor/Project: yhirose
Product: cpp-httplib

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.39.0, the cpp-httplib HTTP client forwards stored Basic Auth, Bearer Token, and Digest Auth credentials to arbitrary hosts when following cross-origin HTTP redirects (301/302/307/308). A malicious or compromised server can redirect the client to an attacker-controlled host, which then receives the plaintext credentials in the `Authorization` header. Version 0.39.0 fixes the issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/03/2026, 12:57:21 UTC

Technical Analysis

The cpp-httplib C++ HTTP/HTTPS client library versions before 0.39.0 improperly forward stored authentication credentials in the Authorization header to arbitrary hosts when following cross-origin HTTP redirects (status codes 301, 302, 307, 308). This behavior can be exploited by a malicious or compromised server to redirect the client to an attacker-controlled host, thereby exposing sensitive credentials in plaintext. The vulnerability is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and has a CVSS 3.1 base score of 7.4, indicating high severity. The issue is resolved in version 0.39.0 of cpp-httplib.

Potential Impact

An attacker controlling or compromising a server that the client connects to can cause the client to follow a redirect to a malicious host and leak sensitive authentication credentials (Basic Auth, Bearer Token, Digest Auth) in plaintext. This exposure can lead to unauthorized access to protected resources or services that rely on these credentials. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade to cpp-httplib version 0.39.0 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed by the version update information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-23T17:34:57.562Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c5da053c064ed76f01c43f

Added to database: 3/27/2026, 1:14:45 AM

Last enriched: 4/3/2026, 12:57:21 PM

Last updated: 5/11/2026, 5:19:12 AM

Views: 74

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses