Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dulwich
  4. ›
  5. GHSA-cm62-gvxx-vmxx

GHSA-cm62-gvxx-vmxx: Dulwich: Symlink directory traversal in stash pop allows arbitrary file write via intermediate directory symlinks

October 2, 2026

Dulwich’s stash.py:pop() function is vulnerable to symlink directory traversal, allowing an attacker to write arbitrary files outside the repository worktree when a victim pops a stash in a malicious repository.

References

  • github.com/advisories/GHSA-cm62-gvxx-vmxx
  • github.com/jelmer/dulwich/commit/40a542cb02f9ac39a9eeac1193472903098698f9
  • github.com/jelmer/dulwich/releases/tag/dulwich-1.2.8
  • github.com/jelmer/dulwich/security/advisories/GHSA-cm62-gvxx-vmxx

Code Behaviors & Features

Detect and mitigate GHSA-cm62-gvxx-vmxx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.22.5 before 1.2.8

Fixed versions

  • 1.2.8

Solution

Upgrade to version 1.2.8 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

pypi/dulwich/GHSA-cm62-gvxx-vmxx.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:32 +0000.