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
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
@aws-cdk/aws-redshift-alphato a version that resolves this vulnerability.Fixed in 2.274.0-alpha.0 - Operational
Review existing Amazon Redshift table grants to PUBLIC.
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to influence construct property values used by the database-query custom resource handlers. The affected inputs are crafted user names, comments, or passwords, and successful exploitation runs SQL with Amazon Redshift superuser privileges.
Are deployments using the affected module exposed by default?
Exposure depends on whether untrusted parties can influence the relevant construct property values. The issue is in the database-query custom resource handlers of @aws-cdk/aws-redshift-alpha versions before 2.274.0-alpha.0.
What should be done after upgrading?
Upgrade @aws-cdk/aws-redshift-alpha to version 2.274.0-alpha.0 or later. Also review existing Amazon Redshift table grants to PUBLIC, because the injected SQL could grant access to all cluster users.