Skip to content
OpenAdvisories
Critical · 9.3 CVE-2025-61774 EUVD-2025-33184

PyVista has Dependency Confusion Vulnerability in that leads to RCE

Published Oct 6, 2025 · Updated Oct 7, 2025 · 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 products

VendorProductAffectedFixed
pyvista pyvista = 0.46.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-pyvista No fix yet —
Debian 13 python-pyvista No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-pyvista No fix yet —
Ubuntu 26.04 LTS python-pyvista No fix yet —
Ubuntu 25.10 python-pyvista No fix yet —

References