{"answers":{"affected":"3 open source packages ship an affected version, including github.com/xyproto/algernon.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52792 exists.","fix":"Upgrade github.com/xyproto/algernon to 1.17.9 or later.","what":"CVE-2026-52792 is a high-severity vulnerability in xyproto algernon, published on 19 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-52792 and fix it if it is affected.\n\nWhat it is: CVE-2026-52792 is a high-severity vulnerability in xyproto algernon, published on 19 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52792 exists.\n\nAffected packages and fixed versions:\n- github.com/xyproto/algernon (Go): affected all versions; fixed in 1.17.9\n- github.com/xyproto/algernon (Go): affected all versions; fixed in 1.17.9\n- github.com/xyproto/algernon (Go): affected all versions; fixed in 1.17.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-52792/ (Markdown: https://insights.sbomify.com/CVE-2026-52792/index.md)","id":"CVE-2026-52792","markdown":"https://insights.sbomify.com/CVE-2026-52792/index.md","name":"CVE-2026-52792","record":{"aliases":["GHSA-mm6c-5j6x-hq8m","GO-2026-5903"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go web server","requires_auth":"none","summary":"Unauthenticated attackers can retrieve raw source code of server-side scripts on Windows by exploiting NTFS filename aliases, potentially exposing credentials and session secrets.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-69","name":"Improper Handling of Windows ::DATA Alternate Data Stream"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Algernon: Server-side script source disclosure on Windows via NTFS filename","id":"CVE-2026-52792","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Froxlor: API Authentication bypasses 2FA Authentication","id":"CVE-2026-52793"},"packages":[{"ecosystem":"Go","fixed":["1.17.9"],"introduced":["0"],"last_affected":[],"package":"github.com/xyproto/algernon","purl":null,"source":"GHSA-mm6c-5j6x-hq8m"},{"ecosystem":"Go","fixed":["1.17.9"],"introduced":["0"],"last_affected":[],"package":"github.com/xyproto/algernon","purl":"pkg:golang/github.com/xyproto/algernon","source":"GHSA-mm6c-5j6x-hq8m"},{"ecosystem":"Go","fixed":["1.17.9"],"introduced":["0"],"last_affected":[],"package":"github.com/xyproto/algernon","purl":"pkg:golang/github.com/xyproto/algernon","source":"GO-2026-5903"}],"prev":{"headline":"fuse-overlayfs release-1.x preserves SUID/SGID bits after truncate/open(O_TRUNC)","id":"CVE-2026-52791"},"products":["algernon"],"published":"2026-08-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["xyproto"]},"summary":"Unauthenticated attackers can retrieve raw source code of server-side scripts on Windows by exploiting NTFS filename aliases, potentially exposing credentials and session secrets.","url":"https://insights.sbomify.com/CVE-2026-52792/"}