7.5high
o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter
- Severity
- 7.5high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.77% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| o1lab xmysql | 0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de salto de ruta en o1lab/xmysql (todas las versiones) permite a un atacante remoto no autenticado leer y descargar archivos arbitrarios del servidor. El archivo lib/xapi.js en las líneas 338 y 424 utiliza el parámetro req.query.name controlado por el usuario en path.join(cwd, name) sin saneamiento antes de pasarlo a res.download, lo que permite el salto de directorio a través de secuencias .. / para acceder a archivos sensibles del sistema.
References
| https://github.com/o1lab/xmysql | third-party-advisory | |
| https://github.com/o1lab/xmysql/blob/master/lib/xapi.js | technical-description | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72572 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-72572 changed 2026-10-24 | Public domain |