8.6high
Privilege Escalation in AWS Advanced Go Wrapper for Amazon Aurora PostgreSQL
- Severity
- 8.6high CVSS:4.0 by AMZN
- Exploit likelihood
- 0.30% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- AMZN
- Also known as
- GHSA-r236-5pc3-3qcpGO-2026-5601
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AWS AWS Advanced Go Wrapper | from 2026-04-06 before 2026-05-26 | CVE List |
| github.com/aws/aws-advanced-go-wrapper/awssql/v2 (Go) | before 2.0.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/xray (Go) | before 1.07, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager (Go) | before 1.1.2 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/custom-endpoint (Go) | before 1.0.4 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/federated-auth (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/iam (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/mysql-driver (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/okta (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/pgx-driver (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/otlp (Go) | before 1.0.7 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/auth-helpers (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/aws/aws-advanced-go-wrapper/awssql (Go) | all versions | Go Vulnerability Database |
All scores
| AMZN | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| AMZN | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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
GitHub Advisory Database
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 aws-security@amazon.com. Please do not create a public GitHub issue.
Go Vulnerability Database
AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance in github.com/aws/aws-advanced-go-wrapper/auth-helpers.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/aws/aws-advanced-go-wrapper/xray before 1.07.
NVD (es)
Un problema de ruta de búsqueda no confiable en el GlobalDatabasePlugin del AWS Advanced Go Wrapper para Amazon Aurora PostgreSQL permitirá a un actor remoto autenticado con privilegios bajos escalar privilegios a los de otro usuario de Amazon RDS, incluyendo rds_superuser, a través de una función maliciosa creada por el actor que se ejecuta cuando ese usuario se conecta al clúster a través del wrapper afectado. Para remediar este problema, los usuarios deben actualizar a la versión 2026-05-26 del AWS Advanced Go Wrapper.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-11401 changed 2026-06-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r236-5pc3-3qcp changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5601 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-11401 changed 2026-10-26 | Public domain |