All vulnerabilities

Maven

CVE-2026-69212

http4s: FollowRedirect exposes sensitive headers on same-authority HTTPS-to-HTTP redirects

Severity
Medium 5.9
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
0.23.35, 1.0.0-M47
Exploit chance
0.3% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 30 Nov 2026
Weakness
Information exposure (CWE-200)Cleartext transmission (CWE-319)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Also known as
GHSA-2rgg-r783-mrx4
Sources
OSV.dev and GitHub

Description

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.

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.

  • Application uses the FollowRedirect client middleware.
  • The contacted server returns an https->http redirect to the same authority (misconfiguration or an injected Location).
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

  • Avoid FollowRedirect for clients that carry credentials to servers that may redirect to http://
  • Pin a sensitiveHeaderFilter and audit redirect targets.
Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
org.http4s:http4s-client_2.12Maven · osv:Maven:org.http4s:http4s-client_2.12
  • Every version before 0.23.35
org.http4s:http4s-client_2.13Maven · osv:Maven:org.http4s:http4s-client_2.13
  • Every version before 0.23.35
  • From 1.0.0-M2 before 1.0.0-M47
org.http4s:http4s-client_3Maven · osv:Maven:org.http4s:http4s-client_3
  • Every version before 0.23.35
  • From 1.0.0-M2 before 1.0.0-M47

About org.http4s:http4s-client_2.12

This is the only vulnerability in org.http4s:http4s-client_2.12 in our list.

About org.http4s:http4s-client_2.13

This is the only vulnerability in org.http4s:http4s-client_2.13 in our list.

About org.http4s:http4s-client_3

This is the only vulnerability in org.http4s:http4s-client_3 in our list.

References