Skip to main content

Advanced Go Wrapper EUVDEUVD-2026-124717

| CVE-2026-126793 HIGH
Untrusted Search Path (CWE-426)
2026-11-12 ff89ba41-3aa1-4d27-914a-91399e9639e5
8.6
CVSS 4.0 · Vendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege DB user
  2. Exploit
    Create shadowing function on shared search_path schema
  3. Execution
    Victim connects via wrapper, dialect probe runs function
  4. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

aws-advanced-go-wrapper 2026-04-06 <2026-07-29

Affected Packages

euvd aws_advanced_go_wrapper fix: 2026-07-29

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

Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5) PRIMARY 8.6 HIGH
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
vuln.today AI 8.0 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).

CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 22:02 EUVD
CVE Published
Nov 12, 2026 - 21:17 cve.org
HIGH 8.6

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
niche Go driver wrapper for Aurora PostgreSQL, limited adoption footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

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

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

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

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy