# GHSA-7wq2-32h4-9hc9: AWS Advanced Go Wrapper: Privilege Escalation in Aurora PostgreSQL Instance

- Severity: High 8.0 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-13T22:22:34.000Z
- Modified: 2026-05-06T23:35:18.227Z
- Also known as: GO-2025-4119
- Related: CVE-2025-12967
- Weaknesses: CWE-470

## Description

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

We recommend customers upgrade to the following versions:  AWS Go Wrapper to 2025-10-17


### Source of Vulnerability Report: 
Allistair Ishmael Hakim [allistair.hakim@gmail.com](mailto:allistair.hakim@gmail.com)


### Affected products & versions: 
AWS Go Wrapper < 2025-10-17


### Platforms:
 MacOS/Windows/Linux

(As written by GitHub Advisory Database.)

## Affected

- github.com/aws/aws-advanced-go-wrapper/awssql (Go): before 1.1.1
- github.com/aws/aws-advanced-go-wrapper/auth-helpers (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/federated-auth (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/iam (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/mysql-driver (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/okta (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/otlp (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/pgx-driver (Go): before 1.0.2
- github.com/aws/aws-advanced-go-wrapper/xray (Go): before 1.0.2

## References

- <https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-7wq2-32h4-9hc9> (advisory, web)
- <https://github.com/aws/aws-advanced-go-wrapper/pull/270> (web)
- <https://github.com/aws/aws-advanced-go-wrapper/commit/7b405f95fe71db644cd8336ba5fa28b41e89d03e> (web)
- <https://github.com/aws/aws-advanced-go-wrapper> (package)

## Sources

- GitHub Advisory Database: [GHSA-7wq2-32h4-9hc9](https://github.com/advisories/GHSA-7wq2-32h4-9hc9), CC-BY-4.0, modified 2026-05-06
- Go Vulnerability Database: [GO-2025-4119](https://pkg.go.dev/vuln/GO-2025-4119), CC-BY-4.0, modified 2026-03-03

---

Page: https://cve.day/GHSA-7wq2-32h4-9hc9 · Whole record: https://cve.day/GHSA-7wq2-32h4-9hc9.json · Rebuilt by cve.day 2026-11-25T22:56:24.217Z
