// Security Advisory Triage

Dulwich 1.2.8 patches symlink traversal in filter-branch

GitHub advisories — pip · published 2026-10-03 01:36 UTC
ACTION NEEDED VERIFY_EXPOSURE SECURITY
WHAT CHANGEDGitHub published GHSA-5fqc-mrg8-w798 on 2026-10-02 for dulwich, a Python Git library. The advisory describes a symlink directory traversal vulnerability in filter-branch's index_filter that exploits cross-commit state persistence. Severity is rated high. Version 1.2.8 patches the issue.
WHY IT MATTERSIf you run dulwich and use filter-branch with index_filter on untrusted repositories, an attacker can traverse directories via symlinks across commit boundaries. This can read or write files outside the intended working tree.
WHAT TO DOCheck your dependency tree for dulwich. If present and you use filter-branch operations, upgrade to 1.2.8 or later. If you process untrusted Git repositories with dulwich, prioritize this update.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-5fqc-mrg8-w798
+summary: Dulwich: Symlink directory traversal in filter-branch index_filter via cross-commit state persistence
+severity: high
+published_at: 2026-10-02T18:53:05Z
+cve_id:
+vulnerabilities[].package.name: dulwich
+vulnerabilities[].first_patched_version: 1.2.8
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningDulwich is a widely-used Python git library in CI/CD and development toolchains. New high-severity advisory with fix available.
signalsknown_exploitation_status_unclear_but_high_severity · dulwich_is_git_library_in_dependency_trees · new_advisory_with_patched_version · symlink_directory_traversal_is_real_vulnerability_class
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)