CVE-2026-52792
published high CVSS 4.0 · 8.7Algernon: Server-side script source disclosure on Windows via NTFS filename
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xyproto | — | algernon< 1.17.9 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xyproto | algernon | < 1.17.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-69 CWE-69: Improper Handling of Windows ::DATA Alternate Data Stream
References
3Provider assertions
2GitHub_M · cna
Algernon: Server-side script source disclosure on Windows via NTFS filename
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4cbc99c71ac895cf7ec3fc10e1f36acad3dec6a9d353e91fda2d3d531082401c
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record