Skip to content
Heist/ feed
Back to feed
High

o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-72572
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 03:38 UTC · Revision 1

Source evidence

o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter

core-osv · Original source

Published 10 Aug 2026, 10:40 UTC

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.

osv:CVE-2026-72572
Complete source record
{
  "id": "c49d72e7f437d93b6560f5505d574683d08df31a6ae4300f3b728fbdc061d12f",
  "url": "https://osv.dev/vulnerability/CVE-2026-72572",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter",
    "summary": "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.",
    "evidence": "osv:CVE-2026-72572",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-72572",
      "aliases": [
        "CVE-2026-72572"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/o1lab/xmysql",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72572.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:57.685992553Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72572.json",
        "https://github.com/o1lab/xmysql",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72572",
        "https://github.com/o1lab/xmysql/blob/master/lib/xapi.js"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "TuranSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72572.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72572",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 428171,
  "published_at": "2026-08-10T10:40:52.146+00:00"
}