mcp-cve-project

CVE-2026-4270 | AWS API MCP Server (awslabs/mcp):awslabs.aws-api-mcp-server (pip) | Vendor advisory |

CVE Information

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)

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

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.

CVE is because of what bug?

Alternate-path / path-equivalence handling allows circumvention of the intended workdir sandbox or no-access policy so that restricted file reads still occur.

MCP-specific impact / why it matters

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.

Where was the bug? (source + snippet)

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.

Fix / Remediation

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.

Upstream fix (open source)