yhirose cpp-httplib up to 0.26.x Header get_client_ip X-Forwarded-For neutralization for logs
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in yhirose cpp-httplib up to 0.26.x. It has been rated as problematic. This affects the function get_client_ip of the component Header Handler. Performing a manipulation of the argument X-Forwarded-For results in neutralization for logs.
This vulnerability is identified as CVE-2025-66577. The attack can be initiated remotely. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability, which was classified as problematic, was found in yhirose cpp-httplib up to 0.26.x. This affects the function get_client_ip of the component Header Handler. The manipulation of the argument X-Forwarded-For with an unknown input leads to a neutralization for logs vulnerability. CWE is classifying the issue as CWE-117. The product does not neutralize or incorrectly neutralizes output that is written to logs. This is going to have an impact on integrity. The summary by CVE is:
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can supply X-Forwarded-For or X-Real-IP headers which get accepted unconditionally by get_client_ip() in docker/main.cc, causing access and error logs (nginx_access_logger / nginx_error_logger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.0.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-66577 since 12/04/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 291337 (openSUSE 16 Security Update : cpp-httplib (openSUSE-SU-2026:20056-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.27.0 eliminates this vulnerability. Applying the patch ac9ebb0ee333ce8bf13523f487bdfad9518a2aff is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (291337). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.3
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Neutralization for logsCWE: CWE-117 / CWE-116 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 291337
Nessus Name: openSUSE 16 Security Update : cpp-httplib (openSUSE-SU-2026:20056-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: cpp-httplib 0.27.0
Patch: ac9ebb0ee333ce8bf13523f487bdfad9518a2aff
Timeline
12/04/2025 CVE reserved12/06/2025 Advisory disclosed
12/06/2025 VulDB entry created
01/19/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-gfpf-r66f-5mh2
Status: Confirmed
CVE: CVE-2025-66577 (🔒)
GCVE (CVE): GCVE-0-2025-66577
GCVE (VulDB): GCVE-100-334551
Entry
Created: 12/06/2025 05:00Updated: 01/19/2026 18:00
Changes: 12/06/2025 05:00 (68), 01/19/2026 18:00 (2)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.