CVE-2026-72572: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in o1lab xmysql
CVE-2026-72572 is a path traversal vulnerability in o1lab's xmysql software that allows unauthenticated remote attackers to read and download arbitrary files from the server. The vulnerability arises because the user-controlled parameter 'req.query.name' is used unsafely in path.join without sanitization, enabling directory traversal via '../' sequences. This can lead to unauthorized disclosure of sensitive system files. The vulnerability has a high severity score of 7.5 CVSS 3.1 and affects all versions of xmysql. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
This vulnerability in o1lab xmysql involves improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the lib/xapi.js file uses the user-supplied 'req.query.name' parameter in path.join(cwd, name) without sanitization before passing it to res.download. This allows an unauthenticated remote attacker to perform directory traversal attacks by including '../' sequences in the parameter, enabling arbitrary file read and download from the server. The vulnerability affects all versions of xmysql, and no patch or official fix has been published as of now.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to read and download arbitrary files on the server hosting xmysql. This can lead to unauthorized disclosure of sensitive information, potentially compromising system confidentiality. There is no indication of impact on integrity or availability. 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 a fix is available, it is recommended to restrict access to the vulnerable service and monitor for suspicious requests that attempt directory traversal. Avoid exposing the service to untrusted networks if possible.
CVE-2026-72572: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in o1lab xmysql
Description
CVE-2026-72572 is a path traversal vulnerability in o1lab's xmysql software that allows unauthenticated remote attackers to read and download arbitrary files from the server. The vulnerability arises because the user-controlled parameter 'req.query.name' is used unsafely in path.join without sanitization, enabling directory traversal via '../' sequences. This can lead to unauthorized disclosure of sensitive system files. The vulnerability has a high severity score of 7.5 CVSS 3.1 and affects all versions of xmysql. No official patch or remediation guidance is currently available.
CVSS v3.1
Score 7.5high
Affected software
o1lab
xmysql
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in o1lab xmysql involves improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the lib/xapi.js file uses the user-supplied 'req.query.name' parameter in path.join(cwd, name) without sanitization before passing it to res.download. This allows an unauthenticated remote attacker to perform directory traversal attacks by including '../' sequences in the parameter, enabling arbitrary file read and download from the server. The vulnerability affects all versions of xmysql, and no patch or official fix has been published as of now.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to read and download arbitrary files on the server hosting xmysql. This can lead to unauthorized disclosure of sensitive information, potentially compromising system confidentiality. There is no indication of impact on integrity or availability. 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 a fix is available, it is recommended to restrict access to the vulnerable service and monitor for suspicious requests that attempt directory traversal. Avoid exposing the service to untrusted networks if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-10T10:32:53.853Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a79ae6ebf8831d5398afd15
Added to database: 08/10/2026, 10:56:46 UTC
Last enriched: 08/17/2026, 15:30:49 UTC
Last updated: 09/25/2026, 01:47:44 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.