CWE-470Weakness · CWE-470

CVE-2026-8178

HIGH · 8.1 CVSS v3.1 Published 2026-05-08
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
90/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Amazon Redshift JDBC Driver versions prior to 2.2.2 contains a class-loading vulnerability where malicious JDBC connection URL parameters can trigger the driver to dynamically load and instantiate arbitrary classes available on the application's classpath, leading to remote code execution in the application context.

MitigationUpgrade Amazon Redshift JDBC Driver to version 2.2.2 or later. Additionally, validate and sanitize all JDBC connection URL parameters to prevent user-controlled input from influencing class loading operations.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate the Amazon Redshift JDBC Driver JAR file
    Search for JAR files containing 'redshift' in the filename within your application lib directory, WEB-INF/lib, or classpath. Common naming patterns include redshift-jdbc*.jar or AmazonRedshift*.jar.
    Affected if The driver JAR file is present in the application classpath
  2. Determine the installed driver version
    Open the JAR file and locate the manifest file (META-INF/MANIFEST.MF) or check the filename itself for the version number. Alternatively, if using Maven or Gradle, run 'mvn dependency:tree' or 'gradle dependencies' and filter for redshift.
    Affected if Version cannot be determined or is before 2.2.2
  3. Check for vulnerable driver in dependency manifests
    Review pom.xml, build.gradle, package-lock.json, or other dependency management files for the Amazon Redshift JDBC Driver version entry. Search for 'redshift' under dependencies or dependencyManagement sections.
    Affected if A redshift jdbc driver dependency with version less than 2.2.2 is declared
  4. Verify if connection URLs accept external input
    Examine the code that constructs or receives JDBC connection URLs. Determine whether connection URL parameters originate from user input, API parameters, configuration files controlled by users, or other untrusted sources.
    Affected if Connection URLs or their parameters can be influenced by untrusted or external input

The environment is affected if the Amazon Redshift JDBC Driver version is below 2.2.2 and connection URLs can be controlled or influenced by untrusted input.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade Amazon Redshift JDBC Driver to version 2.2.2 or later. Additionally, validate and sanitize all JDBC connection URL parameters to prevent user-controlled input from influencing class loading operations.

Recommended fix High confidence

2.2.2 or later

  1. Identify the build system used for your project (Maven, Gradle, or direct JAR dependency)
  2. Locate the Amazon Redshift JDBC Driver dependency in your project's build configuration file (pom.xml, build.gradle, or similar)
  3. Update the driver version to 2.2.2 or later
  4. Rebuild and test your application to ensure the upgrade does not introduce issues
  5. Redeploy the updated application

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,390
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-8178 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-8178 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data