CVE-2026-34441: cpp-httplib: HTTP Request Smuggling via Unconsumed GET Request Body

Published Mar 31, 2026
·
Updated

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.40.0, cpp-httplib is vulnerable to HTTP Request Smuggling. The server's static file handler serves GET responses without consuming the request body. On HTTP/1.1 keep-alive connections, the unread body bytes remain on the TCP stream and are interpreted as the start of a new HTTP request. An attacker can embed an arbitrary HTTP request inside the body of a GET request, which the server processes as a separate request. This issue has been patched in version 0.40.0.

Affected Software

2 affected components
Yhirose Cpp-httplib<0.40.0
Yhirose Cpp-httplib<0.40.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade cpp-httplib to a version that resolves this vulnerability.

    Fixed in 0.40.0

Event History

Mar 31, 2026
CVE Published
via MITRE·09:21 PM
Data Sourced
via MITRE·09:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-34441?

CVE-2026-34441 is classified as a high-severity vulnerability due to its potential for enabling HTTP Request Smuggling attacks.

2

How do I fix CVE-2026-34441?

To fix CVE-2026-34441, upgrade cpp-httplib to version 0.40.0 or later.

3

What type of vulnerability is CVE-2026-34441?

CVE-2026-34441 is an HTTP Request Smuggling vulnerability affecting cpp-httplib.

4

Who is affected by CVE-2026-34441?

All users of cpp-httplib versions prior to 0.40.0 are affected by CVE-2026-34441.

5

What can attackers do with CVE-2026-34441?

Attackers can exploit CVE-2026-34441 to perform HTTP Request Smuggling attacks, potentially gaining unauthorized access or manipulating requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203