CVE-2026-115418

SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS) Cloud Development Kit (CDK) @aws-cdk/aws-redshift-alpha

Published Oct 26, 2026 CVSS 4.0 · 7 High EPSS < 1% KEV · Not listed
Description
SQL injection in the database-query custom resource handlers in the Amazon Web Services (AWS) Cloud Development Kit (CDK) @aws-cdk/aws-redshift-alpha module before 2.274.0-alpha.0 could allow a third party who can influence construct property values to run SQL statements with Amazon Redshift superuser privileges, including granting access to all cluster users. The statements are reachable through crafted user names, comments, or passwords.



To remediate this issue, users should upgrade to version 2.274.0-alpha.0 or later and review existing table grants to PUBLIC.

Analysis

AI-generated

Technical impact

SQL injection vulnerabilities in custom resource handlers for database-query within the AWS CDK @aws-cdk/aws-redshift-alpha module enable an attacker who can influence construct property values to execute arbitrary SQL statements with Redshift superuser privileges. This flaw, identified as CWE-89, allows privileged operations such as granting access to all cluster users. The impact is that an attacker could effectively execute arbitrary database commands, potentially leading to data exfiltration, unauthorized modifications, or escalation to full cluster control.

Affected Systems

Vulnerable code is present in the AWS CDK aws-redshift-alpha module in versions preceding 2.274.0-alpha.0. Any project that imports or depends on this module and deploys Redshift cluster resources may be affected if it uses an earlier release. The issue does not affect deployments that use version 2.274.0-alpha.0 or later.

Risk and Exploitability

The CVSS score of 7 indicates high severity. EPSS is not available, but the lack of KEV listing suggests no confirmed public exploitation yet. The attack requires an attacker to influence construct property values; thus, trust boundaries and access control around the CDK code are critical. If an attacker gains control over those values, they can run malicious SQL through the superuser, which is a severe risk for any organization using Redshift clusters via this module.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the AWS CDK aws-redshift-alpha module to version 2.274.0-alpha.0 or later.
  • Review existing table grants, especially those to PUBLIC, and modify them to follow least privilege principles.
  • Ensure that construct property values that reach the database-query feature are only set by trusted sources and validated to prevent injection.

Generated by OpenCVE AI on October 26, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description SQL injection in the database-query custom resource handlers in the Amazon Web Services (AWS) Cloud Development Kit (CDK) @aws-cdk/aws-redshift-alpha module before 2.274.0-alpha.0 could allow a third party who can influence construct property values to run SQL statements with Amazon Redshift superuser privileges, including granting access to all cluster users. The statements are reachable through crafted user names, comments, or passwords. To remediate this issue, users should upgrade to version 2.274.0-alpha.0 or later and review existing table grants to PUBLIC.
Title SQL injection in the database-query custom resource handlers in Amazon Web Services (AWS) Cloud Development Kit (CDK) @aws-cdk/aws-redshift-alpha
First Time appeared Aws
Aws aws-cdk Aws-redshift-alpha
Weaknesses CWE-89
CPEs cpe:2.3:a:aws:aws-cdk_aws-redshift-alpha:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws-cdk Aws-redshift-alpha
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Nov 2, 2026, 9:23 PM
Reserved
Oct 22, 2026, 1:19 PM
Status
Awaiting Analysis
Published
Oct 26, 2026, 5:17 PM
Modified
Nov 2, 2026, 10:17 PM