CVE-2025-61774
PyVista provides 3D plotting and mesh analysis through an interface …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/.devcontainer/off
- github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/docker/slim.Docke
- github.com/pyvista/pyvista/commit/aabfb3db2b0d4980de9e94e66272240efba4ed95
- github.com/pyvista/pyvista/security/advisories/GHSA-xr7f-qcjc-63rv
- nvd.nist.gov/vuln/detail/CVE-2025-61774
- cve.org/CVERecord?id=CVE-2025-61774
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.