Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/xyproto/algernon
  4. ›
  5. CVE-2026-52792

CVE-2026-52792: Algernon vulnerable to server-side script source disclosure on Windows via NTFS filename

July 2, 2026

Algernon selects its file handler from filepath.Ext() (engine/handlers.go:134), which does not treat the NTFS-equivalent names x.lua::$DATA, x.lua., or x.lua as .lua. On Windows, an unauthenticated client appends one of these suffixes to any server-side script on a public path and receives its raw source instead of executed output, leaking embedded secrets such as database credentials and the SetCookieSecret value.

Linux and macOS hosts are unaffected.

References

  • github.com/advisories/GHSA-mm6c-5j6x-hq8m
  • github.com/xyproto/algernon/security/advisories/GHSA-mm6c-5j6x-hq8m
  • nvd.nist.gov/vuln/detail/CVE-2026-52792

Code Behaviors & Features

Detect and mitigate CVE-2026-52792 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.17.9

Fixed versions

  • 1.17.9

Solution

Upgrade to version 1.17.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-69: Improper Handling of Windows ::DATA Alternate Data Stream

Source file

go/github.com/xyproto/algernon/CVE-2026-52792.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:00 +0000.