# CVE-2026-72572: o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter

- Severity: High 7.5 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-08-10T10:40:52.146Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- o1lab xmysql: 0

## References

- <https://github.com/o1lab/xmysql> (third-party-advisory)
- <https://github.com/o1lab/xmysql/blob/master/lib/xapi.js> (technical-description)

## Sources

- CVE List: [CVE-2026-72572](https://www.cve.org/CVERecord?id=CVE-2026-72572), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-72572](https://nvd.nist.gov/vuln/detail/CVE-2026-72572), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-72572 · Whole record: https://cve.day/CVE-2026-72572.json · Rebuilt by cve.day 2026-11-25T22:59:31.990Z
