awslabs-aws-api-mcp-server
Affected
- introduced
0.2.14, fixed1.3.9(ecosystem)
Fixed versions
1.3.9
Fix
- Fixed version
1.3.9pip install --upgrade awslabs-aws-api-mcp-server==1.3.9
Advisory
Also known as: CVE-2026-4270, PYSEC-2026-162
AWS API MCP File Access Restriction Bypass
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.
Medium Basis: The source's own band: MODERATE
0.2.14, fixed 1.3.9 (ecosystem)1.3.9
1.3.9pip install --upgrade awslabs-aws-api-mcp-server==1.3.90.2.14, fixed 1.3.9 (ecosystem)1.3.9
1.3.9pip install --upgrade awslabs-aws-api-mcp-server==1.3.9Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0