{"id":"CVE-2026-69212","aliases":["GHSA-2rgg-r783-mrx4"],"url":"https://o3.security/vulnerability/CVE-2026-69212","summary":"Http4s: FollowRedirect middleware leaks credentials over https->http same-authority redirect","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)","published":"2026-09-15T19:09:57.168Z","modified":"2026-10-28T02:31:14.594704938Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.00279,"percentile":0.12993,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.http4s:http4s-client_2.12","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-client_2.13","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-client_3","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-client_2.13","fixedVersion":"1.0.0-M47"},{"ecosystem":"Maven","name":"org.http4s:http4s-client_3","fixedVersion":"1.0.0-M47"}],"fix":{"url":"https://github.com/http4s/http4s/commit/6e825719b8d2f1538f2c49089c2dc81321a833b4","label":"http4s/http4s@6e82571"},"references":[{"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"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69212.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/http4s/http4s/commit/6e825719b8d2f1538f2c49089c2dc81321a833b4"},{"type":"PACKAGE","url":"https://github.com/http4s/http4s"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:14.594704938Z"}}