Arbitrary Code Injection Affecting transformers package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-TRANSFORMERS-14564366
  • published24 Dec 2025
  • disclosed23 Dec 2025
  • creditPeter Girnus

Introduced: 23 Dec 2025

CVE-2025-14927  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for transformers.

Overview

transformers is a State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Affected versions of this package are vulnerable to Arbitrary Code Injection via the convert_config function. An attacker can execute arbitrary code by supplying a malicious checkpoint file that is processed without proper validation.

Note:

The report of this vulnerability was rejected by the package's maintainers. See the project's security policy for more information.

CVSS Base Scores

version 4.0
version 3.1