BlenderMCP's download_polyhaven_asset has a path traversal vulnerability that can write arbitrary files.
BlenderMCP path traversal in download_polyhaven_asset allows arbitrary file writes
AI summary
In BlenderMCP versions prior to commit 30a3308, the download_polyhaven_asset method has a path traversal vulnerability, allowing attackers to write arbitrary files by injecting traversal sequences into the include key of API responses. Man-in-the-middle attacks or prompt injection can provide malicious paths like '../../.bashrc', overwriting sensitive files and achieving persistent code execution.
Why it was selected
The path traversal vulnerability in BlenderMCP shows that external responses in MCP tool calls can be used for arbitrary file writes, providing a reference for developers integrating third-party MCP services to troubleshoot.