Path Traversal in Http4s

CVE-2026-69201

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, ResourceService and WebjarService decode each URL path segment but reject only segments exactly equal to an empty string, a dot, or two dots. A request containing percent-encoded slash or backslash separators can turn an accepted segment into a parent-directory traversal after decoding, allowing access to classpath or WebJar resources outside the configured base when a directory-backed classpath is served and the backend preserves the encoded separator. The patch rejects decoded segments containing slash or backslash in ResourceService and WebjarService, and applies the same guard to the non-exploitable FileService for consistency. This issue is fixed in versions 0.23.35 and 1.0.0-M47.

Vulnerability class: Path Traversal (Directory Traversal)

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

  • Http4s — versions < 0.23.35, >= 1.0.0-M1, < 1.0.0-M47

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-69201?
CVE-2026-69201 is a medium-severity vulnerability in Http4s, classified under Path Traversal. CVSS score: 5.9/10. Published 2026-09-15.
How severe is CVE-2026-69201?
Medium severity. CVSS v3 base score is 5.9 out of 10.