CVE-2026-52792
Algernon: Server-side script source disclosure on Windows via NTFS filename
Also known as GHSA-mm6c-5j6x-hq8m, GO-2026-5903
Mitigation
- Upgrade github.com/xyproto/algernon to 1.17.9 or later.
Who should check
- Projects that depend on Go package github.com/xyproto/algernon (< 1.17.9)
- Anyone running xyproto algernon < 1.17.9
Vulnerability facts
- Affected
- github.com/xyproto/algernon < 1.17.9
- Fixed in
- 1.17.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.63% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-69
- Modified
Description
Algernon is a small self-contained pure-Go web server. Prior to 1.17.9, Algernon on Windows selects a file handler in engine/handlers.go by calling filepath.Ext() without first rejecting NTFS-equivalent names such as x.lua::$DATA, x.lua., and x.lua . An unauthenticated client can append one of these suffixes to a public server-side script using the .lua, .tl, .po2, .amber, or .frm extension. The request path passes through URL2filename in utils/files.go, skips the renderer and execution cases, and reaches FilePage, os.Open, ReadAndLogErrors, and ToClient, while NTFS resolves the alias to the underlying script. The server consequently returns raw script source and can expose database credentials, API keys, and the SetCookieSecret value, which may permit forged session cookies. Linux and macOS hosts are not affected by this issue. This issue is fixed in version 1.17.9.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/xyproto/algernon | < 1.17.9 | 1.17.9 | osv |
| xyproto algernon | < 1.17.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-52792. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-52792.md Affected: github.com/xyproto/algernon < 1.17.9 Fixed in: 1.17.9 Steps: 1. Search this machine and project for github.com/xyproto/algernon (Go), xyproto algernon: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-52792 being exploited?
There is no confirmed exploitation: CVE-2026-52792 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-52792?
High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-52792?
github.com/xyproto/algernon < 1.17.9.
Is there a fix for CVE-2026-52792?
Yes. Fixed in 1.17.9. Upgrade github.com/xyproto/algernon to 1.17.9 or later.
How do I check if I'm affected by CVE-2026-52792?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.