Improper Protection of Alternate Path Affecting awslabs.aws-api-mcp-server package, versions [0.2.14,1.3.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AWSLABSAWSAPIMCPSERVER-15763420
  • published25 Mar 2026
  • disclosed16 Mar 2026
  • creditVaronis Threat Labs

Introduced: 16 Mar 2026

CVE-2026-4270  (opens in a new tab)
CWE-424  (opens in a new tab)

How to fix?

Upgrade awslabs.aws-api-mcp-server to version 1.3.9 or higher.

Overview

awslabs.aws-api-mcp-server is a Model Context Protocol (MCP) server for interacting with AWS

Affected versions of this package are vulnerable to Improper Protection of Alternate Path through the AWS CLI shorthand parser in aws_api_mcp_server/core/aws/services.py. An attacker can read arbitrary local files in the MCP client application context by supplying file:// or fileb:// shorthand parameter values such as @=-style file references, when file access is intended to be disabled or limited to a workdir.

CVSS Base Scores

version 4.0
version 3.1