Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · MCP security

We run the Amazon ECS MCP Server with ALLOW_SENSITIVE_DATA left off, so we assumed it never returned environment variable values or secret references from our task definitions. AWS just published CVE-2026-135614 saying the troubleshooting tool could return them anyway. What leaked, which version fixes it, and what do we need to do besides upgrading?

Last updated

TL;DR: Yes, before version 0.1.36. AWS published GHSA-ppc7-5jf2-gcfc (CVE-2026-135614, medium, CVSS 3.1 5.5) on November 24, 2026 for the pip package awslabs.ecs-mcp-server. Under certain circumstances the server's troubleshooting tool returned cleartext container environment variable values and secret references from ECS task definitions even when the ALLOW_SENSITIVE_DATA setting was off and should have redacted them. The advisory's scenario is prompt injection: content the agent reads asks it to request troubleshooting guidance, and the values come back in the tool result. It's limited to task definitions your AWS credentials can describe, and the tool doesn't change anything. The fix, released in 0.1.36 on PyPI on September 22, 2026, two months before the advisory, applies one redaction policy to every tool that returns container configuration. There's no workaround: upgrade, and rotate any credentials stored as plain environment variables in task definitions.

What should I check, step by step?

1. Check the installed version of awslabs.ecs-mcp-server. Versions before 0.1.36 are affected; PyPI listed 0.1.39 as the newest release on November 24, 2026.

  1. If you run it with uvx and @latest, restart the MCP client so it fetches the current release, then confirm the version the process actually loaded. A pinned version or a cloned repository won't update on its own.
  2. Rotate every credential stored as a plain environment variable in any task definition the server's AWS credentials could describe. The advisory asks for this, because an earlier tool result may already sit in a chat log, a trace or a model provider's records.
  3. Move those values into Secrets Manager or SSM Parameter Store and reference them with valueFrom, so a task definition holds a pointer, not the secret. After the fix, the references are redacted too.
  4. Give the server read-only, least-privilege credentials and limit them to the clusters and task definition families it needs. Leave ALLOW_WRITE off unless you need it.
  5. Don't point an agent with this server at untrusted content, such as issue text, web pages or logs from outside, while it has your AWS credentials.
  6. After upgrading, test the setting: with ALLOW_SENSITIVE_DATA off, ask for troubleshooting guidance on a test service whose task definition has a dummy environment value, and check that the result shows [REDACTED].

What is CVE-2026-135614 in the Amazon ECS MCP Server?

The Amazon ECS MCP Server lets an AI assistant manage and troubleshoot ECS workloads with the operator's AWS credentials. Its README describes ALLOW_SENSITIVE_DATA, off unless you turn it on, as the switch for tools that return logs and detailed resource information. AWS's advisory GHSA-ppc7-5jf2-gcfc, published November 24, 2026, says that under certain circumstances the troubleshooting tool returned cleartext container environment variable values and secret references from ECS task definitions even with that setting configured to redact them. It's filed under CWE-212, sensitive information not removed before it's shared.

How does Amazon ECS MCP Server 0.1.36 fix CVE-2026-135614?

The fix is pull request 4623 in awslabs/mcp, merged September 19, 2026, and released in 0.1.36 on September 22. Its commit message says it moved redaction into shared helpers and applied it to find_task_definitions, which the troubleshooting guidance uses, and to the Express Mode service describe call, so every tool that returns container configuration follows the same rule as DescribeTaskDefinition already did.

Why should you test an MCP server's redaction setting instead of trusting it?

A redaction switch is only as good as the code paths it covers. Here the main describe call honored the setting and a helper that a second tool used didn't, so the same task definition came back redacted from one tool and in cleartext from another. Nothing in the tool result told the user which one they got.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We upgraded the Amazon ECS MCP Server past the CVE-2026-135614 fix and rotated the credentials that were stored as plain environment variables in our task definitions. Record that change so we have a dated entry outside our own logs.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "security.credential_rotated",
    "outcome": "success",
    "occurred_at": "2026-11-24T23:30:00Z",
    "client_event_id": "ecs-mcp:upgrade-rotate-2026-11-24",
    "summary": "awslabs.ecs-mcp-server upgraded to 0.1.39 (CVE-2026-135614 / GHSA-ppc7-5jf2-gcfc fixed in 0.1.36); credentials stored as plain task definition environment variables rotated and moved to Secrets Manager references; ALLOW_SENSITIVE_DATA off and checked with a dummy value"
  }
}

Rightshold isn't affiliated with AWS. It doesn't scan MCP server code, read your task definitions or check IAM permissions, and a recorded entry isn't a finding that a setup is safe. Advisory details are as published by AWS in the awslabs/mcp repository's advisory GHSA-ppc7-5jf2-gcfc, the fix as described in pull request 4623, the setting as described in the server's README, and release dates as listed on PyPI, all read November 24, 2026; advisories get updated, so confirm fixed versions on the linked pages.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'