CVE-2026-45721: Vulnerability in github.com/xyproto/algernon
Critical. 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...
Go, CWE-20, CWE-426
- Exploitation
- None confirmed
- Severity
- 9 of 10
- Attack likelihood
- 0.7 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-xwcr-wm99-g9jc
- EU ID
- EUVD-2026-31867
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-20, CWE-426, CWE-552
- Published
- 19 May 2026
- Last change
- 24 Jul 2026
- Likelihood rank
- Higher than 51 % of all rated vulnerabilities
- Analysis status
- Deferred
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- github.com/xyproto/algernon Go, Affected through 1.17.6. Fixed in 1.17.7
Advisories
Vendor and security advisories