AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance

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.

Basic information

Type
reviewed
Severity
high
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2026-06-11 20:33:12 UTC
Updated
2026-06-14 12:51:33 UTC
GitHub reviewed
2026-06-11 20:33:12 UTC
NVD published
2026-06-05

EPSS Score

Score Percentile
0.13% 32.24%

CVSS Scores

Base score Version Severity Vector
8.0 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
8.6 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 Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network.
Attack complexity (AC:L)
Exploitation conditions are straightforward and stable.
Attack requirements (AT:N)
No additional preconditions are required beyond normal reachability.
Privileges required (PR:L)
Low privileges are required.
User interaction (UI:P)
A user has to participate (for example click/open/approve).
Vulnerable system confidentiality impact (VC:H)
High confidentiality impact on the vulnerable system.
Vulnerable system integrity impact (VI:H)
High integrity impact on the vulnerable system.
Vulnerable system availability impact (VA:H)
High availability impact on the vulnerable system.
Subsequent system confidentiality impact (SC:N)
No confidentiality impact on subsequent systems.
Subsequent system integrity impact (SI:N)
No integrity impact on subsequent systems.
Subsequent system availability impact (SA:N)
No availability impact on subsequent systems.

Identifiers

CWEs

CWE id Name
CWE-426 Untrusted Search Path

Credits

  • ph0smet (reporter)

Affected packages (11)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/aws/aws-advanced-go-wrapper/awssql/v2 <= 2.0.0 2.0.1
go github.com/aws/aws-advanced-go-wrapper/xray <= 1.06 1.07
go github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager <= 1.1.1 1.1.2
go github.com/aws/aws-advanced-go-wrapper/custom-endpoint <= 1.0.3 1.0.4
go github.com/aws/aws-advanced-go-wrapper/federated-auth <= 1.1.0 1.1.1
go github.com/aws/aws-advanced-go-wrapper/iam <= 1.1.0 1.1.1
go github.com/aws/aws-advanced-go-wrapper/mysql-driver <= 1.1.0 1.1.1
go github.com/aws/aws-advanced-go-wrapper/okta <= 1.1.0 1.1.1
go github.com/aws/aws-advanced-go-wrapper/pgx-driver <= 1.1.0 1.1.1
go github.com/aws/aws-advanced-go-wrapper/otlp <= 1.0.6 1.0.7
go github.com/aws/aws-advanced-go-wrapper/auth-helpers <= 1.1.0 1.1.1

References

cvelogic Threat Intelligence