Advisory record · GHSA-fgcw-684q-jj6r

huggingface/transformers: Arbitrary Code Execution During Model Initialization in the LightGlue Model Loading Path

CVSS 8.0 HighEPSS 0.0060 · 48th percentile

Published by the GitHub Advisory Database at 3 Jun 2026, 15:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
transformersPyPI<5.5.05.5.0
Identifiers
GHSA-fgcw-684q-jj6r · CVE-2026-5241 · PYSEC-2026-2290
Weakness (CWE)
CWE-829
Published
3 Jun 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the transformers package before 5.5.0 are affected. In the LightGlue model loading path, an attacker who controls a model repository can get arbitrary code to run during model initialization, even when the user loads the model with trust_remote_code set to False. The victim only needs to load the attacker's model. Upgrade to transformers 5.5.0 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.0 High 3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0060, the 48th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.