# CVE-2025-12967: AWS Advanced Python Wrapper: Privilege Escalation in Aurora PostgreSQL instance

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.08% (percentile 82, 2026-11-26)
- **CWE:** CWE-470
- **Aliases:** GHSA-4jvf-wx3f-2x8q, PYSEC-2026-1205
- **Published:** 2025-11-10T18:09:10.157Z
- **Modified:** 2026-10-18T21:10:00.120Z

## Who should check

- Projects that depend on PyPI package aws-advanced-python-wrapper (\< 1.4.0)
- Anyone running AWS JDBC Wrapper (versions: see the vendor advisory)
- Anyone running AWS Go Wrapper (versions: see the vendor advisory)
- Anyone running AWS NodeJS Wrapper (versions: see the vendor advisory)
- Anyone running AWS Python Wrapper (versions: see the vendor advisory)
- Anyone running AWS ODBC driver 1.0.1

## Description

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

## Affected and fixed versions

- PyPI `aws-advanced-python-wrapper`: affected \< 1.4.0; fixed 1.4.0 (osv)
- AWS JDBC Wrapper: see vendor advisory (cvelist)
- AWS Go Wrapper: see vendor advisory (cvelist)
- AWS NodeJS Wrapper: see vendor advisory (cvelist)
- AWS Python Wrapper: see vendor advisory (cvelist)
- AWS ODBC driver: 1.0.1 (cvelist)

## Mitigation

- Upgrade aws-advanced-python-wrapper to 1.4.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-12967. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-12967.md
Affected: aws-advanced-python-wrapper < 1.4.0
Fixed in: 1.4.0

Steps:
1. Search this machine and project for aws-advanced-python-wrapper (PyPI), AWS JDBC Wrapper, AWS Go Wrapper, AWS NodeJS Wrapper, AWS Python Wrapper, AWS ODBC driver: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-12967 being exploited?

There is no confirmed exploitation: CVE-2025-12967 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.08% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-12967?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-12967?

aws-advanced-python-wrapper \< 1.4.0.

### Is there a fix for CVE-2025-12967?

Yes. Fixed in 1.4.0. Upgrade aws-advanced-python-wrapper to 1.4.0 or later.

### How do I check if I'm affected by CVE-2025-12967?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://aws.amazon.com/security/security-bulletins/AWS-2025-028/>
- vendor: <https://github.com/aws/aws-advanced-python-wrapper/security/advisories/GHSA-4jvf-wx3f-2x8q>
- vendor: <https://github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh>
- vendor: <https://github.com/aws/aws-pgsql-odbc/security/advisories/GHSA-q327-fgm8-7mxf>
- vendor: <https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9>
- vendor: <https://github.com/aws/aws-advanced-nodejs-wrapper/security/advisories/GHSA-8wj8-cfxr-9374>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-12967>
- vendor: <https://github.com/advisories/GHSA-4jvf-wx3f-2x8q>
- patch: <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: <https://github.com/aws/aws-advanced-python-wrapper/pull/1007>
- other: <https://aws.amazon.com/security/security-bulletins/AWS-2025-028>
- other: <https://github.com/aws/aws-advanced-python-wrapper>
- other: <https://pypi.org/project/aws-advanced-python-wrapper>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-12967>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4jvf-wx3f-2x8q> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1205> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-12967> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-12967>
