{"cve":"CVE-2026-45728","nvd":{"published":"2026-05-26T17:16:47.900","modified":"2026-07-24T11:10:00.170","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-209","CWE-489","CWE-540","CWE-1188"],"references":["https://github.com/xyproto/algernon/security/advisories/GHSA-fwqx-8365-9983","https://github.com/xyproto/algernon/security/advisories/GHSA-fwqx-8365-9983"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-45728","score":0.00303,"percentile":0.23038,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-fwqx-8365-9983","url":"https://osv.dev/vulnerability/GHSA-fwqx-8365-9983","summary":"Algernon: Single-file mode unconditionally enables debug mode","modified":"2026-06-25T19:56:07.888047953Z","packages":[{"ecosystem":"Go","name":"github.com/xyproto/algernon","purl":"pkg:golang/github.com/xyproto/algernon","ranges":["<1.17.7"],"fixed":["1.17.7"]}]},{"id":"GO-2026-5385","url":"https://osv.dev/vulnerability/GO-2026-5385","summary":"Algernon: Single-file mode unconditionally enables debug mode in github.com/xyproto/algernon","modified":"2026-06-25T19:45:37.553368347Z","packages":[{"ecosystem":"Go","name":"github.com/xyproto/algernon","purl":"pkg:golang/github.com/xyproto/algernon","ranges":["<1.17.7"],"fixed":["1.17.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}