● PyPI package
transformers
Transformers has 32 security advisories. The newest release any of them names as the fix is 5.10.0.
As of , transformers has 32 security advisories. The newest release any of them names as the fix is 5.10.0.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 5.10.0 | 5.10.0 | 32 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-80047GHSA-x9r9-c232-4q39, PYSEC-2026-4174 | Hugging Face Transformers downloads custom generation code before trust consentHigh severity | From 4.49.0 up to and including 5.8.1 | No fixed version listed | |
| CVE-2026-9856GHSA-xrqw-3rrv-vx5w, PYSEC-2026-3929 | Transformers save_pretrained path traversal allows arbitrary file writes through chat template namesHigh severity | Before 5.10.0 | 5.10.0 | |
| CVE-2026-5241GHSA-fgcw-684q-jj6r, PYSEC-2026-2290 | huggingface/transformers: Arbitrary Code Execution During Model Initialization in the LightGlue Model Loading PathHigh severity | Before 5.5.0 | 5.5.0 | |
| CVE-2026-4372GHSA-29pf-2h5f-8g72, PYSEC-2026-2289 | HuggingFace transformers vulnerable to remote code executionHigh severity | Before 5.3.0 | 5.3.0 | |
| CVE-2026-1839GHSA-69w3-r845-3855, PYSEC-2026-2288 | HuggingFace Transformers allows for arbitrary code execution in the `Trainer` classModerate severity | Before 5.0.0 | 5.0.0 | |
| CVE-2025-14930PYSEC-2025-218 | Hugging Face Transformers GLM4 Deserialization of Untrusted Data Remote Code Execution Vulnerability. | Up to and including 4.57.1 | No fixed version listed | |
| CVE-2025-14929PYSEC-2025-217 | Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. | Up to and including 5.0.0-rc0 | No fixed version listed | |
| CVE-2025-14928PYSEC-2025-216 | Hugging Face Transformers HuBERT convertconfig Code Injection Remote Code Execution Vulnerability. | Up to and including 4.57.0 | No fixed version listed | |
| CVE-2025-14927PYSEC-2025-215 | Hugging Face Transformers SEW-D convertconfig Code Injection Remote Code Execution Vulnerability. | Up to and including 4.57.0 | No fixed version listed | |
| CVE-2025-14926PYSEC-2025-214 | Hugging Face Transformers SEW convertconfig Code Injection Remote Code Execution Vulnerability. | Up to and including 4.57.0 | No fixed version listed | |
| CVE-2025-14924PYSEC-2025-213 | Hugging Face Transformers megatrongpt2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. | Up to and including 4.55.0 | No fixed version listed | |
| CVE-2025-14921PYSEC-2025-212 | Hugging Face Transformers Transformer-XL Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. | Up to and including 4.54.1 | No fixed version listed | |
| CVE-2025-14920PYSEC-2025-211 | Hugging Face Transformers Perceiver Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. | Up to and including 4.54.1 | No fixed version listed | |
| CVE-2025-6921GHSA-4w7r-h757-3r74, PYSEC-2026-1980 | Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizerModerate severity | Before 4.53.0 | 4.53.0 | |
| CVE-2025-6051GHSA-rcv9-qm8p-9p6j, PYSEC-2026-1988 | Hugging Face Transformers library has Regular Expression Denial of ServiceModerate severity | Before 4.53.0 | 4.53.0 | |
| CVE-2025-6638GHSA-59p9-h35m-wg4g, PYSEC-2026-1981 | Hugging Face Transformers is vulnerable to ReDoS through its MarianTokenizerModerate severity | Before 4.53.0 | 4.53.0 | |
| CVE-2025-5197GHSA-9356-575x-2w9m, PYSEC-2026-1983 | Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerabilityModerate severity | Before 4.53.0 | 4.53.0 | |
| CVE-2025-3933GHSA-37mw-44qp-f5jm, PYSEC-2026-1977 | Transformers is vulnerable to ReDoS attack through its DonutProcessor classModerate severity | Before 4.52.1 | 4.52.1 | |
| CVE-2025-3262GHSA-489j-g2vx-39wf, PYSEC-2026-1979 | Transformers vulnerable to ReDoS attack through its SETTING_RE variableModerate severity | From 4.49.0 before 4.51.0 | 4.51.0 | |
| CVE-2025-3264GHSA-jjph-296x-mrcr, PYSEC-2026-1985 | Transformers vulnerable to ReDoS attack through its get_imports() functionModerate severity | Before 4.51.0 | 4.51.0 | |
| CVE-2025-3777GHSA-phhr-52qp-3mj4, PYSEC-2026-1986 | Transformers's Improper Input Validation vulnerability can be exploited through username injectionLow severity | Before 4.52.1 | 4.52.1 | |
| CVE-2025-3263GHSA-q2wp-rjmx-x6x9, PYSEC-2026-1987 | Transformers's ReDoS vulnerability in get_configuration_file can lead to catastrophic backtrackingModerate severity | Before 4.51.0 | 4.51.0 | |
| CVE-2025-2099GHSA-qq3j-4f4f-9583, PYSEC-2025-40 | Hugging Face Transformers Regular Expression Denial of ServiceModerate severity | Before 4.50.0 | 4.50.0 | |
| CVE-2025-1194GHSA-fpwr-67px-3qhx, PYSEC-2026-1984 | Transformers Regular Expression Denial of Service (ReDoS) vulnerabilityModerate severity | Before 4.50.0 | 4.50.0 | |
| CVE-2024-12720GHSA-6rvg-6v2m-4j46, PYSEC-2026-1982 | Transformers Regular Expression Denial of Service (ReDoS) vulnerabilityModerate severity | Before 4.48.0 | 4.48.0 | |
| CVE-2024-11394GHSA-hxxf-235m-72v3, PYSEC-2024-229 | Deserialization of Untrusted Data in Hugging Face TransformersHigh severity | Before 4.48.0 | 4.48.0 | |
| CVE-2024-11393GHSA-wrfc-pvp9-mr9g, PYSEC-2024-228 | Deserialization of Untrusted Data in Hugging Face TransformersHigh severity | Before 4.48.0 | 4.48.0 | |
| CVE-2024-11392GHSA-qxrp-vhvm-j765, PYSEC-2024-227 | Deserialization of Untrusted Data in Hugging Face TransformersHigh severity | Before 4.48.0 | 4.48.0 | |
| CVE-2024-3568GHSA-37q5-v5qm-c9v8, PYSEC-2026-1978 | Transformers Deserialization of Untrusted Data vulnerabilityLow severity | Before 4.38.0 | 4.38.0 | |
| CVE-2023-7018GHSA-v68g-wm8c-6x7j, PYSEC-2023-301 | transformers has a Deserialization of Untrusted Data vulnerabilityHigh severity | Before 4.36.0 | 4.36.0 | |
| CVE-2023-6730GHSA-3863-2447-669p, PYSEC-2023-300 | transformers has a Deserialization of Untrusted Data vulnerabilityCritical severity | Before 4.36.0 | 4.36.0 | |
| CVE-2023-2800GHSA-282v-666c-3fvg, PYSEC-2023-299 | transformers has Insecure Temporary FileModerate severity | Before 4.30.0 | 4.30.0 |
Other PyPI packages
- pyassimp33 advisories
- paddlepaddle32 advisories
- torch31 advisories
- mcp-atlassian30 advisories