CVE-2025-59822

High

Description

Http4s is a Scala interface for HTTP services. In versions from 1.0.0-M1 to before 1.0.0-M45 and before 0.23.31, http4s is vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section. This vulnerability could enable attackers to bypass front-end servers security controls, launch targeted attacks against active users, and poison web caches. A pre-requisite for exploitation involves the web application being deployed behind a reverse-proxy that forwards trailer headers. This issue has been patched in versions 1.0.0-M45 and 0.23.31.

SeverityHigh
CVSS7.5
Exploit probability—
ProductTypelevel Http4s
PublishedSep 23, 2025
First seenSep 23, 2025
Weakness typeCWE-444CWE-444

How to fix

Update
  • typelevel http4s0.23.31 or later
  • org.http4s:http4s-ember-core_2.120.23.31 or later
  • org.http4s:http4s-ember-core_2.130.23.31, 1.0.0-M45 or later
  • org.http4s:http4s-ember-core_30.23.31, 1.0.0-M45 or later

Affected products

ProductAffected versionsFixed in
typelevel http4sv < 0.23.31, 1.0.00.23.31
org.http4s:http4s-ember-core_2.12Mavenv < 0.23.310.23.31
org.http4s:http4s-ember-core_2.13Mavenv < 0.23.31, 1.0.0-M1 ≤ v < 1.0.0-M450.23.31, 1.0.0-M45
org.http4s:http4s-ember-core_3Mavenv < 0.23.31, 1.0.0-M1 ≤ v < 1.0.0-M450.23.31, 1.0.0-M45

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.