Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2026-12345

Опубликовано: 29 сент. 2026
Источник: debian
EPSS Низкий

Описание

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.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
python3.15fixed3.15.0~rc3-1package
python3.14fixed3.14.9-1package
python3.13fixed3.13.18-1package
python3.13no-dsatrixiepackage
python3.11removedpackage
python3.11postponedbookwormpackage
pypy3unfixedpackage
pypy3no-dsatrixiepackage
pypy3postponedbookwormpackage

Примечания

  • https://github.com/python/cpython/issues/157579

  • https://github.com/python/cpython/pull/157580

  • https://github.com/python/cpython/commit/06ef3d43fdaf4da97af12fa694b4886092c4b970 (v3.15.0rc3)

  • https://github.com/python/cpython/commit/58ed0259cae509a19138795df302fe60b544dc74 (v3.14.9)

  • https://github.com/python/cpython/commit/0478b52788117db4b831b3efd648f56b777628aa (v3.13.18)

EPSS

Процентиль: 28%
0.00344
Низкий

Связанные уязвимости

ubuntu
около 2 месяцев назад

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.

CVSS3: 6.3
redhat
около 2 месяцев назад

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.

nvd
около 2 месяцев назад

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.

msrc
около 1 месяца назад

Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory

rocky
6 дней назад

Moderate: python3.12 security, bug fix, and enhancement update

EPSS

Процентиль: 28%
0.00344
Низкий