PT-2025-49306 · Unknown+1 · Cpp-Httplib+1

CVE-2025-66577

·

Published

2025-01-01

·

Updated

2026-01-21

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions cpp-httplib versions prior to 0.27.0
Description The software is a C++11 single-file header-only cross-platform HTTP/HTTPS library. A flaw exists where attacker-controlled HTTP headers can affect server-visible metadata, logging, and authorization decisions. Specifically, the get client ip() function in docker/main.cc unconditionally accepts X-Forwarded-For or X-Real-IP headers. This allows an attacker to spoof client IPs in access and error logs (log poisoning / audit evasion). The vulnerable function is get client ip().
Recommendations Update to version 0.27.0 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-66577
ECHO-EE91-3948-5C74
GHSA-GFPF-R66F-5MH2
OPENSUSE-SU-2025:15844-1
OPENSUSE-SU-2026:20056-1
SUSE-SU-2026:20090-1

Affected Products

Debian
Cpp-Httplib