Advisory

DEBIAN-CVE-2026-12345

Also known as: CVE-2026-12345

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-09-29 18:17 UTC
Modified
2026-11-02 12:00 UTC

Affected packages and fixes

pypy3

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

pypy3

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

pypy3

Debian packages (deb) · Debian 14

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

python3.11

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

python3.13

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

python3.14

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.14.9-1 (ecosystem)

Fixed versions

3.14.9-1

Fix

  • Fixed version 3.14.9-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.15

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.15.0~rc3-1 (ecosystem)

Fixed versions

3.15.0~rc3-1

Fix

  • Fixed version 3.15.0~rc3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences