Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-45728— Algernon: Single-file mode unconditionally enables debug mode

CVSS 7.5 · High EPSS 0.03% · P10

Possible ATT&CK Techniques 1AI

T1530 · Data from Cloud Storage

Affected Version Matrix 1

VendorProductVersion RangeStatus
xyprotoalgernon< 1.17.7affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-45728

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Algernon: Single-file mode unconditionally enables debug mode
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
通过错误消息导致的信息暴露
Source: NVD (National Vulnerability Database)
Vulnerability Title
algernon 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
algernon是Alexander F. Rødseth个人开发者的一个 Web 服务器。 Algernon 1.17.7之前版本存在安全漏洞,该漏洞源于单文件模式下调试模式强制启用,导致错误响应中泄露文件绝对路径和完整字节内容,可能导致客户端获取服务器端源代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
xyprotoalgernon < 1.17.7 -

II. Public POCs for CVE-2026-45728

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-45728

登录查看更多情报信息。

Vendor Advisories for CVE-2026-45728 (1)

Same Patch Batch · xyproto · 2026-05-26 · 7 CVEs total

CVE-2026-457219.0 CRITICALAlgernon: handler.lua discovery walks parent directories above the server root
CVE-2026-481268.2 HIGHAlgernon: Host header path traversal in --domain mode reads files and runs Lua from parent
CVE-2026-464304.3 MEDIUMAlgernon: Auto-refresh SSE event server binds to all interfaces by default on Linux/macOS
CVE-2026-464314.3 MEDIUMAlgernon: Auto-refresh SSE event server sets Access-Control-Allow-Origin: *
CVE-2026-43981Algernon: Race Condition in handle() shared LState
CVE-2026-43982Algernon: Path traversal file write via savein()

IV. Related Vulnerabilities

V. Comments for CVE-2026-45728

No comments yet


Leave a comment