ADVISORIES

GitHub Advisory Database

GHSA-r236-5pc3-3qcp

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/aws/aws-advanced-go-wrapper/awssql/v2
All versions before 2.0.1 (fixed in 2.0.1)
Gogithub.com/aws/aws-advanced-go-wrapper/xray
All versions before 1.07 (fixed in 1.07)
Gogithub.com/aws/aws-advanced-go-wrapper/aws-secrets-manager
All versions before 1.1.2 (fixed in 1.1.2)
Gogithub.com/aws/aws-advanced-go-wrapper/custom-endpoint
All versions before 1.0.4 (fixed in 1.0.4)
Gogithub.com/aws/aws-advanced-go-wrapper/federated-auth
All versions before 1.1.1 (fixed in 1.1.1)
Gogithub.com/aws/aws-advanced-go-wrapper/iam
All versions before 1.1.1 (fixed in 1.1.1)
Gogithub.com/aws/aws-advanced-go-wrapper/mysql-driver
All versions before 1.1.1 (fixed in 1.1.1)
Gogithub.com/aws/aws-advanced-go-wrapper/okta
All versions before 1.1.1 (fixed in 1.1.1)
Gogithub.com/aws/aws-advanced-go-wrapper/pgx-driver
All versions before 1.1.1 (fixed in 1.1.1)
Gogithub.com/aws/aws-advanced-go-wrapper/otlp
All versions before 1.0.7 (fixed in 1.0.7)
Gogithub.com/aws/aws-advanced-go-wrapper/auth-helpers
All versions before 1.1.1 (fixed in 1.1.1)

References