CVE-2026-6467
Published:November 12, 2026
Updated:November 12, 2026
Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected Packages
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_18_BETA1 <REL_18_7Fix Suggestion:
Update to version REL_18_7https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_15_BETA1 <REL_15_20Fix Suggestion:
Update to version REL_15_20https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_16_BETA1 <REL_16_16Fix Suggestion:
Update to version REL_16_16https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_17_BETA1 <REL_17_12Fix Suggestion:
Update to version REL_17_12https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL9_1_ALPHA4 <REL_14_25 || >=REL9_2_BETA1 <REL_14_25 || >=REL9_3_BETA1 <REL_14_25 || >=REL9_4_BETA1 <REL_14_25 || >=REL9_5_ALPHA1 <REL_14_25 || >=REL9_6_BETA1 <REL_14_25 || >=REL_10_BETA1 <REL_14_25 || >=REL_11_BETA1 <REL_14_25 || >=REL_12_BETA1 <REL_14_25 || >=REL_13_BETA1 <REL_14_25 || >=REL_14_BETA1 <REL_14_25Fix Suggestion:
Update to version REL_14_25Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Search Path Element