Design Flaw to Shell Shock — Inside CVE-2025–53967
The Framelink Figma MCP Server had a fallback that ran a curl command through a shell, and user-controlled headers or URLs were placed directly into that shell string. An attacker could inject shell metacharacters and run arbitrary commands with the server's privileges.
In September 2025, Imperva Threat Research disclosed CVE-2025–53967, which is a critical command injection vulnerability in the Framelink Figma MCP Server. This flaw, buried in a fallback mechanism was intended to ensure reliability, instead it opened the door to remote code execution (RCE) under server-level…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The fallback used child_process.exec with a shell string built from user-controlled headers and URLs, so shell metacharacters were interpreted.
Impact
An attacker could run arbitrary commands with the MCP server's privileges, which the text says enables indirect prompt injection, lateral movement and host compromise.
What the attacker needed
Figma-developer-mcp ≤ 0.6.2; ability to send MCP requests; fallback path is triggered
The fix
The issue was fixed in version 0.6.3, and the text also recommends replacing exec with execFile or safer APIs.
How it was found
- Send an Initialize request to obtain an mcp-session-id.
- Send a JSONRPC request to tools/call, for example get_figma_data.
- Inject shell commands through a malicious fileKey or header value in a crafted URL.
- The host executes arbitrary commands with the MCP server's privileges.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This server helps AI coding tools talk to Figma. When its normal way of fetching data failed, it ran a system command to fetch the data instead, and it built that command using text supplied by the user. Because the text was not cleaned, someone could add extra command parts and make the server run their own commands.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.