{"schemaVersion":3,"id":"CVE-2026-8838","aliases":["GHSA-29h4-r29x-hchv","PYSEC-2026-521","CGA-9rjq-25cv-75hg","CGA-w53h-83xw-46r2","CGA-6pm4-426p-gcgm","CGA-rwq3-jj9h-gfc5"],"status":"published","duplicateOf":null,"title":null,"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.\n\n\n\nTo remediate this issue, users should upgrade to version 2.1.14.","dates":{"published":"2026-05-18T20:15:37.933Z","modified":"2026-05-19T12:56:12.712Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00803,"percentile":0.55937,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.00499999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00808},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00803,"percentile":0.55937}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00803,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00803,"percentile":0.55937}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"chainguard","product":"airflow-2","name":"airflow-2","label":"airflow-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"airflow-3","name":"airflow-3","label":"airflow-3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-3","purlType":"apk","versions":[{"text":"< 3.2.1-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.1-r4","eol":null,"hubHref":null},{"vendor":"wolfi","product":"airflow-3","name":"airflow-3","label":"airflow-3","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/airflow-3","purlType":"apk","versions":[{"text":"< 3.2.1-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.1-r4","eol":null,"hubHref":null},{"vendor":"aws","product":"amazon redshift connector for python","name":"Amazon Redshift connector for Python","label":"amazon redshift connector for python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.1.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.1.13","eol":null,"hubHref":"/vendor/aws/amazon_redshift_connector_for_python"},{"vendor":"PyPI","product":"redshift-connector","name":"redshift-connector","label":"redshift-connector","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/redshift-connector","purlType":"pypi","versions":[{"text":"< 2.1.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.14","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14","label":"github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.14","hostname":"github.com","tags":["Patch","WEB","FIX"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-033-aws/","label":"aws.amazon.com/security/security-bulletins/2026-033-aws/","hostname":"aws.amazon.com","tags":["Vendor Advisory","Advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv","label":"github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-29h4-r29x-hchv","hostname":"github.com","tags":["Third Party Advisory","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8838","label":"nvd.nist.gov/vuln/detail/CVE-2026-8838","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/commit/69a69dfdead75918e20384da52bcd760ded8dbca","label":"github.com/aws/amazon-redshift-python-driver/commit/69a69dfdead75918e20384da52bcd760ded8dbca","hostname":"github.com","tags":["WEB"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-033-aws","label":"aws.amazon.com/security/security-bulletins/2026-033-aws","hostname":"aws.amazon.com","tags":["WEB"]},{"url":"https://github.com/aws/amazon-redshift-python-driver","label":"github.com/aws/amazon-redshift-python-driver","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/redshift-connector","label":"pypi.org/project/redshift-connector","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-29h4-r29x-hchv","label":"github.com/advisories/GHSA-29h4-r29x-hchv","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8838.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8838.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-44F7-MM2V-VVG6"]},"timeline":[{"kind":"published","date":"2026-05-18T20:15:37.933Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-19T12:56:12.712Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:08:47.058Z","stale":false,"partial":false}}