awslabs/mcp):awslabs.aws-api-mcp-server (pip) | Vendor advisory || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-4270 |
| Date (index) | 2026-03-16 |
| Affected product (index) | AWS API MCP Server (awslabs/mcp):awslabs.aws-api-mcp-server (pip) |
| GHSA ID | GHSA-2cpp-j2fc-qhp7 |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | NVD record published 2026-03-16 (per OSV); GHSA reviewed 2026-03-17 |
| Ecosystem | PyPI |
| Component | AWS API MCP Server (awslabs/mcp):awslabs.aws-api-mcp-server (pip) |
| EPSS score | 0.001310000 (FIRST EPSS, 2026-06-30) |
| CVSS score | 5.5 MEDIUM CVSS v3.1 (NVD) |
| CWE | CWE-424 (improper protection of alternate path) |
| Affected versions | PyPI package awslabs-aws-api-mcp-server / install name awslabs.aws-api-mcp-server: ≥ 0.2.14, < 1.3.9 (all platforms) |
| Fixed versions | 1.3.9 or later |
| Fix status | Patched upstream and on PyPI (1.3.9); upgrade forks/derivatives similarly |
| Exploit status | Unknown (coordinated disclosure; no vendor-documented workarounds) |
| Acknowledgements | Varonis Threat Labs (per AWS bulletin) |
| Severity (GHSA) | Moderate — CVSS:3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Vendor bulletin | 2026-007-AWS (CVE-2026-4270 — AWS API MCP file access restriction bypass) |
AWS API MCP file access restriction bypass: improper protection of alternate paths in the server’s configurable local file access controls for AWS CLI integration, affecting the workdir and no-access modes (modes intended to restrict or block local path arguments). A successful bypass can expose arbitrary local file contents in the MCP client application context.
The MCP server must be running with a vulnerable version and with file access set to workdir or no-access. An attacker who can influence how paths or CLI arguments are supplied (e.g. via model-driven or user-controlled inputs that reach the MCP server) may bypass the intended restriction. Impact is disclosure of local files visible to the server process, not remote code execution by itself.
Alternate-path / path-equivalence handling allows circumvention of the intended workdir sandbox or no-access policy so that restricted file reads still occur.
MCP bridges AI clients to real tools and credentials. Weak path validation undermines the trust boundary between the assistant and the host filesystem; disclosed files may include secrets, configs, or application data the policy was meant to exclude.
Vulnerable logic lives in the implementation of the file-access feature (workdir / no-access),
not in a single public constant; inspect the patched release diff around 1.3.9 for exact hunks.
Upgrade awslabs.aws-api-mcp-server to 1.3.9 or newer and redeploy. Reconcile any forks or private builds with upstream fixes from awslabs/mcp.
Per AWS bulletin 2026-007-AWS, there are no workarounds; upgrading is required.
No public PoC linked in vendor or GHSA materials at documentation time.
awslabs.aws-api-mcp-server in the range ≥ 0.2.14 and < 1.3.9.pip show awslabs.aws-api-mcp-server or equivalent) and upgrade if affected.workdir or no-access only after upgrade if you rely on those modes for containment.