CVE-2026-8838 Remote Code Execution via eval() Injection in amazon-redshift-python-driver

Critical 9.3 Published Updated

A malicious server or man-in-the-middle can execute arbitrary code on the client via unsafe eval() usage in the Amazon Redshift Python driver.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-8838?

CVE-2026-8838 is a critical code injection vulnerability in AWS Amazon Redshift connector for Python, published on 18 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unsafe use of Python's eval() on server-received data in the vector_in() function in amazon-redshift-python-driver before 2.1.14 allows a rogue server or man-in-the-middle actor to execute arbitrary code on the client.

To remediate this issue, users should upgrade to version 2.1.14.

Weakness: CWE-94

Which versions are affected by CVE-2026-8838?

3 open source packages ship an affected version, including redshift-connector.

PackageAffectedFixed in
redshift-connector PyPIAll versions2.1.14
redshift-connector PyPIAll versions2.1.14
redshift-connector PyPIAll versions2.1.14

How do I fix CVE-2026-8838?

Upgrade redshift-connector to 2.1.14 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-8838 being exploited?

There is no known exploitation of CVE-2026-8838 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as CLEANSTART-2026-JT05441, CLEANSTART-2026-LW51175, ECHO-6de6-5ca5-2794, GHSA-29h4-r29x-hchv, MINI-33hh-hmhw-833f, MINI-76wp-jcw2-w3xp and 2 more.

Is CVE-2026-8838 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free