tocsin

CVE-2026-1839

2 advisories.

PyPI/transformers CVE-2026-1839: medium 6.5

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

Action: Upgrade transformers to 5.0.0rc3 or later.

pip install transformers==5.0.0rc3

Affected

introducedfixedlast affected
05.0.0rc3-

Fixed versions

5.0.0rc3

Sources

CVE-2026-1839 · published · modified · JSON

PyPI/transformers CVE-2026-1839: high 7.8

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 li

Action: Upgrade transformers to 5.0.0 or later.

pip install transformers==5.0.0

Affected

introducedfixedlast affected
05.0.0-

Fixed versions

5.0.0

Sources

CVE-2026-1839 · published · modified · JSON