Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl JDBC connection URL parameters
-
DeliveryInject malicious class references in URL
-
ExploitApplication passes crafted URL to vulnerable driver
-
ExecutionDriver loads attacker-specified classes
-
PersistExecute gadget chain from classpath
-
ImpactAchieve remote code execution in application context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
|
| Exploitation Conditions | Exploitation requires that the attacker can influence or control JDBC connection URL parameters passed to the Amazon Redshift JDBC Driver by the target application. This typically occurs in scenarios where applications dynamically construct connection URLs from user input, external configuration files, environment variables, or API parameters rather than using hardcoded connection strings. Additionally, successful remote code execution depends on the presence of exploitable classes (Java deserialization gadgets) on the application's classpath, such as libraries from Apache Commons Collections, Spring Framework, or similar components commonly used in Java enterprise applications. Limiting exploitation: requires high attack complexity (AC:H) and specific attack prerequisites (AT:P) per CVSS vector, meaning most standard deployments with static configuration are not exploitable. Vulnerability primarily affects multi-tenant systems, database management interfaces, ETL tools, or applications with user-configurable data source connections. |
| Impact | Despite Critical CVSS 9.2 rating, real-world exploitation complexity is high (AC:H, AT:P). The CVSS vector indicates network-based attack (AV:N) requiring no authentication (PR:N) or user interaction (UI:N), but attack complexity is HIGH and attack prerequisites are PRESENT. Exploitation requires: (1) attacker ability to control or influence JDBC connection URL parameters used by the application, (2) presence of exploitable classes on the application's classpath (not guaranteed), and (3) application behavior that passes attacker-influenced URLs to the driver. In typical enterprise deployments, connection URLs are hardcoded or administrator-controlled, limiting attack surface to scenarios where applications accept external input for database connections (configuration interfaces, multi-tenant systems, dynamic connection routing). AWS released official patch v2.2.2 with security advisory and GitHub release. No EPSS score, KEV status, or public POC data provided in input, suggesting limited observed exploitation at time of disclosure. This appears to be a proactive vendor disclosure rather than response to active exploitation. Priority should focus on applications that dynamically construct JDBC URLs from user input or external configuration sources. |
| Exploit ScenarioDerived | An attacker identifies a web application that allows users to configure custom database connections or accepts connection parameters through an API. The attacker crafts a malicious JDBC URL containing parameters that reference exploit gadget classes (such as those in Apache Commons Collections or Spring Framework libraries commonly present on Java application classpaths). When the application passes this URL to the vulnerable Redshift JDBC driver, the driver loads and instantiates the referenced classes, triggering a deserialization chain that executes arbitrary code in the application's security context, allowing the attacker to compromise the server, access sensitive data, or pivot to backend systems. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Remote code execution in Amazon Redshift JDBC Driver versions prior to 2.2.2 allows unauthenticated network attackers to execute arbitrary code by manipulating JDBC connection URL parameters under high-complexity conditions. The driver can be exploited to load and execute arbitrary classes from the application's classpath when specific connection URL parameters are controlled by an attacker. AWS released patch version 2.2.2 with GHSA advisory GHSA-wmmv-vvg5-993q. CVSS 9.2 (Critical) reflects high impact across confidentiality, integrity, and availability, though attack complexity is high and attack vector prerequisites are present.
RemediationAI
Upgrade Amazon Redshift JDBC Driver to version 2.2.2 or later immediately. Update Maven/Gradle dependencies to com.amazon.redshift:redshift-jdbc42:2.2.2 (JDBC 4.2) or equivalent for your Java version. Download direct JAR from https://github.com/aws/amazon-redshift-jdbc-driver/releases/tag/v2.2.2 if not using dependency management. If immediate upgrade is not feasible, implement these compensating controls: (1) Validate and sanitize all JDBC connection URL parameters before passing to the driver, specifically rejecting URLs containing unexpected properties or class references, (2) Use allowlist-based validation accepting only known-safe connection parameters (host, port, database, standard auth properties), (3) Avoid constructing JDBC URLs from user-supplied input or external configuration sources, (4) If dynamic URL construction is required, implement strict input validation and consider running the application with a restricted classpath to limit available gadget classes, reducing exploitation impact. Note that classpath restriction may break legitimate application functionality if required libraries are removed. Full mitigation requires patching; workarounds only reduce attack surface. Review AWS security bulletin https://aws.amazon.com/security/security-bulletins/2026-028-aws/ for additional vendor guidance.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability (CWE-470: Use of Externally-Controlled Input to Select Classes or Code) affects the Amazon Redshift JDBC Driver, a Java Database Connectivity implementation for connecting applications to AWS Redshift data warehouses. JDBC drivers parse connection URLs containing parameters that control driver behavior. The flaw allows unsafe deserialization or class loading when processing attacker-controlled URL parameters. If malicious parameters reference classes present on the application's classpath (such as gadget chains common in Java environments), the driver instantiates and executes them. This is a classic insecure deserialization/unsafe reflection pattern in Java applications, similar to historical vulnerabilities in other JDBC drivers (PostgreSQL, MySQL) where connection properties trigger code execution. The CPE identifies all versions of amazon:amazon_redshift_jdbc_driver prior to 2.2.2 as affected.
Know when Amazon Redshift Jdbc Driver gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (AMZN) · only source for this CVE.
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 9 maven packages depend on com.amazon.redshift:redshift-jdbc42 (5 direct, 4 indirect)
Ecosystem-wide dependent count for version 2.2.2.
Executive ViewAI
Amazon Redshift JDBC Driver versions prior to 2.2.2 contain a critical remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary code by manipulating connection URL parameters. Organizations using Redshift JDBC drivers in applications with untrusted network access must prioritize immediate patching to prevent potential data breach, system compromise, and operational disruption across analytics and data warehouse operations.
Apply vendor patch. Until patched, implement network segmentation to restrict untrusted access to systems running vulnerable Redshift JDBC Driver versions; enforce authentication and authorization controls at the application layer for JDBC connection requests; monitor and log JDBC connection attempts for anomalous URL parameters.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-28814
GHSA-wmmv-vvg5-993q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB