Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-45728: CWE-209: Generation of Error Message Containing Sensitive Information in xyproto algernon

0
High
Published: Tue May 26 2026 (05/26/2026, 16:38:50 UTC)
Source: CVE Database V5
Vendor/Project: xyproto
Product: algernon

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 v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 17:17:58 UTC

Technical Analysis

Algernon, a pure-Go web server, prior to version 1.17.7, enables debugMode automatically when invoked with a single file path (singleFileMode). Debug mode activates the PrettyError renderer, which on Lua or template errors returns detailed error responses including the absolute path, complete byte contents of the errored file, and exception or parser error text. These responses are served with HTTP 200 OK status to any client causing the error, allowing disclosure of server-side source code and related Lua data files. This information leak vulnerability is tracked as CVE-2026-45728 and is resolved in version 1.17.7.

Potential Impact

An unauthenticated remote attacker able to provoke a runtime error in the served Lua or template scripts can obtain full server-side source code and sensitive file contents. This disclosure can aid further attacks or intellectual property theft. The vulnerability does not affect integrity or availability directly but results in a high confidentiality impact. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade to Algernon version 1.17.7 or later, where this issue is fixed. Prior versions forcibly enable debug mode in single file mode causing sensitive information disclosure. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the vendor fixed the issue in 1.17.7, so upgrading is the recommended action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T05:51:48.667Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a15d22e891d628fdc600897

Added to database: 5/26/2026, 5:02:38 PM

Last enriched: 5/26/2026, 5:17:58 PM

Last updated: 5/26/2026, 9:49:56 PM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses