Description
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The FollowRedirect client middleware strips Authorization and Cookie headers only when a redirect changes authority, but authority comparison excludes the URI scheme. A same-authority redirect from HTTPS to HTTP therefore preserves credentials and transmits them over a plaintext connection. An attacker who can induce the downgrade and observe the network can capture those sensitive headers from applications using FollowRedirect. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Published: 2026-09-15
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Data exposure through credential leakage
Action: Apply Patch
AI Analysis

Impact

The FollowRedirect middleware incorrectly preserves Authorization and Cookie headers when a redirect occurs from HTTPS to HTTP within the same authority. This flaw allows sensitive credentials to be transmitted over an unencrypted channel, exposing them to anyone capable of observing the network traffic. The weakness is a manifestation of information disclosure and cryptographic protocol misuse.

Affected Systems

The vulnerability affects the Http4s library across versions earlier than 0.23.35 and 1.0.0-M47. Applications built with these library releases and utilizing the FollowRedirect middleware are susceptible.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. EPSS score of 0.00235 (less than 1%) indicates a very low probability of exploitation. The flaw requires an attacker who can induce a downgrade redirect and observe the traffic, making the exploitation more situational. The vulnerability is not currently catalogued in the CISA KEV list. The likely attack vector involves manipulating application or network configuration to trigger an HTTPS to HTTP redirect while preserving credentials.

Generated by OpenCVE AI on September 17, 2026 at 07:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Http4s to 0.23.35 or 1.0.0-M47 to receive the patch that removes credential leakage on same-authority redirects.
  • Configure or customize the FollowRedirect middleware to disallow redirects from HTTPS to HTTP, ensuring credentials are never sent over plaintext connections.
  • Implement network monitoring or IDS rules to detect unexpected protocol downgrades or suspicious redirect patterns.

Generated by OpenCVE AI on September 17, 2026 at 07:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 15 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Http4s
Http4s http4s
Vendors & Products Http4s
Http4s http4s

Tue, 15 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 15 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
Description Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The FollowRedirect client middleware strips Authorization and Cookie headers only when a redirect changes authority, but authority comparison excludes the URI scheme. A same-authority redirect from HTTPS to HTTP therefore preserves credentials and transmits them over a plaintext connection. An attacker who can induce the downgrade and observe the network can capture those sensitive headers from applications using FollowRedirect. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Title Http4s: FollowRedirect middleware leaks credentials over https->http same-authority redirect
Weaknesses CWE-200
CWE-319
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-15T19:30:41.069Z

Reserved: 2026-08-03T16:57:50.124Z

Link: CVE-2026-69212

cve-icon Vulnrichment

Updated: 2026-09-15T19:30:36.723Z

cve-icon NVD

Status : Deferred

Published: 2026-09-15T19:17:38.167

Modified: 2026-09-16T20:38:04.943

Link: CVE-2026-69212

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-17T07:45:17Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-319

    Cleartext Transmission of Sensitive Information