Echo: transformers: security update to 5.0.0rc3

high Tenable Cloud Security Plugin ID 457080

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A vulnerability in the HuggingFace Transformers library, specifically in the `Trainer` class, allows for
arbitrary code execution. The `_load_rng_state()` method in `src/transformers/trainer.py` at line 3059
calls `torch.load()` without the `weights_only=True` parameter. This issue affects all versions of the
library supporting `torch>=2.2` when used with PyTorch versions below 2.6, as the `safe_globals()` context
manager provides no protection in these versions. An attacker can exploit this vulnerability by supplying
a malicious checkpoint file, such as `rng_state.pth`, which can execute arbitrary code when loaded. The
issue is resolved in version v5.0.0rc3. (CVE-2026-1839)

Solution

Update the transformers library and its related packages to version 5.0.0rc3 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-1839

Plugin Details

Severity: High

ID: 457080

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/5/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-1839

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/1/2026

Vulnerability Publication Date: 4/7/2026

Reference Information

CVE: CVE-2026-1839