{"id":"CVE-2024-3660","aliases":["CVE-2024-3660","GHSA-x4wf-678h-2pmq","PYSEC-2026-369"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary code injection vulnerability in Keras framework < 2.13","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de inyección de código arbitrario en el framework Keras de TensorFlow (&lt;2.13) permite a los atacantes ejecutar código arbitrario con los mismos permisos que la aplicación utilizando un modelo que permite código arbitrario independientemente de la aplicación.","source":"nvd"}],"published":"2024-04-16T20:09:26.220Z","modified":"2026-12-01T00:58:21.035Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-94","CWE-502"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2.13","status":"affected"}],"vendor":"tensorflow","product":"keras","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.13","status":"affected"}],"vendor":"tensorflow","product":"tensorflow","cpe":"cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.13.1rc0"}],"ecosystem":"PyPI","package":"keras","purl":"pkg:pypi/keras","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.13.1"}],"vendor":"keras","product":"keras","cpe":"cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.13.1rc0"}],"ecosystem":"PyPI","package":"keras","purl":"pkg:pypi/keras","source":"pysec"}],"references":[{"url":"https://kb.cert.org/vuls/id/253266","tags":["third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.kb.cert.org/vuls/id/253266","tags":["third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3660","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/keras-team/keras","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/keras-team/keras/compare/r2.12...r2.13","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/keras","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-x4wf-678h-2pmq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-07-29T19:29:38.766Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-3660","url":"https://www.cve.org/CVERecord?id=CVE-2024-3660","licence":"CVE Terms of Use","modified":"2026-12-01T00:58:21.035Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x4wf-678h-2pmq","url":"https://github.com/advisories/GHSA-x4wf-678h-2pmq","licence":"CC-BY-4.0","modified":"2026-06-29T12:26:45.319Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-3660","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3660","licence":"Public domain","modified":"2026-06-17T07:44:45.607Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-369","url":"https://osv.dev/vulnerability/PYSEC-2026-369","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:55.083Z"}],"updatedAt":"2026-12-01T01:17:22.853Z","epss":{"score":0.01745,"percentile":0.78456,"date":"2026-12-01T12:00:22.000Z"}}