GHSA-r236-5pc3-3qcp — v2
HIGHGHSA-r236-5pc3-3qcp is a high-severity (CVSS 8) CWE-426 vulnerability in github.com/aws/aws-advanced-go-wrapper/awssql/v2. A fix is available for github.com/aws/aws-advanced-go-wrapper/awssql/v2 — see the affected versions and patch details below.
AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-r236-5pc3-3qcp.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-r236-5pc3-3qcp by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 379,842 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/aws/aws-advanced-go-wrapper/awssql/v2🐹github.com/aws/aws-advanced-go-wrapper/xray🐹github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager🐹github.com/aws/aws-advanced-go-wrapper/custom-endpoint🐹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+3 moreReal-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
Aurora PostgreSQL is a fully managed relational database engine that's compatible with PostgreSQL.
An issue in Aurora PostgreSQL using the AWS Go Wrapper waa identified, see CVE-2026-11401.
Impact 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.
Impacted versions: AWS Go Wrapper 2026-04-06
Patches This issue has been addressed in AWS Go Wrapper 2026-05-26. Maintainers recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds Remove the public schema from the search path.
References If there are any questions or comments about this advisory, contact [AWS/Amazon] Security via the vulnerability reporting page or directly via email to [email protected]. Please do not create a public GitHub issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/aws/aws-advanced-go-wrapper/awssql/v2 | all versions | 2.0.1go get github.com/aws/aws-advanced-go-wrapper/awssql/v2@v2.0.1 |
| 🐹Go | github.com/aws/aws-advanced-go-wrapper/xray | all versions | 1.07go get github.com/aws/aws-advanced-go-wrapper/xray@v1.07 |
| 🐹Go | github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager | all versions | 1.1.2go get github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager@v1.1.2 |
| 🐹Go | github.com/aws/aws-advanced-go-wrapper/custom-endpoint | all versions | 1.0.4go get github.com/aws/aws-advanced-go-wrapper/custom-endpoint@v1.0.4 |
| 🐹Go | github.com/aws/aws-advanced-go-wrapper/federated-auth | all versions | 1.1.1go get github.com/aws/aws-advanced-go-wrapper/federated-auth@v1.1.1 |
| 🐹Go | github.com/aws/aws-advanced-go-wrapper/iam | all versions | 1.1.1go get github.com/aws/aws-advanced-go-wrapper/iam@v1.1.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/aws/aws-advanced-go-wrapper/awssql/v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/aws/aws-advanced-go-wrapper/awssql/v2 to 2.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-r236-5pc3-3qcp is resolved across your whole dependency graph.
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
Is GHSA-r236-5pc3-3qcp in your dependencies?
Find it across Go, including transitive dependencies.