{"data":{"id":"2a7e7b6e-f87a-47c1-8c1b-7e6dca20e339","title":"CVE-2025-12060: The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is vulnerable to a path…","summary":"The keras.utils.get_file API in Keras, when called with extract=True on tar archives, is vulnerable to path traversal because it uses Python's tarfile.extractall without filter=\"data\". A remote attacker can supply a malicious tar archive with crafted symlinks that, when extracted, writes arbitrary files outside the intended destination folder. The flaw is linked to the underlying Python tarfile weakness CVE-2025-4517.","solution":"Upgrading Python to a version that fixes CVE-2025-4517 (e.g. Python 3.13.4) is not enough. Upgrade Keras to a version with the fix (Keras 3.12).","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-12060","publishedAt":"2025-10-30T21:15:37.520Z","cveId":"CVE-2025-12060","cweIds":["CWE-22"],"cvssScore":null,"cvssSeverity":null,"severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["keras@<= 3.11.3 (fixed: 3.12.0)"],"affectedPackageNames":["keras"],"affectedPackageRefs":["pypi:keras"],"affectedVendors":["Google"],"affectedVendorsRaw":["Keras"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Keras get_file path traversal via tar archive extraction","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00631,"epssCheckedAt":"2026-11-04T00:12:27.579Z","kevDateAdded":null,"advisoryAliases":["GHSA-hjqc-jx6g-rwp9"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:52:11.634Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2025-10-27T20:23:09.571Z","daysToFix":-3,"fixCheckedAt":"2026-10-29T21:43:17.654Z","capecIds":["CAPEC-126"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0010"],"fixes":[{"ecosystem":"pypi","name":"keras","fixedVersion":"3.12.0","matchedVersion":"3.12.0","fixReleasedAt":"2025-10-27T20:23:09.571Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:43:17.501Z"}]}}