---
id: "GHSA-25hh-xvj4-2cqv"
kind: "vulnerability"
aliases: ["GHSA-25hh-xvj4-2cqv"]
title: "CVE-2026-115418 - SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS)"
severity: "high"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["aws", "aws-cdk", "infrastructure-as-code", "lab-disclosure", "package", "redshift"]
not_affected_if: ["alpha-module-unused", "developer-authored-values-only"]
published_at: "2026-10-26T00:00:00+00:00"
first_seen_at: "2026-10-26T17:08:20+00:00"
updated_at: "2026-10-26T17:10:09+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"}]
---

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

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`
- Look for uses of the Redshift user, table or privilege constructs from that package in the CDK application

## Fix

- Upgrade `@aws-cdk/aws-redshift-alpha` to `2.274.0` or later
- After upgrading, review existing table grants to PUBLIC

## 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)

## 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_
