AWS Amazon Redshift connector for Python
Remote Code Execution via eval() Injection in amazon-redshift-python-driver
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.
First public PoC
16 hafter publication · 19 May 2026
Public PoCs22 on GitHub
CVSS9.8critical · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
AWS Amazon Redshift connector for Python
- <= 2.1.13
redshift-connector (PyPI)
- < 2.1.14
Fixed in 2.1.14
from GitHub Security Advisory GHSA-29h4-r29x-hchv
Mitigation
Upgrade redshift-connector to 2.1.14 or later.
References
- Patch github.com/aws/amazon-redshift-python-driver/r…
- Vendor advisory aws.amazon.com/security/security-bulletins/2026-03…
- Vendor advisory github.com/aws/amazon-redshift-python-driver/s…
Timeline
Days relative to CVE publicationFirst public PoC 16 h after publication; not in CISA KEV. First PoC: Maxime288/CVE-2026-8838-RCE (created 19 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Maxime288/CVE-2026-8838-RCE | 19 May 2026 +16 h | 0 | PoC |
| Sana-404/CVE-2026-8838-Mitigation-and-Detection | 16 Jul 2026 +58 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.