Directory Traversal Affecting caddy package, versions <2.11.4-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.62% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-CADDY-17369221
  • published18 Jun 2026
  • disclosed23 Jun 2026

Introduced: 18 Jun 2026

CVE-2026-52844  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Minimos:latest caddy to version 2.11.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream caddy package and not the caddy package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, on Windows, Caddy path matchers treat /private\secret.txt as outside /private/, but file_server later resolves the same request path as private\secret.txt on disk. An unauthenticated remote client can bypass Caddy path-scoped auth/deny routes protecting /private/. This vulnerability is fixed in 2.11.4.