Insufficient verification of data authenticity in Cpp-httplib - CVE-2025-66570

 

Insufficient verification of data authenticity in Cpp-httplib - CVE-2025-66570

Published: October 28, 2025 / Updated: December 8, 2025


Vulnerability identifier: #VU117687
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: CVE-2025-66570
CWE-ID: CWE-345
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cpp-httplib Project
Affected software:
Cpp-httplib

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to software trusts data passed via the X-Forwarded-For/X-Real-IP headers and uses this date when writing log entries or appending headers to the request. A remote attacker can modify these headers and poison log files or inject arbitrary HTTP headers into HTTP requests. 


How to mitigate CVE-2025-66570

Install updates from vendor's website.

Sources