<?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-30T01:07:02.115909+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-73619</id>
    <title>CVE-2026-73619 — GitPython before 3.1.57 Arbitrary File Read via Repo.archive()</title>
    <updated>2026-09-30T01:07:04.986804+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> gitpython-developers GitPython</p>
<p>GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-73619"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-539m-9xh6-q6rr</id>
    <title>GHSA-539m-9xh6-q6rr — GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary fil…</title>
    <updated>2026-09-30T01:07:04.986981+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: GitPython</p>
<p>**Target:** gitpython-developers/GitPython
**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`</p>
<p>## Summary</p>
<p>`Repo.archive()` does call the option guard, so this is not a missing-guard report. The guard is present and working; the **denylist it consults is incomplete**.</p>
<p>```python
# git/repo/base.py:169
unsafe_git_archive_options = [
    # Allows arbitrary command execution through the remote git-upload-archive command.
    "--exec",
    # Writes output to a caller-controlled filesystem path.
    "--output",
    "-o",
]
```</p>
<p>The comment on `--output` states the protected class in the project's own words: an option that lets the caller name **a filesystem path** is unsafe. `--output` is blocked because it *writes* to a caller-chosen path.</p>
<p>`git archive` also accepts `--add-file=&lt;path&gt;` and `--add-virtual-file=&lt;path:content&gt;` (both present in current git; verified against `git version 2.50.1`). `--add-file` *reads* a caller-chosen path — including an absolute path outside the repository — and places the bytes into the archive the caller receives. Neither option is in the list, and no other layer references them:</p>
<p>```
$ grep -rniE "add.file|add_file" git/
git/index/base.py:771:   R"""Add files from the working tree, ...      # unrelated docstring
```</p>
<p>Net effect: the guard blocks arbitrary file **write** at this sink while permitting arbitrary file **read** at the same sink.</p>
<p>## Reachability proof (verified at the sink)</p>
<p>`poc/poc_addfile.py` at…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-539m-9xh6-q6rr"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-3948</id>
    <title>PYSEC-2026-3948</title>
    <updated>2026-09-30T01:07:04.987132+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: gitpython</p>
<p>GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-3948"/>
  </entry>
</feed>
