Lucene search
K

CVE-2026-1839

🗓️ 07 Apr 2026 05:22:00Reported by @huntr_aiType 
cve
 cve
🔗 web.nvd.nist.gov👁 60 Views🌐 WEB

CVE-2026-1839: Arbitrary code execution via unsafe torch.load in Trainer checkpoint loading.

Related
Detection
Affected
Refs
Paths
NVD
Vulners
[
  {
    "vendor": "huggingface",
    "product": "huggingface/transformers",
    "versions": [
      {
        "version": "unspecified",
        "lessThan": "v5.0.0rc3",
        "status": "affected",
        "versionType": "custom"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
rng_state.pthpathsrc/transformers/trainer.pyArbitrary code execution via loading a malicious checkpoint file in Trainer._load_rng_state() using torch.load() without weights_only, enabling execution when a crafted rng_state.pth is loaded.CWE-502

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation