---
id: CVE-2026-114096
title: Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths
summary: >-
  Dulwich from 0.24.0 before 1.2.8 contains a symlink following vulnerability in
  porcelain.checkout(paths=[...]) that allows attackers to write arbitrary files
  by abusing raw os.open without O_NOFOLLOW. Attackers can craft a repository
  whe…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-59
vendor: jelmer
product: dulwich
affected:
  - dulwich >= 0.24.0 < 1.2.8
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-28T13:46:24.696892Z'
exploitAvailable: true
published: '2026-10-21'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T13:46:53.993Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114096'
references:
  - url: 'https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33'
    label: GitHub Security Advisory (GHSA-8w8g-wq8h-fq33)
  - url: >-
      https://www.vulncheck.com/advisories/dulwich-0.24.0-before-1.2.8-symlink-write-through-via-porcelain-checkout-paths
    label: >-
      VulnCheck Advisory: Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via
      porcelain.checkout paths
  - url: >-
      https://github.com/jelmer/dulwich/commit/9389fcb5cb9113adfc7f207d8be86a56904db3e8
  - url: 'https://github.com/jelmer/dulwich'
  - url: 'https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.8'
tags:
  - cve.org
  - exploit-available
  - osv
  - pip
epss: 0.00155
epssPercentile: 0.04558
aliases:
  - GHSA-8w8g-wq8h-fq33
ecosystem: pip
patched:
  - dulwich 1.2.8
scores:
  cna: 7.8
  osv: 8.6
ingestedAt: '2026-10-21T01:37:08.017Z'
---

## Overview

Dulwich from 0.24.0 before 1.2.8 contains a symlink following vulnerability in porcelain.checkout(paths=[...]) that allows attackers to write arbitrary files by abusing raw os.open without O_NOFOLLOW. Attackers can craft a repository where a worktree symlink points to .git/hooks/post-checkout, so restoring the file from a tag writes a malicious hook for code execution.

## Affected

- `dulwich >= 0.24.0 < 1.2.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-114096)

Affected packages:

- `dulwich >= 0.24.0, < 1.2.8`

Patched in:

- `dulwich 1.2.8`

Source: https://osv.dev/vulnerability/GHSA-8w8g-wq8h-fq33
