CVE-2026-45728 Details
Description
Algernon is a small self-contained pure-Go web server. Prior to 1.17.7, when Algernon is invoked with a single file path instead of a directory, singleFileMode is set to true and debugMode is forcibly enabled. debugMode activates the PrettyError renderer, which on any Lua or template error response dumps the absolute path of the file that errored, complete byte contents of that file, and exception or parser error text. This response is served with HTTP 200 OK to whoever sent the request that triggered the error. Any client able to reach the server and able to provoke a runtime error in the served script obtains the full server-side source of that script and of any sibling Lua data file consulted during the request. This vulnerability is fixed in 1.17.7.
A vulnerability in Algernon web server versions through 1.17.6 allows for unintentional debug mode activation when the server is started with a single file path instead of a directory. This debug mode, enabled by default for certain file types, activates the PrettyError renderer, which exposes sensitive information by dumping the full server-side source of the file that triggered an error, along with any related Lua data files. The information is served with an HTTP 200 OK status to the requester, without any authentication or rate limiting. This vulnerability is particularly concerning when Algernon is run as a system service, where the single-file mode can override production settings meant to enhance security.
Users can update to Algernon version 1.17.7 or later, where this vulnerability has been fixed. Additionally, when using Algernon as a system service, avoid referencing single Lua or Pongo files in the ExecStart command.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xyproto/algernon/security/advisories/GHSA-fwqx-8365-9983 | CISA-ADP | AdvisoryExploitRemedyTechnical AnalysisVendor |
| https://github.com/xyproto/algernon/security/advisories/GHSA-fwqx-8365-9983 | [email protected] | AdvisoryExploitRemedyTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1188 | Initialization of a Resource with an Insecure Default | [email protected] |
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
| CWE-489 | Active Debug Code | [email protected] |
| CWE-540 | Inclusion of Sensitive Information in Source Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Algernon | <= 1.17.6 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion