Hugging Face Transformers RCE Flaw Poses Security Risk to AI Model Deployments
A critical remote code execution (RCE) vulnerability has been discovered in the Hugging Face Transformers library, widely used for deploying machine learning models. The flaw, identified by Pluto Security researchers, involves a malicious field in configuration files that can execute unauthorized code without user consent or warnings. This vulnerability affects all versions of the library released since August, starting with version 4.56.0, and has been silently patched in version 5.3.0. Despite the patch, vulnerable versions continue to be downloaded millions of times weekly, posing a significant security risk to enterprises and developers using the library.