Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72572: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in o1lab xmysql

0
High
VulnerabilityCVE-2026-72572cvecve-2026-72572cwe-22
Published: 08/10/2026 (08/10/2026, 10:40:52 UTC)
Source: CVE Database V5
Vendor/Project: o1lab
Product: xmysql

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 11:13:51 UTC

Technical Analysis

The vulnerability in o1lab/xmysql affects all versions and is due to improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the lib/xapi.js file at lines 338 and 424 uses the user-supplied req.query.name parameter directly in path.join(cwd, name) without sanitization before passing it to res.download(). This allows an attacker to craft a request with '../' sequences to traverse directories and download arbitrary files from the server filesystem. The CVSS v3.1 score is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), indicating a high-impact confidentiality breach without integrity or availability impact. No patch or official remediation is currently documented.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability to read and download arbitrary files from the server hosting xmysql. This can lead to disclosure of sensitive information, potentially including system files or application secrets. There is no impact on integrity or availability according to the CVSS vector. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting access to the vulnerable endpoints or applying input validation and sanitization on the req.query.name parameter to prevent directory traversal sequences. Monitoring for unusual file download requests may help detect exploitation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-10T10:32:53.853Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a79ae6ebf8831d5398afd15

Added to database: 08/10/2026, 10:56:46 UTC

Last enriched: 08/10/2026, 11:13:51 UTC

Last updated: 08/11/2026, 04:41:00 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses