Security Digest · Vulnerability record

CVE-2023-6730: transformers has a Deserialization of Untrusted Data vulnerability

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.

CVSS 9.0 Critical EPSS 0.9% · p60

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
  • EPSS 0.9%, percentile 60: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 60% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes transformers (PyPI) < 4.36.0, fixed in 4.36.0. Check your lockfile, including transitive dependencies.

What it is

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.

From the GitHub advisory

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.0.

Weakness type: CWE-502.

Product: transformers (PyPI) · Assigned by: @huntr_ai · Published: 2023-12-19

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPItransformers< 4.36.04.36.0
VendorProductAffected versions (per CVE record)
huggingfacehuggingface/transformersunspecified < 4.36

Severity scores

Scored byCVSSScoreVector
@huntr_ai3.09 CriticalCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub3.19.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: required (a user must click/open something)
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • FIRST EPSS (model of 2026-10-21): 0.93% probability of exploitation activity in the next 30 days; percentile 60.

Timeline

  • — CVE record published by @huntr_ai
  • — GitHub-reviewed advisory GHSA-3863-2447-669p published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-3863-2447-669p github.com
  2. CVE.org record CVE-2023-6730 cve.org
  3. NVD entry CVE-2023-6730 nvd.nist.gov

Other references from the CVE record and advisory

  1. huntr.com huntr.com
  2. github.com github.com
  3. github.com github.com

Critical PyPI advisories · Today’s Security Digest