# GHSA-PPC7-5JF2-GCFC: Sensitive data redaction bypass in the troubleshooting tool in Amazon ECS MCP Server

- Database: GitHub
- Severity: CVSS 5.5 (Medium)
- Published: 2026-11-24
- Modified: 2026-11-24

## Tracked as

- [CVE-2026-135614](https://cve.now/CVE-2026-135614.md): Amazon ECS MCP Server redaction bypass exposes secrets in troubleshooting tool

## Affected versions

- awslabs.ecs-mcp-server (PyPI): fixed in 0.1.36

## Description

### Summary
Amazon ECS MCP Server is an open-source Model Context Protocol server that lets AI agents and assistants manage and troubleshoot Amazon ECS workloads using the operator's AWS credentials. An issue exists where, under certain circumstances, the troubleshooting tool of the Amazon ECS MCP Server returns cleartext container environment variable values and secret references from ECS task definitions even when the server's sensitive data setting is configured to redact them.

### Impact
A remote actor who can place content that the operator's AI agent processes, for example through prompt injection, might cause the agent to request troubleshooting guidance and obtain cleartext environment variable values and secret references from the operator's ECS task definitions. The issue requires the operator to have the agent process the actor's content, and it is limited to task definitions the operator's AWS credentials can describe. The affected tool is read-only and does not modify ECS resources, and the server uses a local stdio transport by default.

Impacted versions: < 0.1.36

### Patches
This issue has been addressed in awslabs.ecs-mcp-server version [0.1.36](https://pypi.org/project/awslabs.ecs-mcp-server/0.1.36/). We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. Users should also rotate any credentials stored as plaintext task definition environment variables.

### Workarounds
None. Upgrade to 0.1.36 or later.

### References
If you have any questions or comments about this advisory, we ask that you contact AWS Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.

### Acknowledgement 
We would like to thank Liu-tong for collaborating on this issue through the coordinated vulnerability disclosure process.

## References

- https://github.com/awslabs/mcp/security/advisories/GHSA-ppc7-5jf2-gcfc

Page: https://cve.now/GHSA-PPC7-5JF2-GCFC

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
