Algernon: Authorization bypass on case-insensitive filesystems
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| go:github.com/xyproto/algernon | < 1.17.10 | 1.17.10 |
Algernon's URL-prefix authorization gate matches its protected prefixes (/admin, /repo, /data) with case-sensitive strings.HasPrefix, while the exact same raw req.URL.Path is later resolved against the filesystem. On case-insensitive filesystems (Windows NTFS — always; macOS APFS/HFS+ — default), a request for /Admin/secret.lua evades every protected-prefix check, falls through to the public-prefix accept branch, and then resolves on disk to admin/secret.lua. The result is an unauthenticated by…
Read on GitHub Advisory Database
On 12/05/2026, 06:14 AM, GitHub Advisory Database published "Algernon: Authorization bypass on case-insensitive filesystems" (type: Advisory). Severity is "Critical" (critical). Related technologies: Go, GitHub. CVE: CVE-2026-68548.