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.
Published: 2026-09-04
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary code execution on deployment host via crafted data model names
Action: Apply update
AI Analysis

Impact

The flaw lies in improper neutralization of special elements in the template engine that the CDK generator of Amazon awslabs.dynamodb-mcp-server uses prior to version 2.1.6. An attacker who controls a data model file can inject special template syntax in table, index, or attribute names, leading the CDK generator to evaluate the injected content during application build and execute arbitrary code on the host that performs the deployment. The primary impact is remote code execution with the privileges of the deployment process, potentially giving full control of the build machine and the infrastructure it creates. The weakness corresponds to CWE‑1336: Improper Neutralization of Special Elements Used in a Template Engine.

Affected Systems

All installations of Amazon awslabs.dynamodb-mcp-server released before 2.1.6 are affected. The vulnerability is referenced in the AWS 2026‑097 security bulletin and the Python package distributor lists the vulnerable release at version 2.1.5. Administrators running the CDK generator for DynamoDB model deployment should verify their version and update if necessary.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector is an actor who can supply or modify the data model file. The CVSS score for this vulnerability is 7.1, indicating high severity. EPSS is not available, but because the flaw is exercised during the CDK generation phase, a local actor who can influence the data model file has an avenue to exploit the issue. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires that the attacker can supply or modify a data model file that the CDK generator processes; once the malicious content is embedded, the code runs with the same privileges as the build process.

Generated by OpenCVE AI on September 4, 2026 at 21:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Amazon awslabs.dynamodb-mcp-server to version 2.1.6 or later, which contains the template neutralization fix.
  • If an upgrade cannot be performed immediately, review any data model files for suspicious template syntax in names and sanitize or escape them prior to generation.
  • Restrict access to the CDK generation environment so that only trusted users can supply data model files, mitigating the possibility of injection from untrusted sources.

Generated by OpenCVE AI on September 4, 2026 at 21:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title Code injection in the CDK generator in Amazon awslabs.dynamodb-mcp-server
First Time appeared Amazon
Amazon awslabs.dynamodb-mcp-server
Weaknesses CWE-1336
CPEs cpe:2.3:a:amazon:awslabs.dynamodb-mcp-server:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon awslabs.dynamodb-mcp-server
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Amazon Awslabs.dynamodb-mcp-server
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-09-04T18:32:24.712Z

Reserved: 2026-09-04T13:13:01.262Z

Link: CVE-2026-85654

cve-icon Vulnrichment

Updated: 2026-09-04T18:32:17.867Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-04T18:18:05.977

Modified: 2026-09-08T14:00:33.017

Link: CVE-2026-85654

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T21:15:05Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine