# CVE-2026-4270: AWS API MCP Server file access bypass in no-access and workdir features

Source: https://junglewise.ai/threats/cve-2026-4270-aws-api-mcp-server-file-access-bypass-in-no-access-and-workdir  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-16. Updated: 2026-06-09  
License: CC BY 4.0 with a link back

CVE-2026-4270 · Severity: high · CVSS 5.5 · Published 2026-03-16

The AWS API MCP Server is a tool that allows AI assistants to manage AWS resources using standard command-line tools. A security flaw in how the server handles file paths could allow an attacker to bypass directory restrictions and access sensitive local files on the system where the server is running. This could lead to the exposure of private data or configuration files to the AI assistant's context.

Technologies: [Amazon AWS](https://junglewise.ai/threats/technologies/aws), [Aws-Api-Mcp-Server](https://junglewise.ai/threats/technologies/api-mcp-server). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon), [AWS](https://junglewise.ai/threats/vendors/aws), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-4270 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-4270 being exploited in the wild.

**How severe is CVE-2026-4270?** High severity, with a CVSS score of 5.5, published 16 March 2026.

**Which products and versions are affected?** Aws-Api-Mcp-Server >= 0.2.14, < 1.3.9; awslabs.aws-api-mcp-server (PyPI) ECOSYSTEM:introduced=0.2.14,fixed=1.3.9.

**Is there a fix for CVE-2026-4270?** Yes. awslabs.aws-api-mcp-server (PyPI): upgrade to 1.3.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-4270 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-4270?** Check whether you run Amazon AWS, Aws-Api-Mcp-Server or awslabs.aws-api-mcp-server (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- awslabs.aws-api-mcp-server (PyPI): upgrade to 1.3.9 or later

  ```sh
  pip install "awslabs.aws-api-mcp-server>=1.3.9"
  ```


## Technical details

A vulnerability classified as Improper Protection of Alternate Path (CWE-424) exists in the AWS API MCP Server's 'no-access' and 'workdir' configurations. The root cause is insufficient validation of file path arguments passed to AWS CLI commands through the MCP bridge. An attacker can exploit this by providing specially crafted paths to bypass intended directory isolation, allowing the retrieval of arbitrary local file contents within the application context. Exploitation requires local access and some level of user interaction (passive). The issue is resolved in version 1.3.9.

## Affected products

- AWS aws-api-mcp-server >= 0.2.14, < 1.3.9

## Identifiers

- CVE-2026-4270
- GHSA-2cpp-j2fc-qhp7
- PYSEC-2026-162

## Timeline

- 2026-03-16: disclosed
- 2026-03-16: patched: Version 1.3.9 released
- 2026-03-17: advisory

## References

- [https://github.com/awslabs/mcp/security/advisories/GHSA-2cpp-j2fc-qhp7](https://github.com/awslabs/mcp/security/advisories/GHSA-2cpp-j2fc-qhp7)
- [https://aws.amazon.com/security/security-bulletins/2026-007-AWS](https://aws.amazon.com/security/security-bulletins/2026-007-AWS)
- [https://pypi.org/project/awslabs.aws-api-mcp-server/1.3.9](https://pypi.org/project/awslabs.aws-api-mcp-server/1.3.9)
- [https://github.com/pypa/advisory-database/tree/main/vulns/awslabs-aws-api-mcp-server/PYSEC-2026-162.yaml](https://github.com/pypa/advisory-database/tree/main/vulns/awslabs-aws-api-mcp-server/PYSEC-2026-162.yaml)
- [https://api.github.com/repos/awslabs/mcp/security-advisories/GHSA-2cpp-j2fc-qhp7](https://api.github.com/repos/awslabs/mcp/security-advisories/GHSA-2cpp-j2fc-qhp7)

## Related threats

- [An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0)](https://junglewise.ai/threats/cve-2026-126793-privilege-escalation-in-aurora-postgresql-dialect-detection-in)
- [AWS SDK for pandas EMR unverified bucket ownership](https://junglewise.ai/threats/cve-2026-127119-unverified-ownership-of-the-default-emr-cluster-log-location-in)
- [Amazon mcp-gateway-registry server-side request forgery in registration API](https://junglewise.ai/threats/cve-2026-125926-server-side-request-forgery-in-the-server-registration-and)
- [Amazon mcp-gateway-registry authorization bypass in management API](https://junglewise.ai/threats/cve-2026-100307-missing-authorization-on-the-external-management-api-in-mcp)
- [AWS Kiro CLI incorrect default permissions on session files](https://junglewise.ai/threats/cve-2026-124848-incorrect-default-permissions-on-session-transcripts-and-prompt)
