CVE-2026-72572
published high CVSS 3.1 · 7.5o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| o1lab | — | xmysql0 · Other versions: unknown | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| o1lab | xmysql | 0 (affected · semver)Default: unknown | TuranSec · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- Product https://github.com/o1lab/xmysql
- Vulnerable File https://github.com/o1lab/xmysql/blob/master/lib/xapi.js
Provider assertions
2TuranSec · cna
o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ac24f7a8a8aa34a5fc1411a6da3abafaac4dabac0f8284422b513475cafcc45
- Ingested
- 23 Sep 2026, 09:30:18 UTC
- Source record
- Official CVE record