Antidote
Warning

vulnerableVerifiedAGT-2026-0029

awslabs-aws-api-mcp-server: AWS API MCP File Access Restriction Bypass

A real bug in otherwise honest software. Check your version against the affected range below.

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

Description

The AWS API MCP Server is an open source Model Context Protocol (MCP) server that enables AI assistants to interact with AWS services and resources through AWS CLI commands. It provides programmatic access to manage your AWS infrastructure while maintaining proper security controls.

This server acts as a bridge between AI assistants and AWS services, allowing you to create, update, and manage AWS resources across all available services. The server includes a configurable file access feature that controls how AWS CLI commands interact with the local file system. By default, file operations are restricted to a designated working directory (workdir), but this can be configured to allow unrestricted file system access (unrestricted) or to block all local file path arguments entirely (no-access).

**Description:** Improper Protection of Alternate Path exists in the no-access and workdir feature of the AWS API MCP Server versions >= 0.2.14 and < 1.3.9 on all platforms may allow the bypass of intended file access restriction and expose arbitrary local file contents in the MCP client application context.

To remediate this issue, users should upgrade to version 1.3.9.

Imported from OSV GHSA-2cpp-j2fc-qhp7.

Affected

PyPI:awslabs-aws-api-mcp-server
>= 0.2.14, < 1.3.9 (fixed in 1.3.9)
PyPI:awslabs-aws-api-mcp-server
>= 0.2.14, < 1.3.9 (fixed in 1.3.9)

Field marks

Kind
mcp server
Reported by
osv-import

Sources

Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0029.json.