CVE-2025-12967: AWS Advanced Python Wrapper: Privilege Escalation in Aurora PostgreSQL instance
Description of Vulnerability:
An issue in AWS Wrappers for Amazon Aurora PostgreSQL may allow for privilege escalation to rds_superuser role. A low privilege authenticated user can create a crafted function that could be executed with permissions of other Amazon Relational Database Service (RDS) users.
AWS recommends customers upgrade to the following versions: AWS Python Wrapper to v1.4.0
Source of Vulnerability Report:
Allistair Ishmael Hakim allistair.hakim@gmail.com
Affected products & versions:
AWS Python Wrapper < 1.4.0
Platforms:
MacOS/Windows/Linux
References
- aws.amazon.com/security/security-bulletins/AWS-2025-028
- github.com/advisories/GHSA-4jvf-wx3f-2x8q
- github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9
- github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh
- github.com/aws/aws-advanced-python-wrapper
- github.com/aws/aws-advanced-python-wrapper/pull/1007
- github.com/aws/aws-advanced-python-wrapper/releases/tag/1.4.0
- github.com/aws/aws-advanced-python-wrapper/security/advisories/GHSA-4jvf-wx3f-2x8q
- github.com/aws/aws-pgsql-odbc/security/advisories/GHSA-q327-fgm8-7mxf
- nvd.nist.gov/vuln/detail/CVE-2025-12967
Code Behaviors & Features
Detect and mitigate CVE-2025-12967 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →