CVE-2026-46527
Last modified
CVE-2026-46527 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, When the server has called Server::set_trusted_proxies() with a non-empty trusted-proxy list, an attacker can send an HTTP request that includes an X-Forwarded-For header whose value parses to no valid IP segments. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, When the server has called Server::set_trusted_proxies() with a non-empty trusted-proxy list, an attacker can send an HTTP request that includes an X-Forwarded-For header whose value parses to no valid IP segments. The code path then executes get_client_ip(), which calls front() on an empty std::vector—undefined behavior in C++. On typical implementations this manifests as abnormal process termination (denial of service). With Sanitizers enabled, you get an explicit runtime diagnostic. This vulnerability is fixed in 0.44.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yhirose | Cpp-Httplib | < 0.44.0 |
References
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-hg3g-vrg8-578gExploit, Mitigation, Vendor Advisory
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-hg3g-vrg8-578gExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-46527?
How severe is CVE-2026-46527?
How do I fix CVE-2026-46527?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4652On a system exposing an NVMe/TCP target, a remote client can…7.5
- CVE-2026-46520ImageMagick is free and open-source software used for editin…7.5
- CVE-2026-46521ImageMagick is free and open-source software used for editin…5.5
- CVE-2026-46522ImageMagick is free and open-source software used for editin…7.5
- CVE-2026-46523ImageMagick is free and open-source software used for editin…6.2
- CVE-2026-46526Local Deep Research is an AI-powered research assistant for …5
- CVE-2026-46529Atril Document Viewer is the default document reader of the …8.4
- CVE-2026-4653The Block, Suspend, Report for BuddyPress plugin for WordPre…6.4
- CVE-2026-46532ESF-IDF is the Espressif Internet of Things (IOT) Developmen…4.6
- CVE-2026-46538Microsoft UFO open-source framework for intelligent automati…5.9
- CVE-2026-46539Nimiq is a Rust implementation of the Nimiq Proof-of-Stake p…5.9
- CVE-2026-4654The Awesome Support – WordPress HelpDesk & Support Plugin pl…5.3
Are you affected by CVE-2026-46527?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
