Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 48%

CVE-2026-8838: CWE-94: Improper Control of Generation of Code ('Code Injection') in AWS Amazon Redshift connector for Python

0
Critical
VulnerabilityCVE-2026-8838cvecve-2026-8838cwe-94
Published: 05/18/2026 (05/18/2026, 20:15:37 UTC)
Source: CVE Database V5
Vendor/Project: AWS
Product: Amazon Redshift connector for Python

Description

CVE-2026-8838 is a critical code injection vulnerability in the AWS Amazon Redshift connector for Python. It arises from unsafe use of Python's eval() function on server-supplied data within the vector_in() function. This flaw allows a malicious server or man-in-the-middle attacker to execute arbitrary code on the client system. AWS has released version 2.1.14 of the connector to fix this issue. The vulnerability has a CVSS score of 9.8, indicating a critical impact on confidentiality, integrity, and availability.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

amazon-redshift-python-driver
pkg:pypi/amazon-redshift-python-driver
Affected versions
=0<2.1.14

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 16:52:35 UTC

Technical Analysis

CVE-2026-8838 is a critical vulnerability in the AWS Amazon Redshift connector for Python versions prior to 2.1.14. The vulnerability is due to the unsafe use of Python's eval() function on data received from the server in the vector_in() function, which can lead to arbitrary code execution on the client. This allows a rogue server or man-in-the-middle attacker to execute code remotely. AWS has addressed this issue by releasing version 2.1.14 of the connector. The vulnerability has a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting critical impact on confidentiality, integrity, and availability.

Potential Impact

Exploitation of this vulnerability allows an attacker controlling the server or positioned as a man-in-the-middle to execute arbitrary code on the client system running the vulnerable Amazon Redshift Python connector. This compromises confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

AWS has released version 2.1.14 of the Amazon Redshift connector for Python to address this vulnerability. Users should upgrade to version 2.1.14 or later to mitigate this issue. Since this is a client-side library, remediation requires updating the connector in client environments. The vendor advisory should be consulted for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
AMZN
Date Reserved
2026-05-18T14:57:04.276Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true
Vendor Advisory Urls
[{"url":"https://aws.amazon.com/security/security-bulletins/2026-033-aws/","vendor":"AWS"}]

Threat ID: 6a0b7bdbec166c07b0f9e882

Added to database: 05/18/2026, 20:51:39 UTC

Last enriched: 06/10/2026, 16:52:35 UTC

Last updated: 07/07/2026, 10:33:24 UTC

Views: 176

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses