{"id":"CVE-2026-72572","summary":"o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter","details":"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.","modified":"2026-10-08T02:51:49.569326969Z","published":"2026-08-10T10:40:52.146Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72572.json","cna_assigner":"TuranSec"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72572.json"},{"type":"ADVISORY","url":"https://github.com/o1lab/xmysql"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72572"},{"type":"ARTICLE","url":"https://github.com/o1lab/xmysql/blob/master/lib/xapi.js"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/o1lab/xmysql","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0"}],"source":"AFFECTED_FIELD"}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72572.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}