CVE-2026-5241

CRITICALNVD 9.68.0
EchelonGraph scoreMEDIUM confidence

Score 8.0 from GitHub Security Advisory (severity: HIGH) published 2026-06-03. NVD baseline CVSS 9.6; sources differ by 1.6.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Elevated
9.6
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 1%CVSS: 9.6Exploit: NoneExposed: 0

A fix is available — apply it.

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 issue arises because the trust_remote_code parameter, intended to prevent remote code execution, is overridden by untrusted serialized configuration data in a nested code path. Specifically, when loading a LightGlue model using AutoModel.from_pretrained() with trust_remote_code=False, the LightGlueConfig reads the trust_remote_code value from the untrusted config.json file and propagates it into nested AutoConfig.from_pretrained() calls. This results in the execution of attacker-provided Python modules, even when the victim explicitly disables remote code execution. The vulnerability poses a high risk for environments such as API inference servers, research notebooks, CI/CD pipelines, and model evaluation workers, potentially leading to credential theft, lateral movement, or persistence/backdoor deployment.

CVSS v3
9.6
EG Score
8.0(medium)
EPSS
42.3%
KEV
Not listed

Published

June 3, 2026

Last Modified

July 22, 2026

Advisory Details (2)

Auto-updated Jun 3, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
generic

huntr - The world’s first bug bounty platform for AI/ML

https://huntr.com/bounties/ceb3ce1a-4c45-497a-b25e-cb9a7685e619
github_commit

commit 676559d5022b (huggingface/transformers)

Fix landed in huggingface/transformers commit 676559d5022b — awaiting tagged release

https://github.com/huggingface/transformers/commit/676559d5022b74aaa0cee1cee0842b7f27c5320e

Patch Availability(2)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatrhoai/odh-trustyai-nemo-guardrails-server-rhel9:17824716062026-07-09redhat
redhatrhoai/odh-training-rocm64-torch28-py312-rhel9:17821321632026-07-01redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
PyPI(1)
PackageVulnerable rangeFixed inDependents
transformers0.1 ... 5.4.0 (214 versions)5.5.0

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 10× in last 7d / 77× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 136 total refreshes for this CVE.

  1. 2026-07-22 14:08 UTCEPSS rescore
  2. 2026-07-22 14:08 UTCEPSS rescore
  3. 2026-07-21 15:25 UTCEPSS rescore
  4. 2026-07-21 15:25 UTCEPSS rescore
  5. 2026-07-20 17:08 UTCEPSS rescore
  6. 2026-07-19 14:31 UTCEPSS rescore
  7. 2026-07-19 02:29 UTCEPSS rescore
  8. 2026-07-18 10:04 UTCEPSS rescore
  9. 2026-07-16 17:03 UTCEPSS rescore
  10. 2026-07-16 00:39 UTCVendor advisory
  11. 2026-07-15 16:57 UTCEPSS rescore
  12. 2026-07-15 16:57 UTCEPSS rescore
  13. 2026-07-15 02:00 UTCEPSS rescore
  14. 2026-07-15 02:00 UTCEPSS rescore
  15. 2026-07-15 01:23 UTCNVD updateCVSS v3 → 9.6 · severity → CRITICAL
  16. 2026-07-15 00:50 UTCMITRE cvelistV5CVSS v3 → 7.7 · severity → HIGH
  17. 2026-07-14 16:36 UTCVendor advisory
  18. 2026-07-14 03:31 UTCVendor advisory
  19. 2026-07-13 22:31 UTCEPSS rescore
  20. 2026-07-13 06:13 UTCEPSS rescore
  21. 2026-07-13 06:13 UTCEPSS rescore
  22. 2026-07-12 05:46 UTCEPSS rescore
  23. 2026-07-12 01:09 UTCVendor advisory
  24. 2026-07-12 01:09 UTCGHSA enrichment
  25. 2026-07-11 12:43 UTCVendor advisory
Show 75 more
  1. 2026-07-11 12:43 UTCGHSA enrichment
  2. 2026-07-11 08:27 UTCEPSS rescore
  3. 2026-07-11 08:27 UTCEPSS rescore
  4. 2026-07-10 12:26 UTCNVD updateCVSS v3 → 9.6 · severity → CRITICAL
  5. 2026-07-09 19:10 UTCEPSS rescore
  6. 2026-07-09 19:10 UTCEPSS rescore
  7. 2026-07-09 07:06 UTCVendor advisory
  8. 2026-07-09 07:06 UTCGHSA enrichment
  9. 2026-07-08 16:28 UTCVendor advisory
  10. 2026-07-08 16:28 UTCGHSA enrichment
  11. 2026-07-08 15:16 UTCEPSS rescore
  12. 2026-07-08 15:16 UTCEPSS rescore
  13. 2026-07-07 13:46 UTCEPSS rescore
  14. 2026-07-07 13:46 UTCEPSS rescore
  15. 2026-07-06 16:27 UTCEPSS rescore
  16. 2026-07-06 16:27 UTCEPSS rescore
  17. 2026-07-06 13:07 UTCMITRE cvelistV5CVSS v3 → 7.7 · severity → HIGH
  18. 2026-07-06 02:23 UTCEPSS rescore
  19. 2026-07-06 02:23 UTCEPSS rescore
  20. 2026-07-05 02:31 UTCEPSS rescore
  21. 2026-07-05 02:30 UTCEPSS rescore
  22. 2026-07-04 06:31 UTCEPSS rescore
  23. 2026-07-04 06:31 UTCEPSS rescore
  24. 2026-07-03 19:53 UTCVendor advisory
  25. 2026-07-03 19:53 UTCGHSA enrichment
  26. 2026-07-02 12:30 UTCVendor advisory
  27. 2026-07-02 12:30 UTCGHSA enrichment
  28. 2026-07-01 23:22 UTCGHSA enrichment
  29. 2026-07-01 15:07 UTCEPSS rescore
  30. 2026-07-01 10:26 UTCGHSA enrichment
  31. 2026-06-30 23:22 UTCEPSS rescore
  32. 2026-06-30 22:11 UTCGHSA enrichment
  33. 2026-06-29 23:11 UTCGHSA enrichment
  34. 2026-06-29 14:06 UTCEPSS rescore
  35. 2026-06-29 10:51 UTCGHSA enrichment
  36. 2026-06-28 16:41 UTCGHSA enrichment
  37. 2026-06-28 14:07 UTCEPSS rescore
  38. 2026-06-28 04:56 UTCEPSS rescore
  39. 2026-06-28 04:26 UTCGHSA enrichment
  40. 2026-06-27 16:11 UTCGHSA enrichment
  41. 2026-06-27 03:48 UTCGHSA enrichment
  42. 2026-06-27 03:08 UTCEPSS rescore
  43. 2026-06-26 15:14 UTCGHSA enrichment
  44. 2026-06-25 22:53 UTCGHSA enrichment
  45. 2026-06-25 13:49 UTCEPSS rescore
  46. 2026-06-25 10:38 UTCGHSA enrichment
  47. 2026-06-24 22:23 UTCGHSA enrichment
  48. 2026-06-24 14:05 UTCEPSS rescore
  49. 2026-06-24 09:24 UTCGHSA enrichment
  50. 2026-06-23 21:33 UTCEPSS rescore
  51. 2026-06-23 21:33 UTCEPSS rescore
  52. 2026-06-23 19:08 UTCGHSA enrichment
  53. 2026-06-22 14:25 UTCEPSS rescore
  54. 2026-06-22 14:25 UTCEPSS rescore
  55. 2026-06-21 14:56 UTCEPSS rescore
  56. 2026-06-21 14:56 UTCEPSS rescore
  57. 2026-06-21 01:59 UTCEPSS rescore
  58. 2026-06-21 01:59 UTCEPSS rescore
  59. 2026-06-20 12:48 UTCGHSA enrichment
  60. 2026-06-19 20:41 UTCGHSA enrichment
  61. 2026-06-19 19:26 UTCEPSS rescore
  62. 2026-06-19 19:26 UTCEPSS rescore
  63. 2026-06-18 17:52 UTCEPSS rescore
  64. 2026-06-18 17:52 UTCEPSS rescore
  65. 2026-06-18 16:33 UTCGHSA enrichment
  66. 2026-06-17 22:37 UTCGHSA enrichment
  67. 2026-06-17 17:53 UTCEPSS rescore
  68. 2026-06-17 10:22 UTCGHSA enrichment
  69. 2026-06-16 22:03 UTCGHSA enrichment
  70. 2026-06-16 17:53 UTCEPSS rescore
  71. 2026-06-16 09:48 UTCGHSA enrichment
  72. 2026-06-15 21:33 UTCGHSA enrichment
  73. 2026-06-15 17:49 UTCEPSS rescore
  74. 2026-06-15 17:49 UTCEPSS rescore
  75. 2026-06-15 09:18 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-5241?
CVE-2026-5241 is a critical vulnerability published on June 3, 2026. 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 issue arises because the trustremotecode parameter, intended to prevent remote code execution, is…
When was CVE-2026-5241 disclosed?
CVE-2026-5241 was first published in the National Vulnerability Database on June 3, 2026, with the most recent update on July 22, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-5241 actively exploited?
CVE-2026-5241 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 42.3% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-5241?
CVE-2026-5241 has a CVSS v3 base score of 9.6 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 8.0.
How do I remediate CVE-2026-5241?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-5241, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-5241

Explore →

Is Your Infrastructure Affected by CVE-2026-5241?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.