Privilege Escalation in AWS Advanced Go Wrapper for Amazon Aurora PostgreSQL
AWS Advanced Go Wrapper
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/aws/aws-advanced-go-wrapper/awssql/v2 Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/xray Go |
|
|
AWS Advanced Go Wrapper
| Product | Affected | Fixed in |
|---|---|---|
| github.com/aws/aws-advanced-go-wrapper/awssql/v2 Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/xray Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/custom-endpoint Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/federated-auth Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/iam Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/mysql-driver Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/okta Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/pgx-driver Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/otlp Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/auth-helpers Go |
|
|
| github.com/aws/aws-advanced-go-wrapper/awssql Go |
| No fix yet |
An untrusted search path issue in the GlobalDatabasePlugin in the AWS Advanced Go Wrapper for Amazon Aurora PostgreSQL will allow a remote authenticated low-privilege actor to escalate privileges to those of another Amazon RDS user, including rds_superuser, via a crafted function created by the actor that runs when that user connects to the cluster through the affected wrapper.
To remediate this issue, users should upgrade to the AWS Advanced Go Wrapper release 2026-05-26
From the CVE record · AMZN
The GlobalDatabasePlugin in AWS Advanced Go Wrapper for Amazon Aurora PostgreSQL has an untrusted search path issue. A remote, authenticated low-privilege actor can create a crafted function that runs when another Amazon RDS user connects through the affected wrapper, potentially gaining that user’s privileges, including rds_superuser.
Teams using the listed AWS Advanced Go Wrapper Go packages should check installations below their stated fixed versions; the awssql package is affected in all versions and has no listed fix.