CVE-2026-69212: http4s FollowRedirect Exposes Sensitive Headers On Vulnerability

MODERATE
Advisory Identifier: GHSA-2rgg-r783-mrx4
CVSS 5.9
CWE-319 CWE-200
Published
Advisory Summary

CVE-2026-69212 is a MODERATE (CVSS 5.9) followredirect exposes sensitive headers on vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting http4s libraries in the Maven ecosystem. The issue involves followredirect exposes sensitive headers on same-authority https-to-http redirects. Remediation is available by upgrading affected packages to version 0.23.35, 1.0.0-M47.

CVE-2026-69212 at a Glance

CVE Identifier CVE-2026-69212
GHSA Identifier GHSA-2rgg-r783-mrx4
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-319: Cleartext Transmission of Sensitive Information
Affected Product http4s
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-69212

To remediate this vulnerability, upgrade all affected http4s dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.http4s:http4s-client_2.12 fixed: 0.23.35
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-client_2.12</artifactId>
    <version>0.23.35</version>
</dependency>
org.http4s:http4s-client_2.13 fixed: 0.23.35
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-client_2.13</artifactId>
    <version>0.23.35</version>
</dependency>
org.http4s:http4s-client_3 fixed: 0.23.35
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-client_3</artifactId>
    <version>0.23.35</version>
</dependency>
org.http4s:http4s-client_2.13 fixed: 1.0.0-M47
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-client_2.13</artifactId>
    <version>1.0.0-M47</version>
</dependency>
org.http4s:http4s-client_3 fixed: 1.0.0-M47
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-client_3</artifactId>
    <version>1.0.0-M47</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.http4s

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-69212, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.http4s

Analyze the terminal output to locate any version of http4s in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.35), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.http4s command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In http4s, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The `FollowRedirect` client middleware strips sensitive headers (e.g., `Authorization`, `Cookie`) headers only when the redirect target has a different authority. Because authority excludes the scheme, a redirect from `https://example.com` to `http://example.com` (same authority) is treated as same-origin, and the sensitive headers are propagated over the plaintext hop where a network observer can capture them. ## Impact Disclosure of `Authorization` / `Cookie` credentials in cleartext to a network observer when a server issues (or is induced to issue) an https->http same-authority redirect. The CVSS base (5.9) reflects a confidentiality-only impact. The practical severity is low, because exploitation requires both a same-authority scheme downgrade in a redirect and an on-path observer. ## Preconditions - Application uses the `FollowRedirect` client middleware. - The contacted server returns an https->http redirect to the same authority (misconfiguration or an injected `Location`). - An attacker can observe the plaintext HTTP hop. ## Workarounds - Avoid `FollowRedirect` for clients that carry credentials to servers that may redirect to `http://` - Pin a `sensitiveHeaderFilter` and audit redirect targets. ## Resources - [CVE-2022-27776](https://www.cve.org/CVERecord?id=CVE-2022-27776): cURL - [CVE-2018-18074](https://www.cve.org/CVERecord?id=CVE-2018-18074): requests (Python)

CVE-2026-69212 Affected http4s Versions

5 component(s)
Fixed Versions:
0.23.351.0.0-M47
Product / Package Ecosystem Affected Versions Fixed Version
org.http4s:http4s-client_2.12
Maven
< 0.23.35
0.23.35
org.http4s:http4s-client_2.13
Maven
< 0.23.35
0.23.35
org.http4s:http4s-client_3
Maven
< 0.23.35
0.23.35
org.http4s:http4s-client_2.13
Maven
≥ 1.0.0-M2
< 1.0.0-M47
1.0.0-M47
org.http4s:http4s-client_3
Maven
≥ 1.0.0-M2
< 1.0.0-M47
1.0.0-M47

References

Frequently Asked Questions

What is CVE-2026-69212?
CVE-2026-69212 is a security vulnerability in http4s involving FollowRedirect exposes sensitive headers on same-authority HTTPS-to-HTTP redirects under CWE-319: Cleartext Transmission of Sensitive Information.
Which http4s versions are affected?
Affected versions include releases prior to 0.23.35, 1.0.0-M47 across affected packages: org.http4s:http4s-client_2.12, org.http4s:http4s-client_2.13, org.http4s:http4s-client_3.
What version fixes CVE-2026-69212?
Upgrading to 0.23.35, 1.0.0-M47 (or the latest patched release for your respective branch) resolves the vulnerability.
Is http4s-client_2.12 affected?
Yes, org.http4s:http4s-client_2.12 is affected in releases prior to 0.23.35. Upgrade your dependency to 0.23.35 or later.
Is http4s-client_2.13 affected?
Yes, org.http4s:http4s-client_2.13 is affected in releases prior to 0.23.35, 1.0.0-M47. Upgrade your dependency to 0.23.35, 1.0.0-M47 or later.
What is the CVSS score of CVE-2026-69212?
CVE-2026-69212 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-69212?
CVE-2026-69212 is classified under CWE-319: Cleartext Transmission of Sensitive Information (The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.).
How can I check Maven dependencies for CVE-2026-69212?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.http4s'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2rgg-r783-mrx4",
  "modified" : "2026-11-30T18:30:53Z",
  "published" : "2026-11-30T18:30:53Z",
  "aliases" : [ "CVE-2026-69212" ],
  "summary" : "http4s: FollowRedirect exposes sensitive headers on same-authority HTTPS-to-HTTP redirects",
  "details" : "The `FollowRedirect` client middleware strips sensitive headers (e.g., `Authorization`, `Cookie`)\nheaders only when the redirect target has a different authority.  Because authority excludes the scheme, a redirect from `https://example.com` to `http://example.com` (same authority) is treated as same-origin, and the sensitive headers are propagated over the plaintext hop where a network observer can capture them.\n\n## Impact\n\nDisclosure of `Authorization` / `Cookie` credentials in cleartext to a network observer when a server issues (or is induced to issue) an https->http same-authority redirect.\n\nThe CVSS base (5.9) reflects a confidentiality-only impact.  The practical severity is low, because exploitation requires both a same-authority scheme downgrade in a redirect and an on-path observer.\n\n## Preconditions\n\n- Application uses the `FollowRedirect` client middleware.\n- The contacted server returns an https->http redirect to the same authority (misconfiguration or an injected `Location`).\n- An attacker can observe the plaintext HTTP hop.\n\n## Workarounds\n\n- Avoid `FollowRedirect` for clients that carry credentials to servers that may\nredirect to `http://`\n- Pin a `sensitiveHeaderFilter` and audit redirect targets.\n\n## Resources\n\n- [CVE-2022-27776](https://www.cve.org/CVERecord?id=CVE-2022-27776): cURL\n- [CVE-2018-18074](https://www.cve.org/CVERecord?id=CVE-2018-18074): requests (Python)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-client_2.12"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-client_2.13"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-client_3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-client_2.13"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-M2"
      }, {
        "fixed" : "1.0.0-M47"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-client_3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-M2"
      }, {
        "fixed" : "1.0.0-M47"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/security/advisories/GHSA-2rgg-r783-mrx4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69212"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/commit/6e825719b8d2f1538f2c49089c2dc81321a833b4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/http4s/http4s"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/releases/tag/v0.23.35"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/releases/tag/v1.0.0-M47"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-319" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-30T18:30:53Z",
    "nvd_published_at" : "2026-09-15T19:17:38Z"
  }
}