<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T06:47:45.563642+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2026-73624</id>
    <title>CVE-2026-73624 — GitPython before 3.1.54 Arbitrary File Overwrite via diff</title>
    <updated>2026-09-29T06:47:45.732314+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> gitpython-developers GitPython</p>
<p>GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-73624"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-fjr4-x663-mwxc</id>
    <title>GHSA-fjr4-x663-mwxc — GitPython: Arbitrary file overwrite via git diff --output argument injection in Diffable.diff (key- and value-controlle…</title>
    <updated>2026-09-29T06:47:45.732567+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: GitPython</p>
<p>## Summary
`Diffable.diff()` forwards `**kwargs` straight into `diff`/`diff_tree` with **no** `check_unsafe_options` guard. `Diffable` is mixed into `Commit`, `Tree`, `IndexFile`, and `Submodule`, giving a broad surface. `git diff --output=&lt;path&gt;` writes real patch content to an attacker-chosen path, enabling arbitrary file overwrite.</p>
<p>## Root Cause
`diff.py:188-283` builds and runs the diff command with no `check_unsafe_options` anywhere in the method (grep-confirmed). Additionally `diff.py:265` does `args.insert(0, other)`, placing the caller-supplied `other` ref BEFORE the `--` separator, so a value of `--output=/path` is parsed by git as an option — a value-only control path requiring no kwarg key.</p>
<p>## Impact
Overwrite/corrupt any file at process privilege with attacker-chosen path (e.g. `~/.ssh/authorized_keys`, configs, lockfiles). Content is real diff/patch bytes (attacker-influenced). Per the skill's rule, controlling WHICH file is overwritten = I:H regardless of content constraints.</p>
<p>## Proof of Concept
```python
# Key-control:
commit.diff(other_commit, output='/home/app/.ssh/authorized_keys')   # victim overwritten with diff (105 bytes verified)
# Value-control (attacker controls only the ref string):
commit.diff(other='--output=/home/app/.ssh/authorized_keys')          # 14-byte victim -&gt; 146 bytes of diff-tree output
```</p>
<p>## Attack Chain
1. Entry (value-control): `commit.diff(other=&lt;user ref&gt;)` with `other = "--output=/home/app/.ssh/authorized_keys"`. Guard: none…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-fjr4-x663-mwxc"/>
  </entry>
</feed>
