Unauthenticated authorization bypass via internal header shadowing
Published Dec 5, 2025 · Updated Dec 5, 2025
Authentication bypass in Yuji Hirose cpp-httplib before 0.27.0 allows remote attackers to access protected resources via crafted HTTP headers. read_headers inserts client-supplied REMOTE_ADDR and related names before Server::process_request appends trusted metadata, while get_header_value returns the first duplicate. Exploitation requires a server application that reads these header names for authorization, logging, or policy decisions, enabling IP spoofing, log poisoning, or access-control bypass.
Summary
What happened
Authentication bypass in Yuji Hirose cpp-httplib before 0.27.0 allows remote attackers to access protected resources via crafted HTTP headers. read_headers inserts client-supplied REMOTE_ADDR and related names before Server::process_request appends trusted metadata, while get_header_value returns the first duplicate. Exploitation requires a server application that reads these header names for authorization, logging, or policy decisions, enabling IP spoofing, log poisoning, or access-control bypass.
The record
- CVE
- CVE-2025-66570
- Published
- Dec 5, 2025
- Updated
- Dec 5, 2025
- Vendor
- Yuji Hirose
- Product
- cpp-httplib
- Classifications
- CWE-290, CWE-345, CWE-807, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 5, 2025CVE publishedPublication date reported by the CVE source.
- Dec 5, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.27.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Header Override Test Stepsproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo