THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-cm62-gvxx-vmxx (high) — Dulwich: Symlink directory traversal in stash pop allows arbitrary file write via intermediate directory symlinks

[GHSA] GHSA-cm62-gvxx-vmxx (high) — Dulwich: Symlink directory traversal in stash pop allows arbitrary file write via intermediate directory symlinks

medgithub_advisoriesPublished 2026-10-02

GHSA-cm62-gvxx-vmxx Severity: high CVE: None

Dulwich: Symlink directory traversal in stash pop allows arbitrary file write via intermediate directory symlinks

## Summary

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.

## Root Caus

Original source: https://github.com/advisories/GHSA-cm62-gvxx-vmxx