DEBIAN-CVE-2026-12345

Source
https://security-tracker.debian.org/tracker/CVE-2026-12345
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-12345
Upstream
  • CVE-2026-12345
Published
2026-09-29T18:17:14Z
Modified
2026-09-30T07:00:57Z
Severity
  • 5.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:12
pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.11+dfsg-2
7.3.11+dfsg-2+deb12u1
7.3.11+dfsg-2+deb12u2
7.3.11+dfsg-2+deb12u3
7.3.12~rc1+dfsg-1
7.3.12~rc2+dfsg-1
7.3.12+dfsg-1
7.3.13+dfsg-1
7.3.14+dfsg-1
7.3.15+dfsg-1
7.3.16+dfsg-1
7.3.16+dfsg-2
7.3.17+dfsg-1
7.3.17+dfsg-2
7.3.17+dfsg-3
7.3.18+dfsg-1
7.3.18+dfsg-2
7.3.19+dfsg-1
7.3.19+dfsg-2
7.3.20+dfsg-1
7.3.20+dfsg-2
7.3.20+dfsg-3
7.3.20+dfsg-4
7.3.21+dfsg-1
7.3.21+dfsg-2
7.3.21+dfsg-3
7.3.21+dfsg-4
7.3.22+dfsg-1
7.3.23+dfsg-1
7.3.23+dfsg-2
8.*
8.0.0+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
python3.11

Package

Name
python3.11
Purl
pkg:deb/debian/python3.11?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.11.2-6
3.11.2-6+deb12u1
3.11.2-6+deb12u2
3.11.2-6+deb12u3
3.11.2-6+deb12u4
3.11.2-6+deb12u5
3.11.2-6+deb12u6
3.11.2-6+deb12u7
3.11.2-6+deb12u8
3.11.3-1
3.11.3-2
3.11.4-1
3.11.5-1
3.11.5-2
3.11.5-3
3.11.6-1
3.11.6-2
3.11.6-3~hurd.2
3.11.6-3
3.11.7-1
3.11.7-2
3.11.8-1
3.11.8-1.1~exp1
3.11.8-1.1~exp2
3.11.8-2
3.11.8-3
3.11.8-3+hurd.1
3.11.9-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
Debian:13
pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.19+dfsg-2
7.3.20+dfsg-1
7.3.20+dfsg-2
7.3.20+dfsg-3
7.3.20+dfsg-4
7.3.21+dfsg-1
7.3.21+dfsg-2
7.3.21+dfsg-3
7.3.21+dfsg-4
7.3.22+dfsg-1
7.3.23+dfsg-1
7.3.23+dfsg-2
8.*
8.0.0+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
python3.13

Package

Name
python3.13
Purl
pkg:deb/debian/python3.13?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.13.5-2
3.13.5-2+deb13u1
3.13.5-2+deb13u2
3.13.5-2+deb13u3
3.13.5-2+deb13u4
3.13.5-2+deb13u5
3.13.6-1
3.13.7-1
3.13.8-1
3.13.9-1
3.13.11-1
3.13.12-1
3.13.14-1
3.13.15-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
Debian:14
pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.19+dfsg-2
7.3.20+dfsg-1
7.3.20+dfsg-2
7.3.20+dfsg-3
7.3.20+dfsg-4
7.3.21+dfsg-1
7.3.21+dfsg-2
7.3.21+dfsg-3
7.3.21+dfsg-4
7.3.22+dfsg-1
7.3.23+dfsg-1
7.3.23+dfsg-2
8.*
8.0.0+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
python3.13

Package

Name
python3.13
Purl
pkg:deb/debian/python3.13?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.13.5-2
3.13.6-1
3.13.7-1
3.13.8-1
3.13.9-1
3.13.11-1
3.13.12-1
3.13.14-1
3.13.15-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
python3.14

Package

Name
python3.14
Purl
pkg:deb/debian/python3.14?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.14.0~a7-1
3.14.0~b1-1
3.14.0~b2-1
3.14.0~b3-1
3.14.0~b4-1
3.14.0~rc1-1
3.14.0~rc2-1
3.14.0~rc3-1
3.14.0-1
3.14.0-2
3.14.0-3
3.14.0-4
3.14.0-5
3.14.2-1
3.14.3-1
3.14.3-2
3.14.3-3
3.14.3-4
3.14.3-5
3.14.4-1
3.14.4-2
3.14.5~rc1-1
3.14.5-1
3.14.6-1
3.14.7-1
3.14.7-2
3.14.7-3
3.14.7-4
3.14.7-5

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"
python3.15

Package

Name
python3.15
Purl
pkg:deb/debian/python3.15?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.15.0~a8-1
3.15.0~a8-2
3.15.0~b1-1
3.15.0~b1-2
3.15.0~b1-3
3.15.0~b2-1
3.15.0~b3-1
3.15.0~b4-1
3.15.0~rc1-1
3.15.0~rc2-1
3.15.0~rc2-2
3.15.0~rc2-3

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12345.json"