Advisory record · GHSA-fgmx-xfp3-w28p

aws-mcp has a Command Injection Remote Code Execution Vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.018 · 79th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 11 Apr 2026, 03:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
aws-mcpPyPI<=1.7.0No fixed version yet
Identifiers
GHSA-fgmx-xfp3-w28p · CVE-2026-5059 · PYSEC-2026-288
Weakness (CWE)
CWE-78
Published
11 Apr 2026
Updated
27 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The PyPI package aws-mcp, versions 1.7.0 and earlier, is vulnerable to command injection in how it handles its allowed commands list. A remote attacker who does not need to authenticate can supply a crafted string that is used in a system call without proper validation, which lets them run arbitrary code in the context of the MCP server. No fixed version is listed in the source, so no upgrade target is available from this record.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (zdi)
  • CISA KEV Not listed.
  • EPSS 0.018, the 79th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.