Insecure DLL loading in PostgreSQL - CVE-2026-6467
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary code as the PostgreSQL bootstrap superuser.
The vulnerability exists due to an uncontrolled search path element in PostgreSQL CREATE EXTENSION and ALTER EXTENSION when resolving objects in trusted-extension scripts. A remote privileged user can use database-level CREATE privilege with ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user" to cause a trusted-extension script to locate the wrong object and execute arbitrary SQL as the bootstrap superuser.