{"id":"CVE-2026-8838","published":"2026-05-18T20:15:37Z","modified":"2026-05-19T12:56:12Z","title":"Remote Code Execution via eval() Injection in amazon-redshift-python-driver","vendor":"AWS","product":"Amazon Redshift connector for Python","tier":"tail","description":{"text":"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. \n\n\n\nTo remediate this issue, users should upgrade to version 2.1.14.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00808,"percentile":0.57758,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14","tags":["patch"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-033-aws/","tags":["vendor-advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv","tags":["third-party-advisory"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":11.55},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"aws","affectedVersions":[{"vendor":"AWS","product":"Amazon Redshift connector for Python","versions":["<= 2.1.13"]}],"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-19T12:56:00.394264Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"redshift-connector","vulnerableRanges":["<2.1.14"],"patched":["2.1.14"],"from":["GHSA-29h4-r29x-hchv","PYSEC-2026-521"],"provenance":"source"}],"summary":{"text":"The Amazon Redshift connector for Python (amazon-redshift-python-driver) contains a code injection flaw: its vector_in() function passes server-supplied data to Python's eval() without safe handling, in versions before 2.1.14. An attacker who can act as a rogue server or sit in a man-in-the-middle position between the client and the server can run arbitrary code on the client, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:27Z"},"euvd":{"id":"EUVD-2026-30803","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-5279","published":"2025-05-27","fixed":"2.1.7","kev":false,"link":{"from":"CVE-2025-5279","to":"CVE-2026-8838","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:redshift-connector","fromFixed":"2.1.7","toFixed":"2.1.14","daysApart":356}]}},{"cve":"CVE-2026-8838","published":"2026-05-18","fixed":"2.1.14","kev":false}],"package":"PyPI:redshift-connector"}}