Advisory

GHSA-2cpp-j2fc-qhp7

Also known as: CVE-2026-4270, PYSEC-2026-162

Summary

AWS API MCP File Access Restriction Bypass

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-17 20:33 UTC
Modified
2026-06-08 23:30 UTC

Affected packages and fixes

awslabs-aws-api-mcp-server

PyPI · All systems

Affected

  • introduced 0.2.14, fixed 1.3.9 (ecosystem)

Fixed versions

1.3.9

Fix

  • Fixed version 1.3.9
    pip install --upgrade awslabs-aws-api-mcp-server==1.3.9

awslabs-aws-api-mcp-server

PyPI · All systems

Affected

  • introduced 0.2.14, fixed 1.3.9 (ecosystem)

Fixed versions

1.3.9

Fix

  • Fixed version 1.3.9
    pip install --upgrade awslabs-aws-api-mcp-server==1.3.9

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences