CWE-470Weakness · CWE-470

CVE-2025-12967

HIGH · 8.0 CVSS v3.1 Published 2025-11-10
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
84/100
Remediation priority · High
Remotely reachable

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 · unedited
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

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 confidence

A 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify the AWS database wrapper in use
    Examine 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 psqlodbc
    Affected if Any of these AWS database wrappers are present in the project dependencies
  2. Check the installed wrapper version
    Run 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 modules
    Affected if The wrapper version cannot be determined or is older than the fixed versions
  3. Compare version against fixed releases
    Match 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.1
    Affected if Your installed wrapper version is lower than the fixed version for your respective language/driver
  4. Verify connection target is Amazon Aurora PostgreSQL
    Check your database connection configuration or connection string for aurora-postgresql or the specific Aurora endpoint pattern
    Affected if The application connects to Amazon Aurora PostgreSQL instances
  5. Confirm function execution or stored procedure usage
    Review application code for SQL function calls, CREATE FUNCTION statements, or stored procedure invocations through the wrapper
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

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

  1. Identify which AWS database wrapper (JDBC, Go, NodeJS, Python, or PGSQL ODBC) your application uses
  2. Check the current version of the AWS wrapper library in your project dependencies
  3. For AWS JDBC Wrapper users: upgrade to version 2.6.5
  4. For AWS Go Wrapper users: upgrade to version 2025-10-17
  5. For AWS NodeJS Wrapper users: upgrade to version 2.0.1
  6. For AWS Python Wrapper users: upgrade to version 1.4.0
  7. For AWS PGSQL ODBC driver users: upgrade to version 1.0.1
  8. 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.

Have this fixed Scoped from the published advisory
  • Consultation8.0 h
  • Implementation16.0 h
  • Testing12.0 h
  • Review / QA4.0 h
40.0 hours of engineering $7,000
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-12967 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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