<?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>Mon, 28 Sep 2026 19:00:34 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-24049 — wheel Allows Arbitrary File Permission Modification via Path Traversal</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-24049</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pypa wheel, Red Hat Discovery 2 for RHEL 10, Red Hat Discovery 2 for RHEL 8, Red Hat Discovery 2 for RHEL 9, Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8 and 50 more&lt;/p&gt;
&lt;p&gt;wheel is a command line tool for manipulating Python wheel files, as defined in PEP 427. In versions 0.40.0 through 0.46.1, the unpack function is vulnerable to file permission modification through mishandling of file permissions after extraction. The logic blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path. Attackers can craft a malicious wheel file that, when unpacked, changes the permissions of critical system files (e.g., /etc/passwd, SSH keys, config files), allowing for Privilege Escalation or arbitrary code execution by modifying now-writable scripts. This issue has been fixed in version 0.46.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pypa wheel, Red Hat Discovery 2 for RHEL 10, Red Hat Discovery 2 for RHEL 8, Red Hat Discovery 2 for RHEL 9, Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8 and 50 more&lt;/p&gt;
&lt;p&gt;wheel is a command line tool for manipulating Python wheel files, as defined in PEP 427. In versions 0.40.0 through 0.46.1, the unpack function is vulnerable to file permission modification through mishandling of file permissions after extraction. The logic blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path. Attackers can craft a malicious wheel file that, when unpacked, changes the permissions of critical system files (e.g., /etc/passwd, SSH keys, config files), allowing for Privilege Escalation or arbitrary code execution by modifying now-writable scripts. This issue has been fixed in version 0.46.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-24049</guid>
    </item>
    <item>
      <title>GHSA-8rrh-rw8j-w5fx — Wheel Affected by Arbitrary File Permission Modification via Path Traversal in wheel unpack</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-8rrh-rw8j-w5fx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: wheel&lt;/p&gt;
&lt;p&gt;### Summary
 - **Vulnerability Type:** Path Traversal (CWE-22) leading to Arbitrary File Permission Modification.  
 - **Root Cause Component:** wheel.cli.unpack.unpack function.  
 - **Affected Packages:**  
   1. wheel (Upstream source)  
   2. setuptools (Downstream, vendors wheel)  
 - **Severity:** High (Allows modifying system file permissions).&lt;/p&gt;
&lt;p&gt;### Details  
The vulnerability exists in how the unpack function handles file permissions after extraction. The code blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path.  
```
# Vulnerable Code Snippet (present in both wheel and setuptools/_vendor/wheel)
for zinfo in wf.filelist:
    wf.extract(zinfo, destination)  # (1) Extraction is handled safely by zipfile&lt;/p&gt;
&lt;p&gt;# (2) VULNERABILITY:
    # The &amp;#39;permissions&amp;#39; are applied to a path constructed using the UNSANITIZED &amp;#39;zinfo.filename&amp;#39;.
    # If zinfo.filename contains &amp;#34;../&amp;#34;, this targets files outside the destination.
    permissions = zinfo.external_attr &amp;gt;&amp;gt; 16 &amp;amp; 0o777
    destination.joinpath(zinfo.filename).chmod(permissions)
```&lt;/p&gt;
&lt;p&gt;### PoC  
I have confirmed this exploit works against the unpack function imported from setuptools._vendor.wheel.cli.unpack.&lt;/p&gt;
&lt;p&gt;**Prerequisites:** pip install setuptools&lt;/p&gt;
&lt;p&gt;**Step 1: Generate the Malicious Wheel (gen_poc.py)**  
This script creates a wheel that passes internal hash validation but contains a directory traversal payload in the file list.…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: wheel&lt;/p&gt;
&lt;p&gt;### Summary
 - **Vulnerability Type:** Path Traversal (CWE-22) leading to Arbitrary File Permission Modification.  
 - **Root Cause Component:** wheel.cli.unpack.unpack function.  
 - **Affected Packages:**  
   1. wheel (Upstream source)  
   2. setuptools (Downstream, vendors wheel)  
 - **Severity:** High (Allows modifying system file permissions).&lt;/p&gt;
&lt;p&gt;### Details  
The vulnerability exists in how the unpack function handles file permissions after extraction. The code blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path.  
```
# Vulnerable Code Snippet (present in both wheel and setuptools/_vendor/wheel)
for zinfo in wf.filelist:
    wf.extract(zinfo, destination)  # (1) Extraction is handled safely by zipfile&lt;/p&gt;
&lt;p&gt;# (2) VULNERABILITY:
    # The &amp;#39;permissions&amp;#39; are applied to a path constructed using the UNSANITIZED &amp;#39;zinfo.filename&amp;#39;.
    # If zinfo.filename contains &amp;#34;../&amp;#34;, this targets files outside the destination.
    permissions = zinfo.external_attr &amp;gt;&amp;gt; 16 &amp;amp; 0o777
    destination.joinpath(zinfo.filename).chmod(permissions)
```&lt;/p&gt;
&lt;p&gt;### PoC  
I have confirmed this exploit works against the unpack function imported from setuptools._vendor.wheel.cli.unpack.&lt;/p&gt;
&lt;p&gt;**Prerequisites:** pip install setuptools&lt;/p&gt;
&lt;p&gt;**Step 1: Generate the Malicious Wheel (gen_poc.py)**  
This script creates a wheel that passes internal hash validation but contains a directory traversal payload in the file list.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-8rrh-rw8j-w5fx</guid>
    </item>
    <item>
      <title>PYSEC-2026-2047 — Wheel Affected by Arbitrary File Permission Modification via Path Traversal in wheel unpack</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-2047</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: wheel&lt;/p&gt;
&lt;p&gt;### Summary
 - **Vulnerability Type:** Path Traversal (CWE-22) leading to Arbitrary File Permission Modification.  
 - **Root Cause Component:** wheel.cli.unpack.unpack function.  
 - **Affected Packages:**  
   1. wheel (Upstream source)  
   2. setuptools (Downstream, vendors wheel)  
 - **Severity:** High (Allows modifying system file permissions).&lt;/p&gt;
&lt;p&gt;### Details  
The vulnerability exists in how the unpack function handles file permissions after extraction. The code blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path.  
```
# Vulnerable Code Snippet (present in both wheel and setuptools/_vendor/wheel)
for zinfo in wf.filelist:
    wf.extract(zinfo, destination)  # (1) Extraction is handled safely by zipfile&lt;/p&gt;
&lt;p&gt;# (2) VULNERABILITY:
    # The &amp;#39;permissions&amp;#39; are applied to a path constructed using the UNSANITIZED &amp;#39;zinfo.filename&amp;#39;.
    # If zinfo.filename contains &amp;#34;../&amp;#34;, this targets files outside the destination.
    permissions = zinfo.external_attr &amp;gt;&amp;gt; 16 &amp;amp; 0o777
    destination.joinpath(zinfo.filename).chmod(permissions)
```&lt;/p&gt;
&lt;p&gt;### PoC  
I have confirmed this exploit works against the unpack function imported from setuptools._vendor.wheel.cli.unpack.&lt;/p&gt;
&lt;p&gt;**Prerequisites:** pip install setuptools&lt;/p&gt;
&lt;p&gt;**Step 1: Generate the Malicious Wheel (gen_poc.py)**  
This script creates a wheel that passes internal hash validation but contains a directory traversal payload in the file list.…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: wheel&lt;/p&gt;
&lt;p&gt;### Summary
 - **Vulnerability Type:** Path Traversal (CWE-22) leading to Arbitrary File Permission Modification.  
 - **Root Cause Component:** wheel.cli.unpack.unpack function.  
 - **Affected Packages:**  
   1. wheel (Upstream source)  
   2. setuptools (Downstream, vendors wheel)  
 - **Severity:** High (Allows modifying system file permissions).&lt;/p&gt;
&lt;p&gt;### Details  
The vulnerability exists in how the unpack function handles file permissions after extraction. The code blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path.  
```
# Vulnerable Code Snippet (present in both wheel and setuptools/_vendor/wheel)
for zinfo in wf.filelist:
    wf.extract(zinfo, destination)  # (1) Extraction is handled safely by zipfile&lt;/p&gt;
&lt;p&gt;# (2) VULNERABILITY:
    # The &amp;#39;permissions&amp;#39; are applied to a path constructed using the UNSANITIZED &amp;#39;zinfo.filename&amp;#39;.
    # If zinfo.filename contains &amp;#34;../&amp;#34;, this targets files outside the destination.
    permissions = zinfo.external_attr &amp;gt;&amp;gt; 16 &amp;amp; 0o777
    destination.joinpath(zinfo.filename).chmod(permissions)
```&lt;/p&gt;
&lt;p&gt;### PoC  
I have confirmed this exploit works against the unpack function imported from setuptools._vendor.wheel.cli.unpack.&lt;/p&gt;
&lt;p&gt;**Prerequisites:** pip install setuptools&lt;/p&gt;
&lt;p&gt;**Step 1: Generate the Malicious Wheel (gen_poc.py)**  
This script creates a wheel that passes internal hash validation but contains a directory traversal payload in the file list.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-2047</guid>
    </item>
  </channel>
</rss>
