Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-48126
Published:May 26, 2026
Updated:June 11, 2026
Algernon is a small self-contained pure-Go web server. Prior to 1.17.8, when algernon is started with --domain (or --letsencrypt, which silently turns on --domain at engine/flags.go:372), the request handler resolves the served directory by joining the configured --dir with the value of the client-supplied Host header. The join is performed by filepath.Join with no validation, so a Host: .. header walks one level above the document root. Subsequent file resolution then exposes everything in that parent directory — arbitrary file read, full directory listing, and, if any .lua file is present, server-side Lua execution. This vulnerability is fixed in 1.17.8.
Affected Packages
https://github.com/xyproto/algernon.git (GITHUB):
Affected version(s) >=v0.47-win8-64 <v1.17.8
Fix Suggestion:
Update to version v1.17.8
github.com/xyproto/algernon (GO):
Affected version(s) >=v0.0.0-20150310223114-90791373f0db <v1.17.8
Fix Suggestion:
Update to version v1.17.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Relative Path Traversal
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Neutralization of HTTP Headers for Scripting Syntax
EPSS
Base Score:
0.09