CVE-2026-69212: http4s FollowRedirect Exposes Sensitive Headers On Vulnerability
MODERATECVE-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
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).
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.
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-client_2.12</artifactId>
<version>0.23.35</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-client_2.13</artifactId>
<version>0.23.35</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-client_3</artifactId>
<version>0.23.35</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-client_2.13</artifactId>
<version>1.0.0-M47</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-client_3</artifactId>
<version>1.0.0-M47</version>
</dependency>
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
CVE-2026-69212 Affected http4s Versions
5 component(s)| 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?
Which http4s versions are affected?
What version fixes CVE-2026-69212?
Is http4s-client_2.12 affected?
Is http4s-client_2.13 affected?
What is the CVSS score of CVE-2026-69212?
What CWE is associated with CVE-2026-69212?
How can I check Maven dependencies for CVE-2026-69212?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}