{"data":{"id":"e1c0c7af-23cd-48d2-a55d-31136751220f","title":"GHSA-29pf-2h5f-8g72: HuggingFace transformers vulnerable to remote code execution","summary":"All versions of the HuggingFace transformers library before 5.3.0 contain a critical remote code execution flaw. A malicious config.json whose _attn_implementation_internal field points to an attacker-controlled Hub repository ID causes the library, when loaded via AutoModelForCausalLM.from_pretrained(), to download and run arbitrary Python code with the victim's full OS privileges. The flaw bypasses the trust_remote_code safeguard and requires no action beyond the standard documented usage.","solution":"Fixed in 5.3.0. Users are advised to upgrade to version 5.3.0 or later.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-29pf-2h5f-8g72","publishedAt":"2026-05-26T13:30:33.000Z","cveId":"CVE-2026-4372","cweIds":["CWE-502","CWE-1066"],"cvssScore":"7.8","cvssSeverity":"high","severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["transformers@< 5.3.0 (fixed: 5.3.0)"],"affectedPackageNames":["transformers"],"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["HuggingFace transformers"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"local","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00599,"epssCheckedAt":"2026-10-10T04:57:24.002Z","kevDateAdded":null,"advisoryAliases":["GHSA-29pf-2h5f-8g72"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-05-26T13:30:33.000Z","capecIds":["CAPEC-586"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":["AML.T0010"]}}