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

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary files from the server via path traversal in the name query parameter of the xmysql library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-72572?

CVE-2026-72572 is a high-severity path traversal vulnerability in o1lab xmysql, published on 10 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-72572?

How do I fix CVE-2026-72572?

No fix has been published for CVE-2026-72572 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-72572 being exploited?

There is no known exploitation of CVE-2026-72572 in the wild and no public exploit code.

Sources

Also known as GHSA-9pgj-cxw3-gw33.

Is CVE-2026-72572 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free