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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
26 Oct 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
10 Oct 2026, 01:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
03 Oct 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
30 Sep 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
29 Sep 2026, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
29 Sep 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-59 |
29 Sep 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-29 18:17
Updated : 2026-10-26 01:17
NVD link : CVE-2026-12345
Mitre link : CVE-2026-12345
CVE.ORG link : CVE-2026-12345
JSON object : View
Products Affected
No product.
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
