{"schemaVersion":3,"id":"CVE-2025-1550","aliases":["GHSA-48g7-3x6r-xfhp","PYSEC-2025-122","UBUNTU-CVE-2025-1550","CGA-fg2h-9w95-fv4f"],"status":"published","duplicateOf":null,"title":null,"description":"The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.","dates":{"published":"2025-03-11T08:12:34.974Z","modified":"2025-07-24T15:28:42.230Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02626,"percentile":0.85246,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02626},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02626,"percentile":0.85246}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02626,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02626,"percentile":0.85246}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_ABA57441B3FAB8B0","name":"Exploit Reference (towerofhanoi.it)","source":"reference","url":"https://towerofhanoi.it/writeups/cve-2025-1550/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"52359","name":"Keras 2.15 - Remote Code Execution (RCE)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/52359","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":["python"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"remote","platform":"python","file":"exploits/python/remote/52359.py","codes":["CVE-2025-1550"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"chainguard","product":"kubeflow-pipelines-visualization-server","name":"kubeflow-pipelines-visualization-server","label":"kubeflow-pipelines-visualization-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-pipelines-visualization-server","purlType":"apk","versions":[{"text":"< 2.4.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-pipelines-visualization-server","name":"kubeflow-pipelines-visualization-server","label":"kubeflow-pipelines-visualization-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-pipelines-visualization-server","purlType":"apk","versions":[{"text":"< 2.4.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-r2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"keras","name":"keras","label":"keras","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/keras","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"google","product":"keras","name":"Keras","label":"keras","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.8.0","eol":null,"hubHref":"/vendor/google/keras"},{"vendor":"keras","product":"keras","name":"keras","label":"keras","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.8.0","eol":null,"hubHref":"/vendor/keras/keras"},{"vendor":"PyPI","product":"keras","name":"keras","label":"keras","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/keras","purlType":"pypi","versions":[{"text":"≥ 3.0.0, < 3.9.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.9.0 | ≥ 3.0.0, < 3.8.0","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/keras-team/keras/pull/20751","label":"github.com/keras-team/keras/pull/20751","hostname":"github.com","tags":["WEB","FIX","REPORT","Issue Tracking","Patch"]},{"url":"https://towerofhanoi.it/writeups/cve-2025-1550/","label":"towerofhanoi.it/writeups/cve-2025-1550/","hostname":"towerofhanoi.it","tags":["EVIDENCE","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/keras-team/keras/security/advisories/GHSA-48g7-3x6r-xfhp","label":"github.com/keras-team/keras/security/advisories/GHSA-48g7-3x6r-xfhp","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1550","label":"nvd.nist.gov/vuln/detail/CVE-2025-1550","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/keras-team/keras/commit/e67ac8ffd0c883bec68eb65bb52340c7f9d3a903","label":"github.com/keras-team/keras/commit/e67ac8ffd0c883bec68eb65bb52340c7f9d3a903","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keras-team/keras","label":"github.com/keras-team/keras","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/keras-team/keras/releases/tag/v3.9.0","label":"github.com/keras-team/keras/releases/tag/v3.9.0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-122.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-122.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://towerofhanoi.it/writeups/cve-2025-1550","label":"towerofhanoi.it/writeups/cve-2025-1550","hostname":"towerofhanoi.it","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-48g7-3x6r-xfhp","label":"github.com/advisories/GHSA-48g7-3x6r-xfhp","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-1550","label":"ubuntu.com/security/CVE-2025-1550","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-1550","label":"www.cve.org/CVERecord?id=CVE-2025-1550","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1550.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1550.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/keras","label":"pypi.org/project/keras","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2458-6GMP-VH99","CGA-2R6G-G7W9-5639"]},"timeline":[{"kind":"published","date":"2025-03-11T08:12:34.974Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-24T15:28:42.230Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:40:47.489Z","stale":false,"partial":false}}