CVE-2026-12345 affecting package tensorflow 2.16.1-11
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.
- Products
- tensorflow
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-12345
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:05 UTC · Revision 1
Source evidence
CVE-2026-12345 affecting package tensorflow 2.16.1-11
core-osv · Original sourcePublished 29 Sept 2026, 18:17 UTC
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.
osv:AZL-105912
tensorflow
Fixed versions: Not specified
Complete source record
{
"id": "3e2a081df2cc5299df86e77de6cbef51aafc7fdd3bcf11fa67bdc86955d06528",
"url": "https://osv.dev/vulnerability/AZL-105912",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-12345 affecting package tensorflow 2.16.1-11",
"summary": "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.",
"evidence": "osv:AZL-105912",
"products": [
{
"name": {
"value": "tensorflow",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "AZL-105912",
"aliases": [
"AZL-105912"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.16.1-11"
}
]
}
],
"package": {
"name": "tensorflow",
"purl": "pkg:rpm/azure-linux/tensorflow",
"ecosystem": "Azure Linux:3"
},
"database_specific": {
"source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-105912.json"
}
}
],
"modified": "2026-10-15T05:37:09Z",
"provider": "osv",
"upstream": [
"CVE-2026-12345"
],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2026-12345"
]
},
"related_cves": [
{
"value": "CVE-2026-12345",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 321400,
"published_at": "2026-09-29T18:17:14+00:00"
}