CVE-2026-72572

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

No configuration.

History

23 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (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.

Information

Published : 2026-08-10 11:17

Updated : 2026-10-24 15:10


NVD link : CVE-2026-72572

Mitre link : CVE-2026-72572

CVE.ORG link : CVE-2026-72572


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')