Vulnerability

CVE-2025-66577

mediumCVSS 3.1 5.3Published 5 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Yhirose cpp-httplib

Weakness type

References

  • github.com /yhirose/cpp-httplib/commit/ac9ebb0ee333ce8bf13523f487bdfad…
  • github.com /yhirose/cpp-httplib/security/advisories/GHSA-gfpf-r66f-5mh2

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning