Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. skops
  4. ›
  5. CVE-2025-54886

CVE-2025-54886: SKOPS Card.get_model happily allows arbitrary code execution

August 7, 2025 (updated August 8, 2025)

When using Card.get_model, skops allows for arbitrary code execution. This is due to the fact that Card.get_model allows both joblib and skops to be used for loading models, and as is well known, joblib allows for arbitrary code execution when loading objects. I do not know if this is intended or not, but I found this really concerning for a library that is founded on security. Even if intended, I kindly ask you to consider the security implications of this, disclose the potential implications through an advisory, and change the behavior of the function in future library versions (see below for possible fixes).

References

  • github.com/advisories/GHSA-378x-6p4f-8jgm
  • github.com/skops-dev/skops
  • github.com/skops-dev/skops/commit/29d61ea8a92f2bde6830e8f32cc72a1a87211cda
  • github.com/skops-dev/skops/security/advisories/GHSA-378x-6p4f-8jgm
  • nvd.nist.gov/vuln/detail/CVE-2025-54886

Code Behaviors & Features

Detect and mitigate CVE-2025-54886 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.13.0

Fixed versions

  • 0.13.0

Solution

Upgrade to version 0.13.0 or above.

Impact 8.4 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/skops/CVE-2025-54886.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:09 +0000.