<?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>Sun, 04 Oct 2026 09:50:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-40491 — gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-40491</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; wkentaro gdown&lt;/p&gt;
&lt;p&gt;gdown is a Google Drive public file/folder downloader. Versions prior to 5.2.2 are vulnerable to a Path Traversal attack within the extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE). Version 5.2.2 contains a fix.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; wkentaro gdown&lt;/p&gt;
&lt;p&gt;gdown is a Google Drive public file/folder downloader. Versions prior to 5.2.2 are vulnerable to a Path Traversal attack within the extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE). Version 5.2.2 contains a fix.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-40491</guid>
    </item>
    <item>
      <title>GHSA-76hw-p97h-883f — gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-76hw-p97h-883f</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: gdown&lt;/p&gt;
&lt;p&gt;### Summary
The gdown library (tested on v5.2.1) is vulnerable to a Path Traversal attack within its extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE).&lt;/p&gt;
&lt;p&gt;### Details
The vulnerability exists in `gdown/extractall.py` within the `extractall()` function. The function takes an archive path and a destination directory (`to`), then calls the underlying `extractall()` method of Python&amp;#39;s `tarfile` or `zipfile` modules without validating whether the archive members stay within the `to` boundary.&lt;/p&gt;
&lt;p&gt;Vulnerable Code:
```
# gdown/extractall.py
def extractall(path, to=None):
    # ... (omitted) ...
    with opener(path, mode) as f:
        f.extractall(path=to)  # Vulnerable: No path validation or filters`
```
Even on modern Python versions (3.12+), if the `filter` parameter is not explicitly set or if the library&amp;#39;s wrapper logic bypasses modern protections, path traversal remains possible as demonstrated in the PoC.&lt;/p&gt;
&lt;p&gt;### PoC
## Steps to Reproduce&lt;/p&gt;
&lt;p&gt;1. Create the Malicious Archive (`poc.py`):
```
import tarfile
import io
import os&lt;/p&gt;
&lt;p&gt;# Create a target directory
os.makedirs(&amp;#34;./safe_target/subfolder&amp;#34;, exist_ok=True)&lt;/p&gt;
&lt;p&gt;# Generate a TAR file containing a member with path traversal
with tarfile.open(&amp;#34;evil.tar&amp;#34;, &amp;#34;w&amp;#34;) as tar:
    # Targ…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: gdown&lt;/p&gt;
&lt;p&gt;### Summary
The gdown library (tested on v5.2.1) is vulnerable to a Path Traversal attack within its extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE).&lt;/p&gt;
&lt;p&gt;### Details
The vulnerability exists in `gdown/extractall.py` within the `extractall()` function. The function takes an archive path and a destination directory (`to`), then calls the underlying `extractall()` method of Python&amp;#39;s `tarfile` or `zipfile` modules without validating whether the archive members stay within the `to` boundary.&lt;/p&gt;
&lt;p&gt;Vulnerable Code:
```
# gdown/extractall.py
def extractall(path, to=None):
    # ... (omitted) ...
    with opener(path, mode) as f:
        f.extractall(path=to)  # Vulnerable: No path validation or filters`
```
Even on modern Python versions (3.12+), if the `filter` parameter is not explicitly set or if the library&amp;#39;s wrapper logic bypasses modern protections, path traversal remains possible as demonstrated in the PoC.&lt;/p&gt;
&lt;p&gt;### PoC
## Steps to Reproduce&lt;/p&gt;
&lt;p&gt;1. Create the Malicious Archive (`poc.py`):
```
import tarfile
import io
import os&lt;/p&gt;
&lt;p&gt;# Create a target directory
os.makedirs(&amp;#34;./safe_target/subfolder&amp;#34;, exist_ok=True)&lt;/p&gt;
&lt;p&gt;# Generate a TAR file containing a member with path traversal
with tarfile.open(&amp;#34;evil.tar&amp;#34;, &amp;#34;w&amp;#34;) as tar:
    # Targ…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-76hw-p97h-883f</guid>
    </item>
    <item>
      <title>PYSEC-2026-2158</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-2158</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: gdown&lt;/p&gt;
&lt;p&gt;gdown is a Google Drive public file/folder downloader. Versions prior to 5.2.2 are vulnerable to a Path Traversal attack within the extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE). Version 5.2.2 contains a fix.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: gdown&lt;/p&gt;
&lt;p&gt;gdown is a Google Drive public file/folder downloader. Versions prior to 5.2.2 are vulnerable to a Path Traversal attack within the extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE). Version 5.2.2 contains a fix.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-2158</guid>
    </item>
  </channel>
</rss>
