---
id: CVE-2025-12967
aliases:
  - GHSA-4jvf-wx3f-2x8q
  - PYSEC-2026-1205
title: >-
  AWS Advanced Python Wrapper: Privilege Escalation in Aurora PostgreSQL
  instance 
summary: >-
  AWS Advanced Python Wrapper: Privilege Escalation in Aurora PostgreSQL
  instance 
severity: high
cvss: 8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
vendor: aws-advanced-python-wrapper
product: aws-advanced-python-wrapper
ecosystem: pip
affected:
  - aws-advanced-python-wrapper < 1.4.0
patched:
  - aws-advanced-python-wrapper 1.4.0
published: '2025-11-13'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4jvf-wx3f-2x8q'
references:
  - url: >-
      https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9
  - url: >-
      https://github.com/aws/aws-advanced-jdbc-wrapper/security/advisories/GHSA-7xw4-g7mm-r4hh
  - url: >-
      https://github.com/aws/aws-advanced-python-wrapper/security/advisories/GHSA-4jvf-wx3f-2x8q
  - url: >-
      https://github.com/aws/aws-pgsql-odbc/security/advisories/GHSA-q327-fgm8-7mxf
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12967'
  - url: 'https://github.com/aws/aws-advanced-python-wrapper/pull/1007'
  - url: 'https://aws.amazon.com/security/security-bulletins/AWS-2025-028'
  - url: 'https://github.com/aws/aws-advanced-python-wrapper'
  - url: 'https://github.com/aws/aws-advanced-python-wrapper/releases/tag/1.4.0'
tags:
  - osv
  - pip
epss: 0.00452
epssPercentile: 0.36527
ingestedAt: '2026-07-08T18:25:45.504Z'
---

## Overview

### 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 <allistair.hakim@gmail.com>


### Affected products & versions: 
AWS Python Wrapper < 1.4.0


### Platforms: 
MacOS/Windows/Linux

## Affected packages

- `aws-advanced-python-wrapper < 1.4.0`

## Remediation

Upgrade to a patched release:

- `aws-advanced-python-wrapper 1.4.0`
