DirectorySecurity AdvisoriesPricing
Sign in
Security Advisories

CGA-5c22-474v-68fg

Package

py3.10-transformers-4.51

Component

transformers

Latest update

Not affected

Aliases

Severity

7.7

High

CVSS V3

Eliminate CVEs with Chainguard hardened images

Build, ship, and run secure software with minimal, hardened container images — rebuilt from source daily and guarded under our industry-leading remediation SLA.

Start for free

References

  • https://nvd.nist.gov/vuln/detail/CVE-2026-5241

Updates

Status

Not affected

Justification

Vulnerable code not present

Impact

CVE-2026-5241 (GHSA-fgcw-684q-jj6r, HIGH) is an arbitrary-code-execution flaw in the LightGlue model loading path of huggingface/transformers: LightGlueConfig reads the trust_remote_code value from an untrusted config.json and propagates it into a nested AutoConfig.from_pretrained() call, bypassing an explicit trust_remote_code=False. The vulnerable code resides entirely within the LightGlue model (src/transformers/models/lightglue/).

This package builds transformers 4.51.3, which predates the LightGlue model. LightGlue was first added to transformers in release 4.53.0 (upstream commit e5a9ce48f711, 2025-06-17); transformers 4.51.3 was released 2025-04-14. The LightGlue module is not present anywhere in the transformers 4.51.3 source tree, so the vulnerable code is not included in this package build. The upstream advisory's affected range (< 5.5.0) is broader than the set of versions that actually contain the vulnerable LightGlue code.

This package is therefore not affected by CVE-2026-5241. The flaw was fixed upstream in transformers 5.5.0 (commit 676559d).

References:

Status

Under investigation


The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.