CVE-2026-5241
2 advisories.
PyPI/transformers CVE-2026-5241: high 8
huggingface/transformers: Arbitrary Code Execution During Model Initialization in the LightGlue Model Loading Path
Action: Upgrade transformers to 5.5.0 or later.
pip install transformers==5.5.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 5.5.0 | - |
Fixed versions
| 5.5.0 |
Sources
- osv: GHSA-fgcw-684q-jj6r
- https://nvd.nist.gov/vuln/detail/CVE-2026-5241
- https://github.com/huggingface/transformers/commit/676559d5022b74aaa0cee1cee0842b7f27c5320e
- https://access.redhat.com/errata/RHSA-2026:34456
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/security/cve/CVE-2026-5241
- https://bugzilla.redhat.com/show_bug.cgi?id=2484384
- https://github.com/huggingface/transformers
- https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2026-2290.yaml
- https://huntr.com/bounties/ceb3ce1a-4c45-497a-b25e-cb9a7685e619
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5241.json
CVE-2026-5241 · published · modified · JSON
PyPI/transformers CVE-2026-5241: critical 9.6
A vulnerability in the LightGlue model loading path of huggingface/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitrary code during model initialization. The
Action: No fix published. Pin and monitor.
Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | - | 5.2.0 |
Fixed versions
No fixed version in the source.
Sources
- osv: PYSEC-2026-2290
- https://access.redhat.com/security/cve/CVE-2026-5241
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5241.json
- https://access.redhat.com/errata/RHSA-2026:34456
- https://access.redhat.com/errata/RHSA-2026:37275
- https://bugzilla.redhat.com/show_bug.cgi?id=2484384
- https://github.com/huggingface/transformers/commit/676559d5022b74aaa0cee1cee0842b7f27c5320e
- https://huntr.com/bounties/ceb3ce1a-4c45-497a-b25e-cb9a7685e619
- https://github.com/advisories/GHSA-fgcw-684q-jj6r
CVE-2026-5241 · published · modified · JSON