Cases › security breach › LR-2026-0582
Hugging Face Transformers flaw enables remote code execution
Confirmed Why: 2 independent outlets · 2 independent reports
Developing: a major or severe case captured in the last 72 hours. Later changes are logged on the corrections page.
Status: action reported, no fix
No source states: loss or records, agent tool, could do, deployer, industry.
Hugging Face Transformers, a machine learning library, loads model configuration files and assigns their values to internal attributes. A flaw in versions 4.56.0 through 5.2.x used with the optional kernels package let a crafted config.json trigger download and import of attacker-referenced code during from_pretrained(), even with trust_remote_code disabled. The vulnerable path was introduced in August 2025 and remained exploitable until a patch in version 5.3.0 in March 2026. A security researcher at Pluto Security discovered the issue, which is tracked as CVE-2026-4372. The sources describe potential credential and environment data theft but do not report a confirmed exploitation. The fix adds a denylist for unsafe internal attributes and requires trust_remote_code=True for external kernel loading.
What happened
What was done
Risks
Read from the sources; not yet reviewed by a person.
Controls
Not yet read for controls. Controls that mitigate the primary risk:
ApplicationVulnerability scanning of AI components · Adversarial testing before deployment · Short-lived, scoped credentials · Live behaviour monitoring · AI incident response plan · Segmentation of agent components · Encryption of stored data
Infrastructure / targetKnown flaws patched · Intrusion and endpoint detection · Inventory of exposed services
Evidence
No source states: when it happened, when it was found, how many records were exposed, the direct loss, a count of the other parties affected, any court case, the cause, what set it off.
Show the full account: 2 items from the primary sources
What happened, in order
- 2025-08 Vulnerable code path introduced.
- 2026-03 Flaw patched in version 5.3.0.
Show every field, with its source and grade
The AI system
What happened
Impact
LR-2026-0582 · version 1 · published 2026-11-01 after automatic checks; not yet checked field by field by a person · JSON