<?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://cve.radiocsirt.org</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>Sat, 03 Oct 2026 11:19:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-22871 — GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-22871</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; DataDog guarddog&lt;/p&gt;
&lt;p&gt;GuardDog is a CLI tool to identify malicious PyPI packages. Prior to 2.7.1, there is a path traversal vulnerability exists in GuardDog&amp;#39;s safe_extract() function that allows malicious PyPI packages to write arbitrary files outside the intended extraction directory, leading to Arbitrary File Overwrite and Remote Code Execution on systems running GuardDog. This vulnerability is fixed in 2.7.1.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; DataDog guarddog&lt;/p&gt;
&lt;p&gt;GuardDog is a CLI tool to identify malicious PyPI packages. Prior to 2.7.1, there is a path traversal vulnerability exists in GuardDog&amp;#39;s safe_extract() function that allows malicious PyPI packages to write arbitrary files outside the intended extraction directory, leading to Arbitrary File Overwrite and Remote Code Execution on systems running GuardDog. This vulnerability is fixed in 2.7.1.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-22871</guid>
    </item>
    <item>
      <title>GHSA-xg9w-vg3g-6m68 — GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-xg9w-vg3g-6m68</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: guarddog&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A **path traversal vulnerability** exists in GuardDog&amp;#39;s `safe_extract()` function that allows malicious PyPI packages to write arbitrary files outside the intended extraction directory, leading to **Arbitrary File Overwrite** and **Remote Code Execution** on systems running GuardDog.&lt;/p&gt;
&lt;p&gt;**CWE:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;### Vulnerable Code&lt;/p&gt;
&lt;p&gt;**File:** `guarddog/utils/archives.py`&lt;/p&gt;
&lt;p&gt;```python
elif zipfile.is_zipfile(source_archive):
    with zipfile.ZipFile(source_archive, &amp;#34;r&amp;#34;) as zip:
        for file in zip.namelist():
            # Note: zip.extract cleans up any malicious file name
            # such as directory traversal attempts This is not the
            # case of zipfile.extractall
            zip.extract(file, path=os.path.join(target_directory, file))  # ❌ VULNERABLE
```&lt;/p&gt;
&lt;p&gt;### Root Cause&lt;/p&gt;
&lt;p&gt;The comment about `zip.extract()` fooled me at first :) then I noticed the `os.path.join()` call. 
The vulnerability stems from **incorrect usage of Python&amp;#39;s `zipfile.ZipFile.extract()` API**:&lt;/p&gt;
&lt;p&gt;- The `path` parameter should be the **target directory**, not a full file path
- `extract()` automatically appends the member name to the path
- By passing `os.path.join(target_directory, file)`, GuardDog causes the filename to be appended **twice**
- This breaks zipfile&amp;#39;s built-in path traversal sanitization&lt;/p&gt;
&lt;p&gt;### Attack Vector&lt;/p&gt;
&lt;p&gt;1. Attacker creates malicious wheel with path traversal filenames
2. Uploads to PyPI or distribute…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: guarddog&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A **path traversal vulnerability** exists in GuardDog&amp;#39;s `safe_extract()` function that allows malicious PyPI packages to write arbitrary files outside the intended extraction directory, leading to **Arbitrary File Overwrite** and **Remote Code Execution** on systems running GuardDog.&lt;/p&gt;
&lt;p&gt;**CWE:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;### Vulnerable Code&lt;/p&gt;
&lt;p&gt;**File:** `guarddog/utils/archives.py`&lt;/p&gt;
&lt;p&gt;```python
elif zipfile.is_zipfile(source_archive):
    with zipfile.ZipFile(source_archive, &amp;#34;r&amp;#34;) as zip:
        for file in zip.namelist():
            # Note: zip.extract cleans up any malicious file name
            # such as directory traversal attempts This is not the
            # case of zipfile.extractall
            zip.extract(file, path=os.path.join(target_directory, file))  # ❌ VULNERABLE
```&lt;/p&gt;
&lt;p&gt;### Root Cause&lt;/p&gt;
&lt;p&gt;The comment about `zip.extract()` fooled me at first :) then I noticed the `os.path.join()` call. 
The vulnerability stems from **incorrect usage of Python&amp;#39;s `zipfile.ZipFile.extract()` API**:&lt;/p&gt;
&lt;p&gt;- The `path` parameter should be the **target directory**, not a full file path
- `extract()` automatically appends the member name to the path
- By passing `os.path.join(target_directory, file)`, GuardDog causes the filename to be appended **twice**
- This breaks zipfile&amp;#39;s built-in path traversal sanitization&lt;/p&gt;
&lt;p&gt;### Attack Vector&lt;/p&gt;
&lt;p&gt;1. Attacker creates malicious wheel with path traversal filenames
2. Uploads to PyPI or distribute…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-xg9w-vg3g-6m68</guid>
    </item>
  </channel>
</rss>
