{"id":"CVE-2024-11394","published":"2024-11-22T21:23:49Z","modified":"2024-12-04T21:13:16Z","title":"Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability","vendor":"Hugging Face","product":"Transformers","tier":"tail","description":{"text":"Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the handling of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25012.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.036,"percentile":0.90217,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1515/","tags":["x_research-advisory"]}],"priority":{"score":29.2,"factors":[{"name":"EPSS percentile","points":18.04},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-12-07","earliestUrl":"https://github.com/Piyush-Bhor/CVE-2024-11394","repos":[{"name":"Piyush-Bhor/CVE-2024-11394","url":"https://github.com/Piyush-Bhor/CVE-2024-11394","stars":0,"created":"2024-12-07"}]},"first":{"date":"2024-12-07","source":"PoC-in-GitHub","url":"https://github.com/Piyush-Bhor/CVE-2024-11394"},"provenance":"source"},"vendorSlug":"hugging-face","affectedVersions":[{"vendor":"Hugging Face","product":"Transformers","versions":["026a173a64372e9602a16523b8fae9de4b0ff428"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-11-26T15:15:03.102836Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"transformers","vulnerableRanges":["<4.48.0"],"patched":["4.48.0"],"from":["GHSA-hxxf-235m-72v3","PYSEC-2024-229"],"provenance":"source"}],"summary":{"text":"The Transformers library from Hugging Face has a deserialization flaw in how it handles model files, caused by missing validation of user-supplied data in the Trax model handling. A remote attacker who can get a user to visit a malicious page or open a malicious file can execute arbitrary code in the context of that user, with no authentication required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:37Z"},"euvd":{"id":"EUVD-2024-34103","exploited":false,"provenance":"source"}}