<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-27T03:08:11.786256+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-114097</id>
    <title>CVE-2026-114097 — Dulwich 0.23.1 before 1.2.8 Symlink Path Traversal via filter_branch Index Filter</title>
    <updated>2026-10-27T03:08:11.787839+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> jelmer dulwich</p>
<p>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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-114097"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-5fqc-mrg8-w798</id>
    <title>GHSA-5fqc-mrg8-w798 — Dulwich: Symlink directory traversal in filter-branch index_filter via cross-commit state persistence</title>
    <updated>2026-10-27T03:08:11.787903+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: dulwich</p>
<p>## Summary</p>
<p>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, allowing a symlink from an ancestor commit to redirect file writes from a descendant commit to arbitrary filesystem locations.</p>
<p>## Root Cause</p>
<p>`_apply_index_filter()` at `dulwich/filter_branch.py:212` calls `build_index_from_tree(".", tmp_index_path, ...)` which materializes all tree entries to the current working directory. The `finally` block (line 229-230) only cleans up the temporary index file (`os.unlink(tmp_index_path)`) — NOT the filesystem files written to CWD. When `process_commit()` processes parents recursively first (line 260), files materialized from ancestor commits persist and affect processing of descendant commits.</p>
<p>On dulwich 1.2.7, `build_file_from_blob()` has no symlink protection, and `validate_path_element` only validates name patterns, not filesystem state.</p>
<p>## Impact</p>
<p>An attacker can craft a malicious repository where running `filter_branch` with an index filter writes attacker-controlled content to arbitrary filesystem locations via symlink traversal. This achieves RCE if the write targets `.git/hooks/`.</p>
<p>## Attack Scenario</p>
<p>1. Attacker creates a repository where commit history (linearized) has:
   - Ancestor commit: tree entry `evil` (mode 120000, symlink → `/target_dir`)
   - Descendant commit: tree…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-5fqc-mrg8-w798"/>
  </entry>
</feed>
