CVE-2026-12482: Path Traversal via Symlink Name Validation Bypass in keras-team/keras

Published Jul 14, 2026
·
Updated

A vulnerability in keras-team/keras version 3.12.0 allows an attacker to craft a malicious tar archive that bypasses the filtersafetarinfos validation in keras/src/utils/fileutils.py. Specifically, symlink entries are not subjected to the same ispathindir validation as regular file entries, allowing symlinks to be created outside the intended extraction directory. This can lead to symlink-based file read, file overwrite, or directory escape attacks. The issue is particularly impactful on Python 3.10 and 3.11, where filtersafetarinfos is the sole defense against tar path traversal. This vulnerability is distinct from CVE-2025-12060 and other previously reported issues.

Affected Software

1 affected component
keras-team Keras=3.12.0

Event History

Jul 14, 2026
CVE Published
via MITRE·05:13 AM
Data Sourced
via MITRE·05:13 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12482?

The severity of CVE-2026-12482 is classified as low with a score of 3.1.

2

What kind of attack does CVE-2026-12482 facilitate?

CVE-2026-12482 facilitates path traversal attacks via a symlink name validation bypass.

3

Which version of Keras is affected by CVE-2026-12482?

CVE-2026-12482 affects Keras version 3.12.0.

4

How can I mitigate the risk of CVE-2026-12482?

Mitigation for CVE-2026-12482 involves upgrading to a patched version of Keras that addresses the vulnerability.

5

What should I do if I am using Keras and CVE-2026-12482 is reported?

If CVE-2026-12482 is reported, you should promptly update your Keras installation to the latest version to ensure protection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203