NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

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

HIGHFix: aws/aws-advanced-go-wrapper#270

GHSA-7wq2-32h4-9hc9 is a high-severity (CVSS 8) vulnerability in github.com/aws/aws-advanced-go-wrapper/awssql. A fix is available for github.com/aws/aws-advanced-go-wrapper/awssql — see the affected versions and patch details below.

Also known asGO-2025-4119
Published
Updated
Affected
10 pkgs
Patched
10 / 10
Exploits
None indexed
Exploitation data as of May 6, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

10 pkgs affected
🐹github.com/aws/aws-advanced-go-wrapper/awssql🐹github.com/aws/aws-advanced-go-wrapper/auth-helpers🐹github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager🐹github.com/aws/aws-advanced-go-wrapper/federated-auth🐹github.com/aws/aws-advanced-go-wrapper/iam🐹github.com/aws/aws-advanced-go-wrapper/mysql-driver🐹github.com/aws/aws-advanced-go-wrapper/okta🐹github.com/aws/aws-advanced-go-wrapper/otlp+2 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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 [email protected]

Affected products & versions:

AWS Go Wrapper < 2025-10-17

Platforms:

MacOS/Windows/Linux

Affected Packages

10 total 10 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/aws/aws-advanced-go-wrapper/awssqlall versions1.1.1go get github.com/aws/aws-advanced-go-wrapper/awssql@v1.1.1
🐹Gogithub.com/aws/aws-advanced-go-wrapper/auth-helpersall versions1.0.2go get github.com/aws/aws-advanced-go-wrapper/auth-helpers@v1.0.2
🐹Gogithub.com/aws/aws-advanced-go-wrapper/aws-secrets-managerall versions1.0.2go get github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager@v1.0.2
🐹Gogithub.com/aws/aws-advanced-go-wrapper/federated-authall versions1.0.2go get github.com/aws/aws-advanced-go-wrapper/federated-auth@v1.0.2
🐹Gogithub.com/aws/aws-advanced-go-wrapper/iamall versions1.0.2go get github.com/aws/aws-advanced-go-wrapper/iam@v1.0.2
🐹Gogithub.com/aws/aws-advanced-go-wrapper/mysql-driverall versions1.0.2go get github.com/aws/aws-advanced-go-wrapper/mysql-driver@v1.0.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/aws/aws-advanced-go-wrapper/awssql, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/aws/aws-advanced-go-wrapper/awssql to 1.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7wq2-32h4-9hc9 is resolved across your whole dependency graph.

  3. Workarounds

    Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.

Frequently Asked Questions

### 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 [[email protected]](mailto:[email protected]) ### Affected products & versions: AWS Go Wrapper < 2025-10-17 ### Platfo
O3 Security · Impact-Aware SCA

Is GHSA-7wq2-32h4-9hc9 in your dependencies?

Find it across Go, including transitive dependencies.

AWS Advanced Go Wrapper: Privilege Escalation in…