Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dash-uploader
  4. ›
  5. CVE-2026-38360

CVE-2026-38360: dash-uploader has a directory traversal vulnerability

May 8, 2026 (updated June 8, 2026)

An unauthenticated path traversal vulnerability exists in dash-uploader versions 0.1.0 through 0.7.0a2. The library’s HTTP request handler at dash_uploader/httprequesthandler.py reads three form parameters (upload_id, resumableFilename, resumableIdentifier) from request.form.get() and passes them directly to os.path.join() and os.makedirs() without any sanitization.

A single unauthenticated POST /API/dash-uploader request with upload_id set to a relative path (e.g. ../../etc/cron.d or ../venv/lib/python3.13/site-packages) escapes the application’s uploads/ directory and writes the supplied file content to the chosen target path under the privilege of the gunicorn / WSGI process.

When the chosen target is a Python site-packages directory and the dropped file is a .pth file containing an import-prefixed line, Python’s site module executes that line on the next interpreter startup, yielding remote code execution. Other escalation paths reachable from the same primitive include overwriting the running WSGI module, dropping ~/.ssh/authorized_keys, or writing JavaScript into a Dash-served assets/ directory for stored XSS.

References

  • github.com/a1ohadance/CVE-2026-38360
  • github.com/advisories/GHSA-3rf6-x59v-5jfv
  • github.com/fohrloop/dash-uploader
  • github.com/fohrloop/dash-uploader/blob/dev/dash_uploader/httprequesthandler.py
  • github.com/fohrloop/dash-uploader/blob/stable/dash_uploader/httprequesthandler.py
  • github.com/fohrloop/dash-uploader/issues/153
  • nvd.nist.gov/vuln/detail/CVE-2026-38360
  • pypi.org/project/dash-uploader

Code Behaviors & Features

Detect and mitigate CVE-2026-38360 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.0 up to 0.7.0-a.2

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/dash-uploader/CVE-2026-38360.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:23 +0000.