CVE-2026-8178

Remote Code Execution via Unsafe Class Loading in Amazon Redshift JDBC Driver

State
Published
Severity
9.2 Critical
Published
May 8, 2026
Updated
Oct 20, 2026
Reserved
May 8, 2026

Read the record on cve.org

Description

An issue exists in Amazon Redshift JDBC Driver versions prior to 2.2.2. Under certain conditions, the driver could load and execute arbitrary classes when processing JDBC connection URL parameters. An actor who can influence the connection URL could potentially execute code in the application context, provided a suitable class is available on the application's classpath.

To mitigate this issue, users should upgrade to version 2.2.2 or later.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAMZN
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAMZN

Weaknesses

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code

Affected Products

ProductVersions
Amazon Redshift JDBC DriverAmazon
  • before 2.2.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.