o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter
cve-program · CVE-2026-72572
PublishedA path traversal vulnerability in o1lab/xmysql (all versions) allows an unauthenticated remote attacker to read and download arbitrary files from the server. The lib/xapi.js file at lines 338 and 424 uses the user-controlled req.query.name parameter in path.join(cwd, name) without sanitization before passing it to res.download, enabling directory traversal via ../ sequences to access sensitive system files.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-72572 · CVE overview and exploitation status
cve-program · CVE-2026-72572
Related changes
Linked by CVE identifierNo related changes are available here.