9.3critical
PyVista has Dependency Confusion Vulnerability in that leads to RCE
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 1.17% (higher than 67% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
PyVista provides 3D plotting and mesh analysis through an interface for the Visualization Toolkit (VTK). Version 0.46.3 of the PyVista Project is vulnerable to remote code execution via dependency confusion. Two pieces of code use`--extra-index-url`. But when `--extra-index-url` is used, pip always checks for the PyPI index first, and then the external index. One package listed in the code is not published in PyPI. If an attacker publishes a package with higher version in PyPI, the malicious code from the attacker controlled package may be pulled, leading to remote code execution and a supply chain attack. As of time of publication, a patched version is unavailable.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pyvista pyvista | = 0.46.3 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
PyVista provides 3D plotting and mesh analysis through an interface for the Visualization Toolkit (VTK). Version 0.46.3 of the PyVista Project is vulnerable to remote code execution via dependency confusion. Two pieces of code use`--extra-index-url`. But when `--extra-index-url` is used, pip always checks for the PyPI index first, and then the external index. One package listed in the code is not published in PyPI. If an attacker publishes a package with higher version in PyPI, the malicious code from the attacker controlled package may be pulled, leading to remote code execution and a supply chain attack. As of time of publication, a patched version is unavailable.
NVD (es)
PyVista proporciona trazado 3D y análisis de mallas a través de una interfaz para el Visualization Toolkit (VTK). La versión 0.46.3 del Proyecto PyVista es vulnerable a ejecución remota de código a través de confusión de dependencias. Dos fragmentos de código usan '--extra-index-url'. Pero cuando se usa '--extra-index-url', pip siempre verifica primero el índice de PyPI y luego el índice externo. Un paquete listado en el código no está publicado en PyPI. Si un atacante publica un paquete con una versión superior en PyPI, el código malicioso del paquete controlado por el atacante puede ser descargado, lo que lleva a ejecución remota de código y un ataque a la cadena de suministro. Al momento de la publicación, una versión parcheada no está disponible.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-61774 changed 2025-10-07 | CVE Terms of Use |
| NVD | CVE-2025-61774 changed 2026-10-19 | Public domain |