CVE-2024-3660: Arbitrary code injection vulnerability in Keras framework < 2.13

Published Apr 16, 2024
·
Updated

A arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the application using a model that allow arbitrary code irrespective of the application.

Other sources

Arbitrary code injection vulnerability in Keras framework < 2.13

— Microsoft

Affected Software

8 affected componentsFixes available
pip/keras<2.13.1rc0
2.13.1rc0
Keras Keras<2.13.1
Microsoft cbl2 keras 2.11.0-3
Microsoft cbl2 tensorflow 2.11.1-2
debian/keras*
debian/keras
ubuntu/keras*
ubuntu/keras*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/keras to a version that resolves this vulnerability.

    Fixed in 2.13.1rc0

Event History

Apr 16, 2024
CVE Published
via MITRE·08:09 PM
Data Sourced
via MITRE·08:09 PM
DescriptionWeakness
Data Sourced
via OSV·08:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
Description
Advisory Published
via GitHub·09:31 PM
Data Sourced
via GitHub·09:31 PM
DescriptionSeverityWeaknessAffected Software
Aug 1, 2024
Data Sourced
via NVD·01:56 PM
Severity
Aug 2, 2024
Advisory Published
via GitHub·04:07 PM
Jan 26, 2025
News Published
via The Hacker News·10:15 AM
Apr 7, 2025
News Published
via The Hacker News·11:25 AM
Aug 15, 2025
Exploit Published
via GitHub·07:02 PM
Sep 3, 2025
Data Sourced
via Microsoft·10:31 PM
DescriptionSeverityWeaknessAffected Software
Sep 23, 2025
Data Sourced
via NVD·01:35 AM
WeaknessAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM
Data Sourced
via OSV·02:54 PM
Affected Software
Dec 1, 2026
Updated
via MITRE·12:58 AM
Weakness
Updated
via NVD·01:17 AM
Weakness

Frequently Asked Questions

1

What is the severity of CVE-2024-3660?

CVE-2024-3660 is considered a critical vulnerability due to the potential for arbitrary code execution.

2

How can I fix CVE-2024-3660?

To fix CVE-2024-3660, upgrade TensorFlow's Keras framework to version 2.13.1rc0 or later.

3

Who is affected by CVE-2024-3660?

CVE-2024-3660 affects users of TensorFlow's Keras framework versions before 2.13.1rc0.

4

What type of vulnerability is CVE-2024-3660?

CVE-2024-3660 is an arbitrary code injection vulnerability.

5

What could an attacker do with CVE-2024-3660?

An attacker could execute arbitrary code with the same permissions as the application using the vulnerable Keras model.

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