The vulnerability, CVE-2026-11401, is a privilege escalation issue in the AWS Advanced Go Wrapper for Aurora PostgreSQL, categorized as an Untrusted Search Path (CWE-426). The root cause is that the wrapper executes SQL queries calling PostgreSQL functions (aurora_global_db_status, aurora_global_db_instance_status) without explicitly specifying the pg_catalog schema.
An authenticated attacker with low privileges can create their own malicious versions of these functions in a schema that is part of the database's search_path before the pg_catalog schema (e.g., the default public schema). When the application uses the AWS Go Wrapper to connect to the database, the database will resolve the function call to the attacker's function instead of the legitimate one. This results in the execution of the attacker's code with the permissions of the application's database user, which could be a highly privileged role like rds_superuser.
The security patch, found in commit a07683f09f69e972a460640e5cc3845de7a97489, addresses this by explicitly qualifying all calls to these functions with the pg_catalog schema (e.g., pg_catalog.aurora_global_db_status()). This ensures that the correct, trusted function is always executed, regardless of the search_path configuration.
The analysis of the patch file awssql/driver_infrastructure/pg_database_dialects.go pinpointed three methods within the GlobalAuroraPgDatabaseDialect struct—IsDialect, GetTopologyQuery, and GetRegionByInstanceIdQuery—as the sources of the vulnerability. These functions are responsible for constructing the vulnerable SQL query strings that are later executed, making them the key indicators that would appear in a runtime profile during exploitation.