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

- Severity: Critical 9.3 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-05-18T20:15:37.933Z
- Modified: 2026-09-10T03:50:45.272Z
- Also known as: GHSA-29h4-r29x-hchv, PYSEC-2026-521
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: AMZN

## 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.

(As written by CVE List.)

## Affected

- AWS Amazon Redshift connector for Python: up to 2.1.13
- redshift-connector (PyPI): before 2.1.14

## Every score

- AMZN: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- AMZN: CVSS:4.0 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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 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`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14> (patch, web)
- <https://aws.amazon.com/security/security-bulletins/2026-033-aws/> (vendor-advisory)
- <https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-8838> (advisory)
- <https://github.com/aws/amazon-redshift-python-driver/commit/69a69dfdead75918e20384da52bcd760ded8dbca> (web)
- <https://aws.amazon.com/security/security-bulletins/2026-033-aws> (web)
- <https://github.com/aws/amazon-redshift-python-driver> (package)
- <https://pypi.org/project/redshift-connector> (package)
- <https://github.com/advisories/GHSA-29h4-r29x-hchv> (advisory)

## Sources

- CVE List: [CVE-2026-8838](https://www.cve.org/CVERecord?id=CVE-2026-8838), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-29h4-r29x-hchv](https://github.com/advisories/GHSA-29h4-r29x-hchv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-8838](https://nvd.nist.gov/vuln/detail/CVE-2026-8838), Public domain, modified 2026-07-23
- PyPA Advisory Database: [PYSEC-2026-521](https://osv.dev/vulnerability/PYSEC-2026-521), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-8838 · Whole record: https://cve.day/CVE-2026-8838.json · Rebuilt by cve.day 2026-11-25T22:59:21.936Z
