Skip to content
HighVulnerability

GHSA-2xhg-73j7-rrgx: Contentful MCP Server: export_space/import_space tools pass LLM-controlled `host`/`proxy` args to CMA client, redirecting server PAT to attacker-controlled endpoint

Published
Record updated
View JSON
Affected
  • @contentful/mcp-tools < 0.4.5, fixed in 0.4.5, released June 1, 2026, 79 days before disclosure
  • @contentful/mcp-server < 1.7.19, fixed in 1.7.19, released June 1, 2026, 79 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

The export_space and import_space tools in @contentful/mcp-tools accept LLM-controlled host and proxy parameters and spread them unfiltered into the options passed to contentful-export and contentful-import. Those options, including the server's CMA Personal Access Token, reach the Contentful Management API client, which sends the token as a Bearer header to the attacker-supplied host. An attacker who can invoke MCP tools, or plant instructions in Contentful content the LLM reads, can redirect CMA requests and the PAT to an attacker-controlled endpoint.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.