aws/aws-advanced-python-wrapper · Security
AWS Advanced Python Wrapper: Privilege Escalation in Aurora PostgreSQL instance
- GHSA ID
- GHSA-4jvf-wx3f-2x8q
- CVE ID
- CVE-2025-12967
- Severity
- high
- Published
- Updated
- CVSS
- 8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS v4
- 8.6 · 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
Description
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 [email protected]
Affected products & versions:
AWS Python Wrapper < 1.4.0
Platforms:
MacOS/Windows/Linux
CWEs
- CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
References
- https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9 ↗
- https://github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh ↗
- https://github.com/aws/aws-advanced-python-wrapper/security/advisories/GHSA-4jvf-wx3f-2x8q ↗
- https://github.com/aws/aws-pgsql-odbc/security/advisories/GHSA-q327-fgm8-7mxf ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-12967 ↗
- https://github.com/aws/aws-advanced-python-wrapper/pull/1007 ↗
- https://aws.amazon.com/security/security-bulletins/AWS-2025-028 ↗
- https://github.com/aws/aws-advanced-python-wrapper/releases/tag/1.4.0 ↗
- https://github.com/advisories/GHSA-4jvf-wx3f-2x8q ↗