Skip to main content

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2026-69201

Severity Medium
Score 5.9/10

Summary

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.x prior to 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.

  • HIGH
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-22 - Path Traversal

Path traversal (or directory traversal), is a vulnerability that allows malicious users to traverse the server's root directory, gaining access to arbitrary files and folders such as application code & data, back-end credentials, and sensitive operating system files. In the worst-case scenario, an attacker could potentially execute arbitrary files on the server, resulting in a denial of service attack. Such an exploit may severely impact the integrity, confidentiality, and availability of an application.

Advisory Timeline

  • Published