Skip to main content
CVE-2026-103930VulnerabilityPublished Updated

Cpp httplib: From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches

Affects cpp-httplibSource GCVE Database

0
Authoritative record:CVE-2026-103930· Low 3.7

Not known to be exploited · CVSS 3.7 Low · fixed in 0.51.0 : update cpp-httplib when convenient.

Data as of 28 Oct 2026, 22:31 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.51.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10cpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=stonkingOther threatsAffected
  • =0.26.0+ds-2ubuntu3
  • =0.26.0+ds-2ubuntu4
Fixed in–
Ubuntu Pro 26.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 0.18.7-1 – 0.26.0+ds-2ubuntu3+esm1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 0.13.1+ds-1ubuntu1 – 0.14.3+ds-1.1ubuntu0.1~esm2
7 affected builds
Fixed in–
Ubuntu Pro 22.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 0.9.9+ds-1 – 0.10.3+ds-1ubuntu0.1~esm2
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.

References

Community reviews

Loading reviews…