MediumNews
Hugging Face Transformers RCE flaw enables stealthy compromise via AI model configs
- Published
- Record updated
Summary
A high severity flaw in Hugging Face Transformers, tracked as CVE-2026-4372, enables remote code execution through a model configuration file. Attackers add an underscore-prefixed field named _attn_implementation_internal to a remote config.json, which bypasses the trust_remote_code=false protection. The flaw affects versions released since 4.56.0 and is silently fixed in 5.3.0, released March 3.
Mitigation
Fixed in Transformers 5.3.0.
Related items
- MediumThe Agent That Robbed Itself: an AI-Driven Hugging Face Malware Campaign Leaks Its Own OperatorSame vendor · JFrog Security Research (Posts)
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Same vendor · NVD/CVE Database
- InfoRemember the frontier AI pause? Chip companies don’t eitherSame vendor · The Verge (AI)
- MediumResearchers hijack Hugging Face account for popular Kokoro AI modelSame vendor · BleepingComputer
- InfoCalifornia sues OpenAI over safety concerns after rogue agent hackingSame vendor · The Guardian Technology