CVE Catalog

CVE-2026-72572

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.77%

52th percentile - higher than 52% of all known CVEs

Summary

A 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.

Risk Assessment

An attacker can access sensitive files such as configuration files, credentials, or other sensitive data, potentially leading to confidentiality breaches and further attacks.

Recommendation

Update xmysql to a patched version or apply a workaround such as validating the name parameter and blocking ../ sequences. Restrict access to the application to trusted users only.

Related vulnerabilities

Original NVD description (English source)

A 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS