Skip to main content
VulnerabilityPublished Updated

CVE-2024-12745: Amazon Redshift Python Connector · SQL Injection

Affects Amazon Redshift Python ConnectorSource CVE Database V5

0

Not known to be exploited · CVSS 8.6 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Amazon Amazon Redshift Python ConnectorAffected
  • =2.1.4
Fixed in–

AI-suggested

Organizations should immediately upgrade the Amazon Redshift Python Connector to version 2.1.5, which contains the fix for this vulnerability. If upgrading is not immediately feasible, reverting to version 2.1.3 is a temporary mitigation. Beyond patching, organizations should implement strict access controls and monitoring on Redshift environments, including limiting use of the vulnerable Metadata APIs to trusted users only. Employing Web Application Firewalls (WAFs) or database activity monitoring tools to detect anomalous SQL queries can help identify exploitation attempts. Regularly auditing database permissions and reviewing logs for suspicious activity is critical. Additionally, organizations should enforce the principle of least privilege for users interacting with Redshift and consider network segmentation to isolate critical data environments. Training developers and administrators on secure coding and query parameterization can prevent similar injection flaws in custom integrations.

Description

A SQL injection in the Amazon Redshift Python Connector v2.1.4 allows a user to gain escalated privileges via the get_schemas, get_tables, or get_columns Metadata APIs. Users are recommended to upgrade to the driver version 2.1.5 or revert to driver version 2.1.3.

References

Community reviews

Loading reviews…