CVE catalog

CVE-2026-33745

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.39.0, the cpp-httplib HTTP client forwards stored Basic Auth, Bearer Token, and Digest Auth credentials to

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.39.0, the cpp-httplib HTTP client forwards stored Basic Auth, Bearer Token, and Digest Auth credentials to arbitrary hosts when following cross-origin HTTP redirects (301/302/307/308). A malicious or compromised server can redirect the client to an attacker-controlled host, which then receives the plaintext credentials in the `Authorization` header. Version 0.39.0 fixes the issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancpp-httplibsid0.41.0+ds-3fixed
Debiancpp-httplibforky0.41.0+ds-3fixed
Debiancpp-httplibtrixie0.18.7-1+deb13u1vulnerable
Debiancpp-httplibtrixie-security0.18.7-1+deb13u1vulnerable
Debiancpp-httplibbookworm0.11.4+ds-1+deb12u1vulnerable
Cpecpp-httplibNot reportedNot reportedvulnerable
Cpecpp-httplibNot reported0.39.0fixed
Opensusecpp-httplibtumbleweed0.42.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancpp-httplibsourcesid0.41.0+ds-3not yet assignedNot reported[1132162]
Debiancpp-httplibsourceforky0.41.0+ds-3not yet assignedNot reported[1132162]
Debiancpp-httplibsourcetrixie(unfixed)not yet assignedNot reported[1132162]
Debiancpp-httplibsourcebookworm(unfixed)not yet assignedNot reported[1132162]
Cpecpp-httplibcpeNot reported0.39.0Not reportedNot reportedNot reported
Opensusecpp-httplibrpmtumbleweed0.42.0-1.1Not reportedOPENSUSE-SU-2026:10573-1Not reported

[Debian bug #1132162]

Notes

[trixie] cpp-httplib: Minor issue [bookworm] cpp-httplib: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [cpp-httplib]

    Details (4)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (2)
    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (6)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

[openSUSE Tumbleweed]

  • Source package: [cpp-httplib]

    Details (1)
    • 0.49.0-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 0.42.0-1.1

      Version impact unknown

      nvd · cpp-httplib · opensuse · tumbleweed

  • Source package: [cpp-httplib]

    Details (1)
    • 0.49.0-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 0.42.0-1.1

      Version impact unknown

      nvd · cpp-httplib · opensuse · tumbleweed

Observed:

References