CVEvulnerability
CVE-2026-72572
7.5 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-08-10
- Last modified
- 2026-10-24
- Assigner
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- CVSS 3.1 (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
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.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/o1lab/xmysql github.com
- https://github.com/o1lab/xmysql/blob/master/lib/xapi.js github.com