# CVE-2025-61774: PyVista has Dependency Confusion Vulnerability in that leads to RCE

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 67% of CVEs (2026-11-30)
- Published: 2025-10-06T22:14:38.713Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- pyvista pyvista: = 0.46.3

## References

- <https://github.com/pyvista/pyvista/security/advisories/GHSA-xr7f-qcjc-63rv>
- <https://github.com/pyvista/pyvista/commit/aabfb3db2b0d4980de9e94e66272240efba4ed95>
- <https://github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/.devcontainer/offscreen/oncreatecommand.sh#L4>
- <https://github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/docker/slim.Dockerfile#L13>

## Sources

- CVE List: [CVE-2025-61774](https://www.cve.org/CVERecord?id=CVE-2025-61774), CVE Terms of Use, modified 2025-10-07
- NVD: [CVE-2025-61774](https://nvd.nist.gov/vuln/detail/CVE-2025-61774), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-61774 · Whole record: https://cve.day/CVE-2025-61774.json · Rebuilt by cve.day 2026-11-25T22:59:05.584Z
