Untrusted search path in aiven-extras - CVE-2026-100402
Published: November 9, 2026
Vulnerability details
The vulnerability allows a highly privileged remote attacker with permission to create temporary objects to gain PostgreSQL superuser privileges.
The vulnerability exists due to SECURITY DEFINER functions in aiven-extras omitting pg_temp from search_path, allowing temporary types to shadow unqualified casts. A highly privileged remote attacker can create a temporary domain and invoke an affected function, causing its malicious constraint to execute as the postgres superuser.