CVE-2025-12638
Last modified
CVE-2025-12638 is a high-severity vulnerability rated 8/10 on the CVSS scale. Keras version 3.11.3 is affected by a path traversal vulnerability in the keras.utils.get_file() function when extracting tar archives. The vulnerability arises because the function uses Python's tarfile.extractall() method without the security-critical filter='data' parameter. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
Description
Keras version 3.11.3 is affected by a path traversal vulnerability in the keras.utils.get_file() function when extracting tar archives. The vulnerability arises because the function uses Python's tarfile.extractall() method without the security-critical filter='data' parameter. Although Keras attempts to filter unsafe paths using filter_safe_paths(), this filtering occurs before extraction, and a PATH_MAX symlink resolution bug triggers during extraction. This bug causes symlink resolution to fail due to path length limits, resulting in a security bypass that allows files to be written outside the intended extraction directory. This can lead to arbitrary file writes outside the cache directory, enabling potential system compromise or malicious code execution. The vulnerability affects Keras installations that process tar archives with get_file() and does not affect versions where this extraction method is secured with the appropriate filter parameter.
Metrics
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-12638?
How severe is CVE-2025-12638?
How do I fix CVE-2025-12638?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12632The RandomQuotr plugin for WordPress is vulnerable to Stored…5.5
- CVE-2025-12633The Booking Calendar | Appointment Booking | Bookit plugin f…7.5
- CVE-2025-12634The Refund Request for WooCommerce plugin for WordPress is v…4.3
- CVE-2025-12635IBM WebSphere Application Server 8.5, 9.0 and IBM WebSphere …5.4
- CVE-2025-12636The Ubia camera ecosystem fails to adequately secure API cre…7.1
- CVE-2025-12637The Elastic Theme Editor plugin for WordPress is vulnerable …8.8
- CVE-2025-12639The wModes – Catalog Mode, Product Pricing, Enquiry Forms & …4.3
- CVE-2025-1264The Broken Link Checker by AIOSEO – Easily Fix/Monitor Inter…6.5
- CVE-2025-12640The Folders – Unlimited Folders to Organize Media Library Fo…4.3
- CVE-2025-12641The Awesome Support - WordPress HelpDesk & Support Plugin fo…6.5
- CVE-2025-12642lighttpd1.4.80 incorrectly merged trailer fields into header…9.1
- CVE-2025-12643The Saphali LiqPay for donate plugin for WordPress is vulner…6.4
Are you affected by CVE-2025-12638?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
