Advisory

GHSA-r236-5pc3-3qcp

Also known as: CVE-2026-11401, GO-2026-5601

Summary

AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance

Details

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]](mailto:[email protected]). Please do not create a public GitHub issue.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-11 20:33 UTC
Modified
2026-06-25 23:11 UTC

Affected packages and fixes

11 affected packages; all Go · All systems; affected: earlier versions
PackageFix
github.com/aws/aws-advanced-go-wrapper/awssql/v2go get github.com/aws/aws-advanced-go-wrapper/awssql/[email protected]
github.com/aws/aws-advanced-go-wrapper/xraygo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/aws-secrets-managergo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/custom-endpointgo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/federated-authgo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/iamgo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/mysql-drivergo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/oktago get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/pgx-drivergo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/otlpgo get github.com/aws/aws-advanced-go-wrapper/[email protected]
github.com/aws/aws-advanced-go-wrapper/auth-helpersgo get github.com/aws/aws-advanced-go-wrapper/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences