Source: pypy3
X-Debbugs-CC: [email protected]
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.

Reply via email to