Vulnerabilities in pkg:pypi/blender-mcp

PACKAGE
Advisory Identifier: GHSA-4h8q-hh2j-755w
Advisory Summary

CVE-2026-66004 is a MODERATE (CVSS 5.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Blender mcp libraries in the PyPI ecosystem. The issue involves blendermcp path traversal in download_polyhaven_asset allows arbitrary file writes. Remediation is available by upgrading affected packages to version 1.6.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/blender-mcp

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/blender-mcp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4h8q-hh2j-755w CVE-2026-66004 MODERATE BlenderMCP path traversal in download_polyhaven_asset allows arbitrary file writes

CVE-2026-66004 at a Glance

CVE Identifier CVE-2026-66004
GHSA Identifier GHSA-4h8q-hh2j-755w
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Blender mcp
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-66004

To remediate this vulnerability, upgrade all affected Blender mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

blender-mcp fixed: 1.6.5
pip install blender-mcp>=1.6.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show blender-mcp

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-66004, inspect your installed packages using pip:

pip show blender-mcp

Analyze the terminal output to locate any version of Blender mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.5), your application is affected.

Note: The pip show blender-mcp command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Blender mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

BlenderMCP before commit 30a3308 contains a path traversal vulnerability in the download_polyhaven_asset method that allows attackers to write arbitrary files by injecting traversal sequences in API response include keys. Attackers performing MITM attacks or prompt injection can supply malicious paths like '../../.bashrc' to overwrite sensitive files and achieve persistent code execution.

CVE-2026-66004 Affected Blender mcp Versions

1 component(s)
Fixed Versions:
1.6.5
Product / Package Ecosystem Affected Versions Fixed Version
blender-mcp
PyPI
< 1.6.5
1.6.5

References

Frequently Asked Questions

What is CVE-2026-66004?
CVE-2026-66004 is a security vulnerability in Blender mcp involving BlenderMCP path traversal in download_polyhaven_asset allows arbitrary file writes under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Blender mcp versions are affected?
Affected versions include releases prior to 1.6.5 across affected packages: blender-mcp.
What version fixes CVE-2026-66004?
Upgrading to 1.6.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is blender-mcp affected?
Yes, blender-mcp is affected in releases prior to 1.6.5. Upgrade your dependency to 1.6.5 or later.
What is the CVSS score of CVE-2026-66004?
CVE-2026-66004 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-66004?
CVE-2026-66004 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2026-66004?
Run the dependency tree command: 'pip show blender-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4h8q-hh2j-755w",
  "modified" : "2026-10-02T22:43:51Z",
  "published" : "2026-07-24T15:33:04Z",
  "aliases" : [ "CVE-2026-66004" ],
  "summary" : "BlenderMCP path traversal in download_polyhaven_asset allows arbitrary file writes",
  "details" : "BlenderMCP before commit 30a3308 contains a path traversal vulnerability in the download_polyhaven_asset method that allows attackers to write arbitrary files by injecting traversal sequences in API response include keys. Attackers performing MITM attacks or prompt injection can supply malicious paths like '../../.bashrc' to overwrite sensitive files and achieve persistent code execution.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "blender-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-66004"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ahujasid/blender-mcp/issues/257"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ahujasid/blender-mcp/pull/258"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ahujasid/blender-mcp/commit/30a3308446cd8f81a9446e5a2ed657c0d8d86072"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ahujasid/mcp-for-blender"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/blendermcp-path-traversal-via-download-polyhaven-asset-api"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-02T22:43:51Z",
    "nvd_published_at" : "2026-07-24T15:19:07Z"
  }
}