Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory
Assessment
- Severity
- Low
- CVSS base score
- Not published
- Impact
- Not stated
- EPSS, next 30 days
- Not scored yet
- Public exploit code
- No Nuclei template lists it
- Exploitability
- Not assessed
- Publicly disclosed
- No
- Customer action
- Required: apply the update
- Component
- Mariner
- Weakness
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
- Issued by
- PSF
- Published
- 3 Oct 2026 · September 2026
- Last revised
- 16 Oct 2026Information published.
Updates that fix it
0 KBsNo KB listed
MSRC lists no downloadable update, which usually means a service-side fix or a release-notes update. Check the MSRC advisory.
Affected products
1 affected product
- azl3 python3 3.12.14-2 on Azure Linux 3.0
What changed
First observed 14 Oct 2026- 23 Oct 2026 · 09:33:49 UTC Public exploit codeUnknown: exploit-code evidence is incomplete or retained → No Nuclei template listed
- 23 Oct 2026 · 09:33:49 UTC CISA KEVUnknown: catalog evidence is incomplete or retained → Not listed in the collected catalog
- 23 Oct 2026 · 09:33:49 UTC Source coverage: public-exploit-codeIncomplete → Current
- 23 Oct 2026 · 09:33:49 UTC Source coverage: first-epssIncomplete → Current
- 23 Oct 2026 · 09:33:49 UTC Source coverage: cisa-kevIncomplete → Current
- 23 Oct 2026 · 09:33:49 UTC Source coverage: msrc-cvrfIncomplete → Current
- 23 Oct 2026 · 08:31:50 UTC Public exploit codeNo Nuclei template listed → Unknown: exploit-code evidence is incomplete or retained
- 23 Oct 2026 · 08:31:50 UTC CISA KEVNot listed in the collected catalog → Unknown: catalog evidence is incomplete or retained
- 23 Oct 2026 · 08:31:50 UTC Source coverage: public-exploit-codeCurrent → Incomplete
- 23 Oct 2026 · 08:31:50 UTC Source coverage: first-epssCurrent → Incomplete
- 23 Oct 2026 · 08:31:50 UTC Source coverage: cisa-kevCurrent → Incomplete
- 23 Oct 2026 · 08:31:50 UTC Source coverage: msrc-cvrfCurrent → Incomplete
Show 5 more recent changes
- 18 Oct 2026 · 14:54:30 UTCLink: September 2026 → /security?release=2026-Sep#cves
- 16 Oct 2026 · 07:41:54 UTCLast revised 6 Oct 2026 03:52 UTC → 16 Oct 2026 01:49 UTC
- 16 Oct 2026 · 07:41:54 UTCAffected products azl3 python3 3.12.14-2 on Azure Linux 3.0, azl3 tensorflow 2.16.1-11 on Azure Linux 3.0 → azl3 python3 3.12.14-2 on Azure Linux 3.0
- 16 Oct 2026 · 07:41:54 UTCSeverity Moderate → Low
- 14 Oct 2026 · 11:22:42 UTCSource coverage: msrc-cvrf Incomplete → Current
The most recent 100 field changes are listed. Complete recorded revisions are kept separately.
Cite this recorded revision to keep the same title, summary, facts and links when the page changes.
A day selects the latest observation by the end of that UTC day; today's selection can change until midnight. History starts when this installation records it.
Explore global source statements, affected packages and advisory history for CVE-2026-12345. The catalog has a separate collection scope from Microsoft release records.
Collected exploitation and prediction evidence
Risk source coverageCISA KEV is observed exploitation evidence. FIRST EPSS is a dated prediction of exploitation in the next 30 days. Missing scores are unknown. This collector requests predictions only for explicit CVE aliases in the public NuGet archive; Microsoft release views retain their existing prediction scope.
No collected risk observation for these identifiers. This does not establish absence of exploitation or a zero probability.
cve-program · CVE-2026-12345
PublishedRace 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.
- Source published
- 29 Sep 2026 17:46:01 UTC
- Source modified
- 26 Oct 2026 00:36:23 UTC
- Observed here
- 26 Oct 2026 02:35:10 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 4.0 · 5.9 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