CVE-2026-8838: CWE-94: Improper Control of Generation of Code ('Code Injection') in AWS Amazon Redshift connector for Python
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.
AI Analysis
Technical Summary
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.
CVE-2026-8838: CWE-94: Improper Control of Generation of Code ('Code Injection') in AWS 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
Affected software
pkg:pypi/amazon-redshift-python-driverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.