---
id: CVE-2026-8838
title: >-
  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
summary: >-
  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 t…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
published: '2026-05-18'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8838'
references:
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-033-aws/'
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
  - url: 'https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14'
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
  - url: >-
      https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8838'
  - url: >-
      https://github.com/aws/amazon-redshift-python-driver/commit/69a69dfdead75918e20384da52bcd760ded8dbca
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-033-aws'
  - url: 'https://github.com/aws/amazon-redshift-python-driver'
tags:
  - nvd
  - exploit-available
  - osv
  - pip
epss: 0.00803
epssPercentile: 0.54843
ingestedAt: '2026-07-23T20:19:18.693Z'
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/Maxime288/CVE-2026-8838-RCE'
    - 'https://github.com/Sana-404/CVE-2026-8838-Mitigation-and-Detection'
  checkedAt: '2026-09-26T09:06:04.202Z'
exploitAvailable: true
aliases:
  - GHSA-29h4-r29x-hchv
  - PYSEC-2026-521
ecosystem: pip
vendor: redshift-connector
product: redshift-connector
affected:
  - redshift-connector < 2.1.14
patched:
  - redshift-connector 2.1.14
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-8838)

Affected packages:

- `redshift-connector < 2.1.14`

Patched in:

- `redshift-connector 2.1.14`

Source: https://osv.dev/vulnerability/GHSA-29h4-r29x-hchv
