# CVE-2025-54412: PYSEC-2026-1927 - Skops has Inconsistent Trusted Type Validation that Enables Hidden `operator` Methods Execution

Source: https://junglewise.ai/threats/cve-2025-54412-skops-has-inconsistent-trusted-type-validation-that-enables  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-54412 · Severity: medium · CVSS 4 · Published 2026-07-07

Skops has Inconsistent Trusted Type Validation that Enables Hidden `operator` Methods Execution

Technologies: [skops (PyPI)](https://junglewise.ai/threats/technologies/skops). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-54412 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-54412 being exploited in the wild.

**How severe is CVE-2025-54412?** Medium severity, with a CVSS score of 4, published 7 July 2026.

**Which products and versions are affected?** skops (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.0.

**Is there a fix for CVE-2025-54412?** Yes. skops (PyPI): upgrade to 0.12.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-54412?** Check whether you run skops (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- skops (PyPI): upgrade to 0.12.0 or later

  ```sh
  pip install "skops>=0.12.0"
  ```


## Affected products

- skops (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.0

## Identifiers

- CVE-2025-54412
- GHSA-m7f4-hrc6-fwg3
- PYSEC-2026-1927

## Related threats

- [PYSEC-2026-1925 - SKOPS Card.get_model happily allows arbitrary code execution](https://junglewise.ai/threats/cve-2025-54886-skops-card-get-model-arbitrary-code-execution-via-joblib)
- [PYSEC-2026-1926 - Skops may allow MethodNode to access unexpected object fields through dot notation, leading to…](https://junglewise.ai/threats/cve-2025-54413-skops-may-allow-methodnode-to-access-unexpected-object-fields)
- [PYSEC-2026-1928 - Skops unsafe deserialization](https://junglewise.ai/threats/cve-2024-37065-skops-unsafe-deserialization)
