CVE
AWS Advanced Go Wrapper privilege escalation in Aurora PostgreSQL dialect detection
Affects AWS Advanced Go Wrapper awssql/v2 2.0.0 before 2.0.3 when connecting to Aurora PostgreSQL. Fixed in release 2026-07-29 (awssql/v2.0.3).
Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.
- Exploited
- No known exploitation
- Fix
- Fixed in 2026-07-29
- Who is exposed
- Specific setups only
Do first: Check whether your setup matches what the bug needs. Uses AWS Advanced Go Wrapper awssql/v2 from 2.0.0 before 2.0.3 (release 2026-04-06 up to before 2026-07-29) Victim connects to an Aurora PostgreSQL cluster through the affected wrapper version Attacker can create functions in a schema on the victim's search path
- Last modified
- Whether it needs action now or is a reference record, by fixed rules, with why. Last checked is when cve.now last re-read it.What do these mean? →
- Reference
- Last checked
- FIRST's estimate of the chance attackers exploit it in the next 30 days, updated daily.What do these mean? →
- 0.32% · 24th percentile
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 16/100 · provisional
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The AWS Advanced Go Wrapper's Aurora PostgreSQL dialect detection contains an untrusted search path flaw that lets a remote, authenticated user gain the privileges of another database user, including an rds_superuser member, when that user connects through an affected wrapper version. The attacker needs to plant a crafted function that runs during the victim's connection, which requires the victim to take an action.
Read the original description
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.
Who should check
Teams running AWS Advanced Go Wrapper awssql/v2 from 2.0.0 before 2.0.3 against Aurora PostgreSQL, including forks or derivative code of the wrapper
Not fixed by: Forked or derivative code must also be patched.
Read the source excerpt
“from release 2026-04-06 (awssql/v2.0.0) and before release 2026-07-29 (awssql/v2.0.3)”
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity8/10CVSS 8.0
- No patch0/5No signal
What would change the score
- Would score about 66 if added to CISA KEV
- Would score about 61 if CISA's SSVC rates exploitation active
- Would score about 23 if CISA's SSVC rates it automatable
What to do
Check whether your setup matches what the bug needs.
Uses AWS Advanced Go Wrapper awssql/v2 from 2.0.0 before 2.0.3 (release 2026-04-06 up to before 2026-07-29) Victim connects to an Aurora PostgreSQL cluster through the affected wrapper version Attacker can create functions in a schema on the victim's search pathUpgrade to a fixed version: 2026-07-29.
Workaround: Revoke CREATE on the public schema from PUBLIC, and grant CREATE on other search_path schemas only to trusted database users
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-126793 (Privilege escalation in Aurora PostgreSQL dialect detection in AWS Advanced Go Wrapper), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-126793 (entry last updated 2026-11-12):
Affected:
- AWS aws-advanced-go-wrapper: from 2026-04-06, fixed in 2026-07-29
Fixed versions: 2026-07-29.
Conditions (all must be true for the bug to be hit):
- Uses AWS Advanced Go Wrapper awssql/v2 from 2.0.0 before 2.0.3 (release 2026-04-06 up to before 2026-07-29) (source: https://aws.amazon.com/security/security-bulletins/2026-182-aws/)
- Victim connects to an Aurora PostgreSQL cluster through the affected wrapper version (source: https://aws.amazon.com/security/security-bulletins/2026-182-aws/)
- Attacker can create functions in a schema on the victim's search path (source: https://aws.amazon.com/security/security-bulletins/2026-182-aws/)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, a user action.
Workaround: Revoke CREATE on the public schema from PUBLIC, and grant CREATE on other search_path schemas only to trusted database users (source: https://aws.amazon.com/security/security-bulletins/2026-182-aws/)
CISA KEV: CVE-2026-126793 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-126793 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://aws.amazon.com/security/security-bulletins/2026-182-aws/
- https://github.com/aws/aws-advanced-go-wrapper/releases/tag/release-2026-07-29
- https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-fhr2-6r5v-gm9f
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-126793
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-126793"}.Timeline
- CVE published
- Record last updated
- First seen by cve.now
Affected versions
- AWS aws-advanced-go-wrapper
From 2026-04-06 · fixed in 2026-07-29
Evidence 5
Vendor advisory · 2
Establishes: Affected and fixed versions.
- Advisory
- Advisory
CVE record · 2
Establishes: The identifier and description.
- Record
- Record
Other links · 1
- Patch
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-126793
Is CVE-2026-126793 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
The wrapper's Aurora PostgreSQL dialect detection can let a database user who can create functions in a schema on another user's search path gain privileges that user does not have. The risk applies when that other user connects to an Aurora PostgreSQL cluster through an affected wrapper version.Source: aws.amazon.com
Which versions are affected by CVE-2026-126793?
aws-advanced-go-wrapper: from 2026-04-06 before 2026-07-29.Source: cve.now feed data
Am I affected, and how do I check?
Versions of awssql/v2 from 2.0.0 before 2.0.3, released from 2026-04-06 up to before 2026-07-29, are affected. To check, look at the awssql/v2 version in your Go module file (go.mod) and confirm whether your application connects to Aurora PostgreSQL through the wrapper.Source: aws.amazon.com
How do I fix CVE-2026-126793?
Upgrade to AWS Advanced Go Wrapper release 2026-07-29 (awssql/v2.0.3), which addresses this issue. If you cannot upgrade yet, revoke CREATE on the public schema from PUBLIC and grant CREATE on other search_path schemas only to trusted database users.Source: aws.amazon.com