GHSA-wmmv-vvg5-993q

Suggest an improvement
Source
https://github.com/advisories/GHSA-wmmv-vvg5-993q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-wmmv-vvg5-993q/GHSA-wmmv-vvg5-993q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wmmv-vvg5-993q
Aliases
Published
2026-05-14T13:09:52Z
Modified
2026-05-14T13:26:35Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Amazon Redshift Vulnerable to Remote Code Execution via Unsafe Class Loading
Details

Summary

Amazon Redshift JDBC Driver is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs). An issue exists in versions prior to 2.2.2 where the driver could load arbitrary classes when processing certain connection URL parameters, potentially allowing code execution in the application context.

Impact

When a JDBC connection URL contains certain parameters, the driver processes the parameter values in a way that could trigger the execution of code from classes available on the application's classpath. An actor who can influence the JDBC connection URL could leverage this to execute code in the context of the application's JVM process. Successful exploitation could allow the actor to read sensitive data, modify application state, or disrupt service availability with the privileges of the application process.

Impacted versions: Amazon Redshift JDBC Driver < 2.2.2

Patches

This issue has been addressed in Amazon Redshift JDBC Driver version 2.2.2. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

References

If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

Acknowledgement

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

Database specific
{
    "cwe_ids":  [
        "CWE-470"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-14T13:09:52Z",
    "nvd_published_at":  "2026-05-08T19:16:31Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Maven / com.amazon.redshift:redshift-jdbc42

Package

Name
com.amazon.redshift:redshift-jdbc42
View open source insights on deps.dev
Purl
pkg:maven/com.amazon.redshift/redshift-jdbc42

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.2.2

Affected versions

2.*
2.0.0.3
2.0.0.4
2.0.0.5
2.0.0.6
2.0.0.7
2.1.0.1
2.1.0.2
2.1.0.3
2.1.0.4
2.1.0.5
2.1.0.6
2.1.0.7
2.1.0.8
2.1.0.9
2.1.0.10
2.1.0.11
2.1.0.12
2.1.0.13
2.1.0.14
2.1.0.15
2.1.0.16
2.1.0.17
2.1.0.18
2.1.0.19
2.1.0.20
2.1.0.21
2.1.0.22
2.1.0.23
2.1.0.24
2.1.0.25
2.1.0.26
2.1.0.27
2.1.0.28
2.1.0.29
2.1.0.30
2.1.0.31
2.1.0.32
2.1.0.33
2.1.0.34
2.2.0
2.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-wmmv-vvg5-993q/GHSA-wmmv-vvg5-993q.json"