CVE-2023-7018Huggingface Transformers
High 7.8
Follow: this CVE · Huggingface · Huggingface Transformers We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 56
- Auth required
- Yes
- Published
- Dec 20, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
What to do
- Apply the vendor's security update for Transformers.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | transformers |
< 4.36.0 |
4.36.0 |
pip install "transformers>=4.36.0" |
| PyPI | transformers |
< 4.36.0 |
4.36.0 |
pip install "transformers>=4.36.0" |
Per OSV / GitHub Advisories (GHSA-v68g-wm8c-6x7j, PYSEC-2023-301). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| huggingface | transformers | < 4.36.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.com Exploit Patch Third Party Advisory