Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege DB user
-
ExploitCreate shadowing function on shared search_path schema
-
ExecutionVictim connects via wrapper, dialect probe runs function
-
ImpactEscalate to victim/rds_superuser privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Exploitation Conditions | Exploitation requires: (1) an authenticated database account on the target Aurora PostgreSQL cluster; (2) CREATE privilege on a schema that appears in the search_path of the victim user - the advisory specifically names the public schema and 'any other schema in the search_path of database users that connect through the wrapper'; (3) the victim connecting through an affected wrapper version (awssql/v2 2.0.0-2.0.2), whose Aurora/Global-database dialect-detection probe issues an unqualified query (the GHSA cites an unqualified count(1) in the Global-database dialect probe) that the attacker's function can shadow. LIMITING FACTORS: the attacker cannot act alone - a higher-privileged user must initiate a connection (UI:P / passive user interaction), the attacker must already hold database authentication (PR:L), and the workaround of restricting CREATE on public and other search_path schemas to trusted users neutralizes the vector without upgrading. Default single-tenant deployments where only trusted users hold CREATE are not meaningfully exposed. |
| Impact | This is a credible, medium-high priority privilege-escalation flaw rather than a remote-takeover emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) and score 8.6 confirm a network-reachable issue that nonetheless requires the attacker to already be an authenticated database user (PR:L) AND requires a victim to connect through the wrapper (UI:P, a passive precondition the attacker does not fully control). There is no EPSS score, no CISA KEV listing, and no public exploit reference in the input, so by the precision rules this is 'no public exploit identified at time of analysis' - exploitation is plausible but not demonstrated in the wild. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patch-promptly posture rather than drop-everything. One signal to weigh carefully: the GHSA advisory states this is an INCOMPLETE FIX of CVE-2026-11401 (an unqualified count(1) in the Aurora Global-database dialect probe still allowed search-path function shadowing), meaning the earlier remediation did not fully close the class - a sign of ongoing researcher attention. The confidentiality/integrity/availability impacts are all High because escalation can reach rds_superuser, but the real-world blast radius is bounded to multi-tenant Aurora PostgreSQL deployments where untrusted users can create objects in a shared search_path schema. |
| Exploit ScenarioDerived | In a multi-tenant Aurora PostgreSQL cluster, a low-privileged but authenticated database user creates a maliciously named function in a schema that sits on another user's search_path (e.g. the public schema). When a higher-privileged user - potentially an rds_superuser member - later connects through an affected version of the AWS Advanced Go Wrapper, the wrapper's dialect-detection probe issues an unqualified query that resolves to the attacker's shadowing function and runs it with the victim's privileges. No public exploit code is referenced in the input, but the attack is straightforward for anyone with CREATE rights on a shared schema. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Privilege escalation in the AWS Advanced Go Wrapper's Aurora PostgreSQL dialect-detection logic lets an authenticated database user who can create objects in a schema on another user's search_path shadow an unqualified query issued by the wrapper, so the planted function executes with the connecting user's privileges when that user connects through an affected wrapper version - potentially reaching rds_superuser. Only wrapper releases awssql/v2 2.0.0 through 2.0.2 (2026-04-06 onward) are vulnerable; the flaw, a bypass of the earlier CVE-2026-11401 fix via an unqualified count(1) in the Global-database dialect probe, is fixed in awssql/v2 2.0.3 (release 2026-07-29). No public exploit code or confirmed active exploitation is known at time of analysis, and exploitation is constrained: the attacker must already hold database authentication, a higher-privileged victim must initiate a connection (passive user interaction), and restricting CREATE on public and other search_path schemas to trusted users neutralizes the vector entirely.
RemediationAI
Vendor-released patch: upgrade to AWS Advanced Go Wrapper release 2026-07-29, which ships awssql/v2 v2.0.3 (plus auth-helpers v1.1.3, aws-secrets-manager v1.1.4, custom-endpoint v1.0.6, federated-auth v1.1.3, iam v1.1.3, mysql-driver v1.1.3, okta v1.1.3, otlp v1.0.9 and pgx-driver v1.1.3). Because the fix is library-side, the consuming application must be rebuilt and redeployed against the updated modules (go get github.com/aws/aws-advanced-go-wrapper/awssql/v2@v2.0.3); the advisory also asks that forked or derivative code be patched to incorporate the change. If upgrading is not immediately possible, the documented workaround is to restrict CREATE on the public schema - and on any other schema appearing in the search_path of database users that connect through the wrapper - to trusted database users only, which removes the attacker's ability to plant the shadowing function at the cost of tightening schema-creation workflows for legitimate developers. See https://github.com/aws/aws-advanced-go-wrapper/releases/tag/release-2026-07-29 and https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-fhr2-6r5v-gm9f.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is CWE-426 (Untrusted Search Path) applied to PostgreSQL name resolution. PostgreSQL resolves unqualified function and relation references by walking the session search_path, so a function named count(1)'s callee defined in a schema earlier in that path can shadow the built-in. The AWS Advanced Go Wrapper is a Go database driver wrapper that sits in front of pgx/pgx-driver and issues internal probe queries to determine whether it is talking to Aurora PostgreSQL and whether Global Database dialect support applies; per the GHSA the Global-database dialect probe still issued an unqualified count(1) even after the original CVE-2026-11401 remediation, leaving the probe callable-object-shadowable. An attacker with CREATE on a schema in the victim's search_path installs a crafted function; when the victim connects through awssql/v2 2.0.0-2.0.2, the wrapper's probe executes the attacker's code in the victim's session context, yielding that user's privileges. The defect is Go-module scoped: the GHSA enumerates awssql/v2 plus the sibling modules auth-helpers, aws-secrets-manager, custom-endpoint, federated-auth and iam as affected branches. The independent assessment scores this CVSS:3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - network-reachable but requiring a low-privileged authenticated DB account and passive victim interaction, with full confidentiality, integrity and availability impact confined to the same security scope; the trigger is well described in the GHSA, unlike a generic bug of this class.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated DB user (PR:L) over the network (AV:N), reliably triggerable (AC:L), but a separate victim must connect for the shadowed function to run (UI:R), yielding full compromise of that user's session (C/I/A:H).
Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).
CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
Lifecycle Timeline
2DescriptionCVE.org
An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0) and before release 2026-07-29 (awssql/v2.0.3) could allow a remote authenticated user to escalate privileges to those of another database user, including a member of the rds_superuser role, via a crafted function that runs when that user connects to an Aurora PostgreSQL cluster through an affected version of the wrapper.
To remediate this issue, users should upgrade to the AWS Advanced Go Wrapper release 2026-07-29 (awssql/v2.0.3) or later.
Articles & Coverage 1
Technical POC Analysis
CWE-426 (Untrusted Search Path).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A privilege escalation vulnerability in the AWS Advanced Go Wrapper's Aurora PostgreSQL dialect-detection logic (CVE-2026-126793) allows an authenticated database user to shadow unqualified queries and execute functions with the connecting user's privileges, potentially reaching rds_superuser. This affects organizations using wrapper versions 2.0.0 through 2.0.2 and poses a risk of unauthorized privilege elevation, compromising database integrity and confidentiality. Leadership should prioritize remediation because a malicious insider or compromised low-privilege account could escalate access, leading to data breaches or operational disruption.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting CREATE privileges on the public schema and all schemas in search paths to trusted roles only, monitoring database activity for suspicious function creation or privilege changes, and ensuring that only necessary users have database authentication. Additionally, isolate high-privilege accounts to limit exposure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-124717
NVD
CVE.org
EPSS
GitHub
Exploit-DB