THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-5fqc-mrg8-w798 (high) — Dulwich: Symlink directory traversal in filter-branch index_filter via cross-commit state persistence

[GHSA] GHSA-5fqc-mrg8-w798 (high) — Dulwich: Symlink directory traversal in filter-branch index_filter via cross-commit state persistence

medgithub_advisoriesPublished 2026-10-02

GHSA-5fqc-mrg8-w798 Severity: high CVE: None

Dulwich: Symlink directory traversal in filter-branch index_filter via cross-commit state persistence

## Summary

Dulwich's `filter_branch.py` `CommitFilter._apply_index_filter()` is vulnerable to symlink directory traversal. When processing commit history, materialized tree entries (including symlinks) persist in the working directory between commits

Original source: https://github.com/advisories/GHSA-5fqc-mrg8-w798