Skip to content
Heist/ feed
Back to feed
Critical

PyVista has Dependency Confusion Vulnerability in that leads to RCE

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-61774
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:10 UTC · Revision 1

Source evidence

PyVista has Dependency Confusion Vulnerability in that leads to RCE

core-osv · Original source

Published 6 Oct 2025, 22:14 UTC

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.

osv:CVE-2025-61774
Complete source record
{
  "id": "c7a8e56585271843cbb54e7ec8a5903ca629d29989a0143229048f0b37cbf871",
  "url": "https://osv.dev/vulnerability/CVE-2025-61774",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PyVista has Dependency Confusion Vulnerability in that leads to RCE",
    "summary": "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.",
    "evidence": "osv:CVE-2025-61774",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-61774",
      "aliases": [
        "CVE-2025-61774",
        "GHSA-xr7f-qcjc-63rv"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pyvista/pyvista",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a6fa92498a9896bdba7d495b39273151c6e68cfa"
                },
                {
                  "fixed": "aabfb3db2b0d4980de9e94e66272240efba4ed95"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "= 0.46.3"
                      },
                      {
                        "last_affected": "= 0.46.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "aabfb3db2b0d4980de9e94e66272240efba4ed95"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "= 0.46.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61774.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.092350352Z",
      "provider": "osv",
      "references": [
        "https://github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/.devcontainer/offscreen/oncreatecommand.sh#L4",
        "https://github.com/pyvista/pyvista/blob/c96e1ddbe707fb7d3eb574dc3336de1a946f14a1/docker/slim.Dockerfile#L13",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61774.json",
        "https://github.com/pyvista/pyvista/security/advisories/GHSA-xr7f-qcjc-63rv",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-61774",
        "https://github.com/pyvista/pyvista/commit/aabfb3db2b0d4980de9e94e66272240efba4ed95"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61774.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-61774",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503515,
  "published_at": "2025-10-06T22:14:38.713+00:00"
}