kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-12345 Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory

설명

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.

영향 받는 제품 제품 1개

  • Python Software Foundation

    CPython

    해결 버전 있음

    영향 받는 버전

    • 3.12.15 미만
    • 3.13.0 이상 3.13.18 미만
    • 3.14.0 이상 3.14.9 미만
    • 3.15.0a1 이상 3.15.0rc3 미만

    해결 버전

    • 3.12.15 이상
    • 3.13.18 이상
    • 3.14.9 이상
    • 3.15.0rc3 이상

참고 자료 10건

‹ 목록

점검 지원 범위 문의

도입 문의