Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @contentful/mcp-tools
  4. ›
  5. CVE-2026-53957

CVE-2026-53957: Contentful MCP Server: export_space/import_space tools pass LLM-controlled `host`/`proxy` args to CMA client, redirecting server PAT to attacker-controlled endpoint

August 19, 2026

export_space and import_space tools in @contentful/mcp-tools accept LLM-controlled host and proxy parameters that are spread directly into the options object passed to contentful-export / contentful-import. These libraries pass the merged options — including the attacker-controlled host — to the Contentful Management API (CMA) SDK, which builds baseURL from host and attaches the server’s CMA Personal Access Token as Authorization: Bearer <PAT> on every outgoing request. An attacker who can invoke MCP tools, or inject instructions into Contentful content the LLM reads, can redirect all CMA requests — and the PAT — to an attacker-controlled endpoint.


References

  • github.com/advisories/GHSA-2xhg-73j7-rrgx
  • github.com/contentful/contentful-mcp-server/commit/fa7477ee48515f4248bc91a025eab0ca83423fe0
  • github.com/contentful/contentful-mcp-server/pull/376
  • github.com/contentful/contentful-mcp-server/releases/tag/mcp-server%401.7.19
  • github.com/contentful/contentful-mcp-server/releases/tag/mcp-tools%400.4.5
  • github.com/contentful/contentful-mcp-server/security/advisories/GHSA-2xhg-73j7-rrgx
  • nvd.nist.gov/vuln/detail/CVE-2026-53957

Code Behaviors & Features

Detect and mitigate CVE-2026-53957 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.5

Fixed versions

  • 0.4.5

Solution

Upgrade to version 0.4.5 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/@contentful/mcp-tools/CVE-2026-53957.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:16:39 +0000.