CVE-2026-85654 Code injection in the CDK generator in Amazon awslabs.dynamodb-mcp-server

High 7.1 Published Updated

Attacker can execute arbitrary code on the host by crafting malicious table or attribute names in a data model file processed by the CDK generator.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-85654?

CVE-2026-85654 is a high-severity code injection vulnerability in Amazon awslabs.dynamodb-mcp-server, published on 4 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Improper neutralization of special elements used in a template engine in the CDK generator in Amazon awslabs.dynamodb-mcp-server before 2.1.6 might allow a context-dependent actor to execute arbitrary code on the host that deploys the generated application via crafted table, index, or attribute names in a data model file.

Weakness: CWE-1336

Which versions are affected by CVE-2026-85654?

How do I fix CVE-2026-85654?

No fix has been published for CVE-2026-85654 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-85654 being exploited?

There is no known exploitation of CVE-2026-85654 in the wild and no public exploit code.

Sources

Also known as GHSA-hh4r-pcm9-jh93.

Is CVE-2026-85654 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free