← All advisories

CVE-2026-135614mediumSecret exposure2026-11-24

CVE-2026-135614: Amazon ECS MCP Server's troubleshooting tool returned cleartext task-definition environment variables and secret references despite the redaction setting, reachable through prompt injection (fixed 0.1.36)

The Amazon ECS MCP Server (awslabs.ecs-mcp-server) lets AI agents manage and troubleshoot ECS workloads with the operator's AWS credentials, and has a sensitive-data setting meant to redact secrets. Before 0.1.36, its troubleshooting tool could still return cleartext container environment variable values and secret references from ECS task definitions. Someone who can put content in front of the operator's agent could use prompt injection to make it ask for troubleshooting guidance and get those values. The tool is read-only, limited to task definitions the credentials can describe, and the server uses local stdio by default. Fixed in 0.1.36; rotate any credentials stored as plaintext task-definition environment variables.

01.

What it is

Affected: awslabs.ecs-mcp-server (PyPI) before 0.1.36; fixed in 0.1.36 (AWS security bulletin 2026-200-AWS, GHSA-ppc7-5jf2-gcfc). Credit: Liu-tong.

Precondition: the operator's agent processes attacker-controlled content (prompt injection) while the ECS MCP Server is connected.

Exposed data: environment variable values set in plaintext in ECS task definitions, and secret references from those task definitions.

GitHub and NVD published the advisory and CVE on 24 November 2026.

02.

How to check

  1. Check the installed version (pip show awslabs.ecs-mcp-server, or the version pinned in your MCP client config's uvx command): before 0.1.36 is affected.
  2. List ECS task definitions the server's credentials can describe that hold secrets as plaintext environment variables.
03.

How to fix

  1. Upgrade awslabs.ecs-mcp-server to 0.1.36 or later.
  2. Rotate credentials stored as plaintext task-definition environment variables and move them to Secrets Manager or Parameter Store references.
  3. Give the MCP server's AWS role only the read access it needs, and don't run it in sessions where the agent reads untrusted content.
pip show awslabs.ecs-mcp-server | grep -i ^version
# or pin it in the MCP client config:
uvx [email protected]
04.

Sources

Related on VibeVulns
More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.