Algernon: unauthenticated authorization bypass via case-variant URLs on case-insensitive filesystems (CVE-2026-68548)
Severity: critical · Patch status: patched · Since 2026-12-04 · CVE-2026-68548
Algernon's Rejected() permission gate compares protected URL prefixes (/admin, /repo, /data) with case-sensitive strings.HasPrefix, while the same raw req.URL.Path is later resolved against the filesystem. On case-insensitive filesystems (Windows NTFS always; macOS APFS/HFS+ by default), a request like /Admin/secret.lua evades all protected-prefix checks, matches the default public root prefix, and then resolves on disk to admin/secret.lua — an unauthenticated bypass enabling read and, for Lua files, execution of protected content. The permission system is active in the default configuration, so all Windows/macOS deployments of Algernon through v1.17.9 are affected. Fixed in v1.17.10 by case-normalizing the path before prefix comparison. No in-the-wild exploitation reported.
What to do
- Upgrade Algernon to v1.17.10 immediately if running on Windows or macOS
- If unable to upgrade, block or normalize case-variant paths at a reverse proxy/WAF in front of protected prefixes
- Audit logs for requests to protected prefixes with case variants (e.g. /Admin, /Repo, /Data)
- Review whether protected Lua or static content was accessed or executed
- On Linux (case-sensitive FS) verify exposure is limited, but still patch
Fixed versions
- github.com/xyproto/algernon 1.17.10
Sources
All live incidents on Threat Watch