CVE-2026-8838: Amazon Redshift connector for Python · Code Injection
Affects Amazon Redshift connector for PythonSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical : upgrade to 2.1.14 as a priority.
Data as of 19 Nov 2026, 20:26 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.14
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade amazon-redshift-python-driver to 2.1.14.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| AWSAmazon Redshift connector for Python | Affected
| Fixed in– |
PyPIamazon-redshift-python-driverpkg:pypi/amazon-redshift-python-driverOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and users should upgrade to Amazon Redshift connector for Python version 2.1.14 or later. This official fix addresses the unsafe use of eval() and mitigates the code injection vulnerability. No other mitigation steps are indicated by the vendor advisory.
Description
CVE-2026-8838 is a critical code injection vulnerability in the Amazon Redshift connector for Python. It arises from unsafe use of Python's eval() function on data received from the server in the vector_in() function. This flaw allows a rogue server or man-in-the-middle attacker to execute arbitrary code on the client. The vulnerability affects versions up to 2.1.13 and is fixed in version 2.1.14. Users should upgrade to 2.1.14 to remediate this issue.