Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyload-ng
  4. ›
  5. CVE-2026-29778

CVE-2026-29778: pyLoad has an Arbitrary File Write via Path Traversal in edit_package()

March 5, 2026

The edit_package() function implements insufficient sanitization for the pack_folder parameter. The current protection relies on a single-pass string replacement of “../”, which can be bypassed using crafted recursive traversal sequences.

Exploitation

An authenticated user with MODIFY permission can bypass the sanitization by submitting a payload such as: pack_folder=..././..././..././tmp

After the single-pass replacement, this becomes: ../../../tmp

Because the traversal sequences are not properly validated, the resulting normalized path escapes the intended storage directory and writes files to /tmp or other locations.

References

  • github.com/advisories/GHSA-6px9-j4qr-xfjw
  • github.com/pyload/pyload
  • github.com/pyload/pyload/security/advisories/GHSA-6px9-j4qr-xfjw
  • nvd.nist.gov/vuln/detail/CVE-2026-29778

Code Behaviors & Features

Detect and mitigate CVE-2026-29778 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.5.0b3.dev13 up to 0.5.0b3.dev96

Solution

Unfortunately, there is no solution available yet.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

pypi/pyload-ng/CVE-2026-29778.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 05 Mar 2026 19:04:37 +0000.