🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #721

Bug#1150804: pypy3: CVE-2026-12345

#721
From: Moritz Mühlenhoff
Date: Tue, 13 Oct 2026 13:00
33 lines
2700 bytes
Source: pypy3
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for pypy3.

CVE-2026-12345[0]:
| The cleanup of tempfile.TemporaryDirectory is vulnerable to a race
| condition. An attacker who can modify the tree during cleanup can
| replace a directory with a symbolic link, causing files outside of
| the temporary directory to be deleted or have their permissions and
| file flags reset, with the privileges of the process performing the
| cleanup. Note that platforms where
| shutil.rmtree.avoids_symlink_attacks is false, remain affected, and
| file flags may still be reset outside of the tree on all platforms.

Fix in cpython:
https://github.com/python/cpython/issues/157579
https://github.com/python/cpython/pull/157580


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-12345
    https://www.cve.org/CVERecord?id=CVE-2026-12345

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <NNKgO-5gCR-21@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150804: pypy3: CVE-2026-12345
Date: Tue, 13 Oct 2026 15:00:02 +0200
Message-ID: <NNKgO-5gCR-21@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 12:57:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1150804@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, stefanor@debian.org
X-Debian-Pr-Message: report 1150804
X-Debian-Pr-Package: src:pypy3
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: pypy3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996592
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 33
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 13 Oct 2026 13:48:23 +0200
X-Original-Message-ID: <as4ah1-WlU30HIj4@pisco.westfalen.local>