CVE-2025-12967
Python vulnerability analysis and mitigation

Overview

An issue in AWS Wrappers for Amazon Aurora PostgreSQL (CVE-2025-12967) was discovered that affects multiple AWS database connectors. The vulnerability was disclosed on November 10, 2025, affecting AWS JDBC Wrapper (<2.6.5), AWS Go Wrapper (<2025-10-17), AWS NodeJS Wrapper (<2.0.1), AWS Python Wrapper (<1.4.0), and AWS PGSQL ODBC driver (<1.0.1). The vulnerability was reported by security researcher Allistair Ishmael Hakim (AWS Security Bulletin).

Technical details

The vulnerability exists due to unqualified PostgreSQL function calls in SQL queries. The CVSS score is 8.0 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. The issue is classified as CWE-470 (Use of Externally-Controlled Input to Select Classes or Code). The vulnerability occurs because the AWS Wrappers construct and execute SQL queries that call PostgreSQL functions without explicitly specifying the pg_catalog schema (Miggo Analysis).

Impact

A low privilege authenticated user can create a crafted function that could be executed with permissions of other Amazon Relational Database Service (RDS) users, potentially leading to privilege escalation to rds_superuser role. This could allow unauthorized access to sensitive database operations and data (AWS Security Bulletin).

Mitigation and workarounds

AWS recommends upgrading to the following patched versions: AWS JDBC Wrapper to v2.6.5, AWS Go Wrapper to 2025-10-17, AWS NodeJS Wrapper to v2.0.1, AWS Python Wrapper to v1.4.0, and AWS PGSQL ODBC driver to v1.0.1. As a workaround, users can remove the public schema from the search path (AWS Security Bulletin).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management