criticalCVSS 9.8Vulnerability

CVE-2026-8838

### Summary amazon-redshift-python-driver is the official Python connector for Amazon Redshift. In versions 2.1.13 and earlier, the driver insufficiently validates data received from the server during query result processing. A rogue server or man-in-the-middle could leverage this to execute arbitrary code on the client. ### Impact When a client connects to a rogue server implementing the PostgreSQL wire protocol, the server can send specially crafted query responses that the driver processes without adequate input validation. This could result in arbitrary code execution in the client process, potentially enabling command execution, file system access, or credential theft with the privileges of the client application. Impacted versions: <=2.1.13 ### Patches This has been addressed in amazon-redshift-python-driver version 2.1.14 (https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14). Amazon Redshift recommends upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. ### References If there are any questions or comments about this advisory, contact AWS Security via the issue reporting page or directly via email to [email protected]. Please do not create a public GitHub issue. ### Acknowledgement Amazon Redshift would like to thank Kexin Chen (@ckx-sec) for collaborating through the coordinated disclosure process.

Properties

severity
critical
summary
amazon-redshift-python-driver vulnerable to Remote Code Execution via eval() Injection
epss_score
0.00808
cvss_score
9.8
ghsa_published
2026-05-29T19:32:28Z
source_url
https://github.com/advisories/GHSA-29h4-r29x-hchv
ghsa_updated
2026-06-02T21:41:31Z
ghsa_id
GHSA-29h4-r29x-hchv
cve_id
CVE-2026-8838
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
is_ghsa_only
false
epss_percentile
0.53847

Related Entities (5)

ENRICHED_BY (1)

[Source]FIRST EPSS

HAS_WEAKNESS (1)

[Weakness]Improper Control of Generation of Code ('Code Injection')

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]pip/redshift-connector

AFFECTS (1)

[Software]pip/redshift-connector

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-8838 (CVSS 9.8) — Ninja Signal Threat Intelligence | Ninja Signal