<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 05:17:32 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-73620 — GitPython before 3.1.57 Arbitrary File Overwrite and Read</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-73620</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; gitpython-developers GitPython&lt;/p&gt;
&lt;p&gt;GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; gitpython-developers GitPython&lt;/p&gt;
&lt;p&gt;GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-73620</guid>
    </item>
    <item>
      <title>GHSA-3f7w-8rr8-f37f — GitPython: Unguarded git option forwarding in IndexFile.checkout() and TagReference.create() enables arbitrary file ove…</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-3f7w-8rr8-f37f</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: GitPython&lt;/p&gt;
&lt;p&gt;**Target:** gitpython-developers/GitPython
**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`
**Reported instances:** 2 exploitable, from a sweep of 14 unguarded call sites&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;GitPython blocks dangerous git options through `Git.check_unsafe_options()`, gated per method by an `allow_unsafe_options` parameter. That guard is applied **per call site**, so any API that forwards `**kwargs` into a git command without calling it passes caller-controlled options straight to git.&lt;/p&gt;
&lt;p&gt;A mechanical sweep of every method that forwards `**kwargs` into a `.git.&amp;lt;command&amp;gt;(...)` call found **14 sites with no guard**. Two reach a git option that takes a filesystem path:&lt;/p&gt;
&lt;p&gt;| # | Call site | git option | Impact |
|---|---|---|---|
| 1 | `IndexFile.checkout()` → `git checkout-index` | `--prefix=&amp;lt;path&amp;gt;` | arbitrary file **overwrite** with repository-controlled content |
| 2 | `TagReference.create()` → `git tag` | `-F &amp;lt;file&amp;gt;` / `--file=&amp;lt;file&amp;gt;` | arbitrary file **read**, returned in-band |&lt;/p&gt;
&lt;p&gt;This is the same defect class already fixed in `Commit.count()` (GHSA-p538-c434-8v24), `Repo.archive()` and `Git.ls_remote()` (GHSA-956x-8gvw-wg5v). Both instances below are still present at HEAD.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Instance 1 — `IndexFile.checkout()`: arbitrary file overwrite&lt;/p&gt;
&lt;p&gt;`git/index/base.py:1210` accepts `**kwargs` and forwards them with no guard:&lt;/p&gt;
&lt;p&gt;```python
def checkout(self, paths=None, force=False, fprogress=lambda *args: None, **kwargs):
    ...
    proc = self.repo.git.ch…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: GitPython&lt;/p&gt;
&lt;p&gt;**Target:** gitpython-developers/GitPython
**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`
**Reported instances:** 2 exploitable, from a sweep of 14 unguarded call sites&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;GitPython blocks dangerous git options through `Git.check_unsafe_options()`, gated per method by an `allow_unsafe_options` parameter. That guard is applied **per call site**, so any API that forwards `**kwargs` into a git command without calling it passes caller-controlled options straight to git.&lt;/p&gt;
&lt;p&gt;A mechanical sweep of every method that forwards `**kwargs` into a `.git.&amp;lt;command&amp;gt;(...)` call found **14 sites with no guard**. Two reach a git option that takes a filesystem path:&lt;/p&gt;
&lt;p&gt;| # | Call site | git option | Impact |
|---|---|---|---|
| 1 | `IndexFile.checkout()` → `git checkout-index` | `--prefix=&amp;lt;path&amp;gt;` | arbitrary file **overwrite** with repository-controlled content |
| 2 | `TagReference.create()` → `git tag` | `-F &amp;lt;file&amp;gt;` / `--file=&amp;lt;file&amp;gt;` | arbitrary file **read**, returned in-band |&lt;/p&gt;
&lt;p&gt;This is the same defect class already fixed in `Commit.count()` (GHSA-p538-c434-8v24), `Repo.archive()` and `Git.ls_remote()` (GHSA-956x-8gvw-wg5v). Both instances below are still present at HEAD.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Instance 1 — `IndexFile.checkout()`: arbitrary file overwrite&lt;/p&gt;
&lt;p&gt;`git/index/base.py:1210` accepts `**kwargs` and forwards them with no guard:&lt;/p&gt;
&lt;p&gt;```python
def checkout(self, paths=None, force=False, fprogress=lambda *args: None, **kwargs):
    ...
    proc = self.repo.git.ch…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-3f7w-8rr8-f37f</guid>
    </item>
  </channel>
</rss>
