CVE Explorer
CVE-2025-66577
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). T
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-807","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-117","description":"CWE-117: Improper Output Neutralization for Logs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"cpp-httplib","vendor":"yhirose","versions":[{"status":"affected","version":"< 0.27.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-807","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-117","description":"CWE-117: Improper Output Neutralization for Logs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/yhirose/cpp-httplib/commit/ac9ebb0ee333ce8bf13523f487bdfad9518a2aff","tags":["x_refsource_MISC"],"url":"https://github.com/yhirose/cpp-httplib/commit/ac9ebb0ee333ce8bf13523f487bdfad9518a2aff"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/references/1
{"name":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-gfpf-r66f-5mh2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-gfpf-r66f-5mh2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:be48dd890ce8eae7168bb1b9bf2546afd54b1ffd8494e9802bd01fb538b4dbd8 · sha256:d52aa2d2b4868b88… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.