Uncontrolled Search Path Vulnerability in PostgreSQL by PostgreSQL Global Development Group
CVE-2026-6467
7.2HIGH
Key Information:
- Status
- Vendor
- CVE Published:
- 12 November 2026
What is CVE-2026-6467?
A vulnerability in PostgreSQL's CREATE EXTENSION feature allows an attacker with the necessary database privileges to manipulate the path for extensions. By exploiting this vulnerability, an attacker can execute arbitrary SQL commands as the bootstrap superuser. Specifically, misuse occurs through the ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA commands, where the trusted-extension script may reference incorrect objects, leading to unintended execution of the attacker's SQL code. This exposure primarily affects versions of PostgreSQL prior to 18.7, 17.12, 16.16, 15.20, and 14.25.
Affected Version(s)
PostgreSQL 18 < 18.7
PostgreSQL 17 < 17.12
PostgreSQL 16 < 16.16
References
CVSS V3.1
Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
The PostgreSQL project thanks Noah Misch for reporting this problem.
