Go Vulnerability Database
GO-2026-4535
Improper sanitization of glob characters in github.com/caddyserver/caddy/v2
Details
Improper sanitization of glob characters in github.com/caddyserver/caddy/v2
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/caddyserver/caddy/v2 | All versions before 2.11.1 (fixed in 2.11.1) |
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4
- https://caddyserver.com/docs/caddyfile/directives#directive-order
- https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L361
- https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L398
- https://github.com/caddyserver/caddy/releases/tag/v2.11.1