Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-1839

27
FAUCET Score

A vulnerability in the HuggingFace Transformers library (CVE-2026-1839) exists in the Trainer class, where the _load_rng_state() method calls torch.load() without the weights_only=True parameter, permitting arbitrary code execution through malicious checkpoint files. The issue affects all versions supporting torch versions 2.2 and later when paired with PyTorch below 2.6, as the safe_globals() context manager fails to provide protection in these configurations. The vulnerability carries a CVSS score of 6.5 (Medium) with a local attack vector requiring high attack complexity and user interaction. While integrity and confidentiality impacts are moderate, the ability to achieve high availability impact through code execution presents meaningful risk to systems processing untrusted checkpoint files. The EPSS score of 0.00021 indicates very low prevalence relative to other CVEs. There is no evidence of active exploitation, public exploit code availability, or significant community attention at this time. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog and remains inactive on security hot lists. Version v5.0.0rc3 and later contain the fix, and organizations should prioritize upgrading when feasible, particularly those handling checkpoint files from untrusted sources.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.0.0CPE matchmatch criteria
cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*
5.0.0CPE matchmatch criteria
cpe:2.3:a:huggingface:transformers:5.0.0:rc0:*:*:*:*:*:*
5.0.0CPE matchmatch criteria
cpe:2.3:a:huggingface:transformers:5.0.0:rc1:*:*:*:*:*:*
5.0.0CPE matchmatch criteria
cpe:2.3:a:huggingface:transformers:5.0.0:rc2:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

6.5MEDIUM

CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:H

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
LOW
Availability Impact
HIGH
Exploitability Score
1.0
Impact Score
5.5
CvssVersion
3.0

Exploit Intelligence

EPSS Score
0.35%
Probability of exploitation in next 30 days
EPSS Percentile
27.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0035 is in the 26th percentile among its peer group of 11,617 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: transformersFixed in: 5.0.0rc3

Vendor Advisories (1)

pipGHSA-69w3-r845-3855medium

HuggingFace Transformers allows for arbitrary code execution in the `Trainer` class

Apr 7, 2026

References

github.com / huggingface/transformers/commit/03c8082ba4594c9b8d6fe190ca9bed0e5f8ca396
Patch
huntr.com / bounties/3c77bb97-e493-493d-9a88-c57f5c536485
ExploitThird Party Advisory