Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-priv RDS user
-
DeliveryCreate malicious function in public schema
-
ExploitWait for rds_superuser to connect via wrapper
-
ExecutionGlobalDatabasePlugin runs unqualified topology query
-
PersistAttacker function executes as superuser
-
ImpactEscalate to full database control
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 | Attacker must hold valid low-privilege credentials on the target Amazon Aurora PostgreSQL cluster and possess CREATE permission on a schema that appears earlier in the target user's search_path than the schema of the legitimate function (typically the default public schema). The victim - a higher-privileged user such as rds_superuser - must subsequently connect to the cluster through an application using the affected AWS Advanced JDBC Wrapper (versions prior to 4.0.1) with the GlobalDatabasePlugin enabled, which triggers the unqualified topology detection function call. Exploitation is limited to deployments using the GlobalDatabasePlugin against Aurora PostgreSQL, requires the attacker to wait for a privileged session rather than force one (CVSS UI:P), and is blocked entirely on clusters where CREATE on public has been revoked from low-privileged roles. |
| Impact | The CVSS 4.0 base score of 8.6 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H) reflects a network-reachable, low-complexity attack that requires only low-privilege authentication but does depend on passive user interaction (UI:P) - namely, a higher-privileged RDS user subsequently connecting through the affected wrapper, which the attacker cannot directly force. There is no EPSS score, no KEV listing, and no public exploit identified at time of analysis, so this is not a mass-exploitation candidate; however, in shared multi-tenant Aurora PostgreSQL environments where any database user can create objects in public and where rds_superuser sessions routinely use the wrapper, the real risk is high because the attacker patiently waits rather than racing. The SSVC profile (no automatable mass exploitation, but high technical impact via full DB takeover) supports a 'patch promptly' rather than 'emergency' decision. Note that the CVSS vector includes UI:P but the description does not require any active user action - a routine connection by a privileged user is enough - so defenders should not over-discount the UI factor. |
| Exploit ScenarioDerived | A low-privileged tenant on a shared Aurora PostgreSQL cluster creates a malicious function in the public schema whose unqualified name matches a function the GlobalDatabasePlugin invokes during topology detection. When a DBA or automation account with rds_superuser later connects to the cluster through an unpatched AWS Advanced JDBC Wrapper, the wrapper's unqualified query resolves to the attacker's function and executes it under the superuser's session, granting the attacker full database control. No public exploit identified at time of analysis, but the technique is a well-known PostgreSQL search_path hijack pattern. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 05, 2026
Privilege escalation in the AWS Advanced JDBC Wrapper for Amazon Aurora PostgreSQL (versions prior to 4.0.1) allows a remote authenticated low-privilege RDS user to gain the privileges of another database user - including rds_superuser - by planting a crafted function that executes when the higher-privileged user connects to the cluster through the affected wrapper. No public exploit identified at time of analysis, and the vendor (Amazon) released a fix in version 4.0.1 on 2026-05-13 that fully qualifies function calls in PostgreSQL topology detection queries to close the search-path attack surface.
Earlier versions of this analysis (2)
Privilege escalation in the AWS Advanced JDBC Wrapper for Amazon Aurora PostgreSQL (versions prior to 4.0.1) allows a remote authenticated low-privilege RDS user to elevate to another database user - including rds_superuser - by planting a crafted function that executes when a higher-privileged user connects through the wrapper. The flaw stems from an untrusted search path (CWE-426) in the GlobalDatabasePlugin and was reported by Amazon (AMZN). There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
Privilege escalation in AWS Advanced JDBC Wrapper for Amazon Aurora PostgreSQL (versions prior to 4.0.1) allows an authenticated low-privilege RDS user to escalate to another RDS user's privileges, including rds_superuser, by planting a crafted function that executes when the target user connects through the affected wrapper. The flaw stems from an untrusted search path (CWE-426) in the GlobalDatabasePlugin; no public exploit identified at time of analysis and the CVE is not currently listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to AWS Advanced JDBC Wrapper version 4.0.1 or later (https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/4.0.1), which fully qualifies function calls in the PostgreSQL topology detection queries used by the GlobalDatabasePlugin per the 2026-05-13 release notes; see the AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-039-aws/ for guidance. If immediate upgrade is not possible, compensating controls include revoking CREATE on the public schema from PUBLIC and from low-privileged roles (REVOKE CREATE ON SCHEMA public FROM PUBLIC) so attackers cannot plant shadowing functions - note this may break applications that legitimately create objects in public - and setting an explicit, restricted search_path for rds_superuser and other high-privileged users (e.g., SET search_path = pg_catalog, "$user") to prevent resolution against attacker-controlled schemas. As a deployment-level mitigation, restrict use of the GlobalDatabasePlugin to trusted applications and avoid connecting privileged maintenance accounts through the wrapper until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The AWS Advanced JDBC Wrapper is Amazon's open-source JDBC driver wrapper that adds features such as fast failover, connection pooling, and topology awareness on top of standard PostgreSQL/MySQL drivers for Amazon Aurora and RDS. The flaw resides in the GlobalDatabasePlugin, which issues internal SQL queries (including topology detection calls) without fully qualifying function names with their schema. This maps to CWE-426 (Untrusted Search Path): when PostgreSQL resolves an unqualified function reference, it walks the session's search_path, allowing a lower-privileged user who can create objects in an earlier-listed schema (e.g., public) to plant a malicious same-named function that is then executed in the security context of any other user - including rds_superuser - whose session triggers the wrapper's topology query. The affected CPE is cpe:2.3:a:aws:aws_advanced_jdbc_wrapper:*:*:*:*:*:*:*:* and the fix referenced in the 4.0.1 release notes specifically calls out 'PostgreSQL topology detection queries to ensure function calls are fully qualified.'
Know when AWS 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
Primary rating from Vendor (AMZN) · only source for this CVE.
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
An untrusted search path issue in the GlobalDatabasePlugin in the AWS Advanced JDBC 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 an affected wrapper.
To remediate this issue, users should upgrade to AWS Advanced JDBC Wrapper version 4.0.1.
Executive ViewAI
A critical privilege escalation vulnerability in AWS Advanced JDBC Wrapper for Amazon Aurora PostgreSQL (CVE-2026-11400) enables authenticated database users with low privileges to escalate to rds_superuser status, potentially exposing sensitive data and enabling unauthorized database modifications across your Aurora infrastructure.
Apply vendor patch. Interim mitigation: Restrict Aurora cluster network access to only trusted applications, implement database activity monitoring to detect privilege escalation attempts, and enforce principle of least privilege for database user permissions.
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.
Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa
EUVD-2026-34900
GHSA-mhww-p97m-3368
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB