CVE-2025-12967
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. We recommend customers upgrade to the following 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
What to do
Fixed builds are available from Go, Maven, PyPI, npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | aws-advanced-nodejs-wrapper | Fixed | 2.0.1 | GHSA-8wj8-cfxr-9374 |
| PyPI library | aws-advanced-python-wrapper | Fixed | 1.4.0 | GHSA-4jvf-wx3f-2x8q |
| Go library | github.com/aws/aws-advanced-go-wrapper/auth-helpers | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/awssql | Fixed | 1.1.1 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/federated-auth | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/iam | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/mysql-driver | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/okta | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/otlp | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/pgx-driver | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Go library | github.com/aws/aws-advanced-go-wrapper/xray | Fixed | 1.0.2 | GHSA-7wq2-32h4-9hc9 |
| Maven library | software.amazon.jdbc:aws-advanced-jdbc-wrapper | Fixed | 2.6.5 | GHSA-7xw4-g7mm-r4hh |
What the vendor says
As published in the CVE record by AMZN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- AWS JDBC Wrapper: affected: 2.6.5 not affected
- AWS Go Wrapper: affected: 2025-10-17 not affected
- AWS NodeJS Wrapper: affected: 2.0.1 not affected
- AWS Python Wrapper: affected: 1.4.0 not affected
- AWS ODBC driver: affected: 1.0.1
Vendor advisories:
- https://aws.amazon.com/security/security-bulletins/AWS-2025-028/ (vendor-advisory)
- https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.5 (patch)
- https://github.com/aws/aws-advanced-go-wrapper/releases/tag/release-2025-10-17 (patch)
- https://github.com/aws/aws-advanced-python-wrapper/releases/tag/1.4.0 (patch)
- https://github.com/aws/aws-pgsql-odbc/releases/tag/1.0.1 (patch)
- https://github.com/aws/aws-advanced-nodejs-wrapper/releases/tag/2.0.1 (patch)
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-028/
- https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.5
- https://github.com/aws/aws-advanced-go-wrapper/releases/tag/release-2025-10-17
- https://github.com/aws/aws-advanced-python-wrapper/releases/tag/1.4.0
- https://github.com/aws/aws-pgsql-odbc/releases/tag/1.0.1
- https://github.com/aws/aws-advanced-nodejs-wrapper/releases/tag/2.0.1
- https://github.com/aws/aws-advanced-python-wrapper/security/advisories/GHSA-4jvf-wx3f-2x8q
- https://github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh
- https://github.com/aws/aws-pgsql-odbc/security/advisories/GHSA-q327-fgm8-7mxf
- https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9
- https://github.com/aws/aws-advanced-nodejs-wrapper/security/advisories/GHSA-8wj8-cfxr-9374
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.