CVE Database›Document archive›CVE-2026-114097

CVE-2026-114097

dulwich: dulwich: Arbitrary code execution via symlink path traversal during branch filtering

Loading…

Severity

Important

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · October 21, 2026

Updated · November 3, 2026

Description

A flaw was found in Dulwich. This vulnerability allows an attacker to achieve arbitrary code execution by tricking a user into running branch filtering operations on a specially crafted Git repository. Because temporary files persist between commit processing cycles, symbolic links created in earlier commits can redirect subsequent file write operations outside the working directory, allowing an attacker to overwrite sensitive files such as executable Git hook scripts.

Statement

This vulnerability is rated as having an Important severity because successful exploitation can result in arbitrary code execution within the application context if untrusted repositories are processed. Red Hat products embedding Dulwich are only susceptible if they run branch filtering operations on untrusted Git repositories. Exploitation requires user interaction or an automated workflow to process a malicious repository where residual symlinks redirect file writes during index filtering.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

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

CWE-59 · Improper Link Resolution Before File Access