CVE-2025-12967
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn 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
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA privilege escalation vulnerability exists in AWS database wrappers for Amazon Aurora PostgreSQL where a low-privilege authenticated user can create a crafted function that executes with the permissions of other RDS users, potentially achieving rds_superuser privileges. The flaw appears to stem from improper handling of function execution contexts or permission delegation within the wrapper libraries.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the AWS database wrapper in useExamine your project's dependency files (e.g., pom.xml, package.json, requirements.txt, go.mod) to find AWS database wrapper libraries such as aws-jdbc-driver, aws-go-rds-connector, aws-nodejs-rds, aws-python-rds, or psqlodbcAffected if Any of these AWS database wrappers are present in the project dependencies
-
Check the installed wrapper versionRun the appropriate version check command for your package manager: mvn dependency:tree for Maven, npm list for npm, pip show for pip, or go list -m for Go modulesAffected if The wrapper version cannot be determined or is older than the fixed versions
-
Compare version against fixed releasesMatch your installed version to: AWS JDBC Wrapper <2.6.5, AWS Go Wrapper older than 2025-10-17, AWS NodeJS Wrapper <2.0.1, AWS Python Wrapper <1.4.0, or PGSQL ODBC Driver <1.0.1Affected if Your installed wrapper version is lower than the fixed version for your respective language/driver
-
Verify connection target is Amazon Aurora PostgreSQLCheck your database connection configuration or connection string for aurora-postgresql or the specific Aurora endpoint patternAffected if The application connects to Amazon Aurora PostgreSQL instances
-
Confirm function execution or stored procedure usageReview application code for SQL function calls, CREATE FUNCTION statements, or stored procedure invocations through the wrapperAffected if The application executes custom SQL functions or stored procedures against the Aurora database
You are affected if your application uses any of the listed AWS database wrappers with a version lower than the fixed releases AND connects to Amazon Aurora PostgreSQL while using function execution features.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade affected AWS database wrappers to the specified versions: AWS JDBC Wrapper v2.6.5, AWS Go Wrapper 2025-10-17, AWS NodeJS Wrapper v2.0.1, AWS Python Wrapper v1.4.0, and AWS PGSQL ODBC driver v1.0.1.
AWS JDBC Wrapper v2.6.5, AWS Go Wrapper 2025-10-17, AWS NodeJS Wrapper v2.0.1, AWS Python Wrapper v1.4.0, or AWS PGSQL ODBC driver v1.0.1 depending on which wrapper is in use
- Identify which AWS database wrapper (JDBC, Go, NodeJS, Python, or PGSQL ODBC) your application uses
- Check the current version of the AWS wrapper library in your project dependencies
- For AWS JDBC Wrapper users: upgrade to version 2.6.5
- For AWS Go Wrapper users: upgrade to version 2025-10-17
- For AWS NodeJS Wrapper users: upgrade to version 2.0.1
- For AWS Python Wrapper users: upgrade to version 1.4.0
- For AWS PGSQL ODBC driver users: upgrade to version 1.0.1
- Update dependency files (e.g., pom.xml, package.json, requirements.txt, go.mod) with the new version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation16.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,200.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-12967 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-12967 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data