Vulnerability · Published Oct 6, 2025 · Assigned by GitHub_M
CVE-2025-61774PyVista has Dependency Confusion Vulnerability in that leads to RCE
Critical 9.3
In plain English
A critical-severity code injection in pyvista from pyvista. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | python-pyvista | no fix listed | DEBIAN-CVE-2025-61774 |
| Debian:14 | python-pyvista | no fix listed | DEBIAN-CVE-2025-61774 |
| Ubuntu:25.10 | python-pyvista | no fix listed | UBUNTU-CVE-2025-61774 |
| Ubuntu:26.04:LTS | python-pyvista | no fix listed | UBUNTU-CVE-2025-61774 |
| Ubuntu:26.10 | python-pyvista | no fix listed | UBUNTU-CVE-2025-61774 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/pyvista/pyvista/security/advisories/GHSA-xr7f-qcjc-63rv x_refsource_CONFIRM
- https://github.com/pyvista/pyvista/commit/aabfb3db2b0d4980de9e94e66272240efba4ed95 x_refsource_MISC
- https://github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/.devcontainer/offscreen/oncreatecommand.sh#L4 x_refsource_MISC
- https://github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/docker/slim.Dockerfile#L13 x_refsource_MISC