Skip to content
OpenAdvisories
High · 7.8 CVE-2026-114097 EUVD-2026-106900GHSA-4hjw-xcwg-8xfjGHSA-5fqc-mrg8-w798

Dulwich 0.23.1 before 1.2.8 Symlink Path Traversal via filter_branch Index Filter

Published Oct 21, 2026 · Updated Oct 22, 2026 · Assigned by VulnCheck

Description

Dulwich from 0.23.1 before 1.2.8 contains a path traversal vulnerability in CommitFilter._apply_index_filter() that allows attackers to write files outside the working directory via symlinks persisting between commits. Attackers can craft a repository where an ancestor commit's symlink redirects a descendant commit's file writes during filter_branch, enabling code execution by writing into .git/hooks.

Affected products

VendorProductAffectedFixed
jelmer dulwich 0.23.1 – < 1.2.8 1.2.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dulwich 1.2.8-1 —
Debian 13 dulwich No fix yet —
Debian 12 dulwich No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS dulwich No fix yet —
Ubuntu 24.04 LTS dulwich No fix yet —
Ubuntu 22.04 LTS dulwich No fix yet —
Ubuntu 20.04 LTS dulwich No fix yet —
Ubuntu 18.04 LTS dulwich No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS dulwich No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dulwich >= 0.23.1, < 1.2.8 1.2.8 GHSA-5fqc-mrg8-w798

References