---
id: "CVE-2026-115418"
kind: "vulnerability"
aliases: ["CVE-2026-115418"]
title: "SQL injection in the database-query custom resource handlers in the Amazon Web Services (AWS) Cloud Development Kit\u2026"
severity: "high"
cvss: 7.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["aws", "aws-cdk", "infrastructure-as-code", "lab-disclosure", "package", "redshift"]
not_affected_if: ["developer-authored-values-only", "no-redshift-alpha-constructs"]
published_at: "2026-10-26T00:00:00+00:00"
first_seen_at: "2026-10-26T17:08:20+00:00"
updated_at: "2026-10-26T17:31:21+00:00"
sources: [{"source": "lab", "url": "https://aws.amazon.com/security/security-bulletins/rss/2026-151-aws/", "first_seen_at": "2026-10-26T17:08:20+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115418", "first_seen_at": "2026-10-26T17:31:21+00:00"}]
---

# SQL injection in the database-query custom resource handlers in the Amazon Web Services (AWS) Cloud Development Kit…

The experimental @aws-cdk/aws-redshift-alpha constructs build SQL for Redshift users, tables and privileges from user names, comments and passwords without escaping. Crafted values can change the SQL that runs with Redshift superuser privileges during deployment, including granting access to all cluster users.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version with `npm ls @aws-cdk/aws-redshift-alpha`, and treat anything below `2.274.0-alpha.0` as affected.
- Search the CDK app for uses of the Redshift alpha user, table or privilege constructs.
- Look for user names, comments or passwords that come from input outside the developer's control.

## Fix

- Upgrade `@aws-cdk/aws-redshift-alpha` to `2.274.0` or later.
- Patch any forked or derivative copies of the code.
- After upgrading, review existing table grants to PUBLIC.
- Until upgraded, use only developer-authored values for user names, comments and passwords.

## Timeline

- 2026-10-26T17:08:20+00:00 lab https://aws.amazon.com/security/security-bulletins/rss/2026-151-aws/ — AWS: CVE-2026-115418 - SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS)
- 2026-10-26T17:31:21+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-115418

## Documents

- [advisory] AWS: CVE-2026-115418 - SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS) https://aws.amazon.com/security/security-bulletins/rss/2026-151-aws/

## From the sources

CVE-2026-115418 - SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS)

### CVE-2026-115418 - SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS)

Bulletin ID: 2026-151-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/26/2026 09:30 AM PDT

Description:

The AWS Cloud Development Kit (CDK) @aws-cdk/aws-redshift-alpha module provides experimental constructs that manage Amazon Redshift users, tables and privileges. We identified CVE-2026-115418, an issue where crafted user names, comments or passwords set in these constructs could change the SQL that runs with Amazon Redshift superuser privileges at deployment, including granting access to all cluster users. Exploiting the issue requires the ability to influence the CDK application's construct property values.

Impacted versions: <2.274.0-alpha.0

Resolution:

This issue has been addressed in @aws-cdk/aws-redshift-alpha version 2.274.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. After upgrading, review existing table grants to PUBLIC.

Workarounds:

Use only trusted, developer-authored values for user names, comments and passwords in these constructs, and review existing table grants to PUBLIC.

References:

- CVE-2026-115418
- GHSA-25hh-xvj4-2cqv
- https://www.npmjs.com/package/@aws-cdk/aws-redshift-alpha

Acknowledgement:

We would like to thank Joseph Semaan for collaborating on this issue through the coordinated vulnerability disclosure process.

 Please email aws-security@amazon.com with any security questions or concerns.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
