CVE-2026-45721
Last modified
CVE-2026-45721 is a critical-severity vulnerability rated 9/10 on the CVSS scale. Algernon is a small self-contained pure-Go web server. Prior to 1.17.7, when Algernon is asked for any URL path that resolves to a directory without an index file, DirPage walks upward through parent directories — past the configured server root — looking for a file named handler.lua to execute as the request handler. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
Algernon is a small self-contained pure-Go web server. Prior to 1.17.7, when Algernon is asked for any URL path that resolves to a directory without an index file, DirPage walks upward through parent directories — past the configured server root — looking for a file named handler.lua to execute as the request handler. The loop terminates only after 100 ancestor steps or when filepath.Dir returns ., so on any absolute server-root path the search reaches the filesystem root (/ on Unix, drive letter on Windows). The first handler.lua it finds is loaded into the Lua interpreter with the full Algernon API exposed — including run3(), httpclient, os.execute, io.popen, PQ, MSSQL, raw filesystem access, and the userstate database. Any process that can write handler.lua anywhere in a parent directory of the server root obtains pre-authenticated remote code execution on the next HTTP request. This is reachable without authentication — the lookup happens before the permission check returns a hit (the perm system only gates URL prefixes, not the handler-resolution step), and any URL pointing at a directory without an index triggers the walk. On a fresh stock Algernon install the request GET / is enough. This vulnerability is fixed in 1.17.7.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-45721?
How severe is CVE-2026-45721?
How do I fix CVE-2026-45721?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45715Budibase is an open-source low-code platform. Prior to 3.38.…7.7
- CVE-2026-45716Budibase is an open-source low-code platform. Prior to 3.38.…8.8
- CVE-2026-45717Budibase is an open-source low-code platform. Prior to 3.38.…8.8
- CVE-2026-45718Budibase is an open-source low-code platform. Prior to 3.38.…5.4
- CVE-2026-45719Budibase is an open-source low-code platform. Prior to 3.38.…6.5
- CVE-2026-4572A weakness has been identified in SourceCodester Sales and I…6.5
- CVE-2026-45722Nextcloud is an open source content collaboration platform. …7.1
- CVE-2026-45727CloakBrowser is a tool to bypass bot detection tests. Prior …8.8
- CVE-2026-45728Algernon is a small self-contained pure-Go web server. Prior…7.5
- CVE-2026-45729Thor Vector Graphics (ThorVG) is a production-ready vector g…4.3
- CVE-2026-4573A security vulnerability has been detected in SourceCodester…6.3
- CVE-2026-45731WWBN AVideo is an open source video platform. In 29.0 and ea…4.9
Are you affected by CVE-2026-45721?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
