CVE-2026-6467
Received Received - Intake

Uncontrolled Search Path Element in PostgreSQL

Vulnerability report for CVE-2026-6467, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-12

Last updated on: 2026-11-12

Assigner: PostgreSQL

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-12
Last Modified
2026-11-12
Generated
2026-11-12
AI Q&A
2026-11-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
postgresql postgresql to 18.7 (exc)
postgresql postgresql to 17.12 (exc)
postgresql postgresql to 16.16 (exc)
postgresql postgresql to 15.20 (exc)
postgresql postgresql to 14.25 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-427 The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in PostgreSQL involves an uncontrolled search path element in the CREATE EXTENSION command. An attacker with database-level CREATE privileges can exploit this to execute arbitrary SQL code as the bootstrap superuser. This happens due to schema mishandling in extension scripts, allowing manipulation of object locations via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION is also affected.

Detection Guidance

Check PostgreSQL version with 'psql --version' or 'SELECT version();'. If running versions before 18.7, 17.12, 16.16, 15.20, or 14.25, the system is vulnerable. Review extension scripts for schema manipulation via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user".

Impact Analysis

An attacker could gain full control over the PostgreSQL database, leading to unauthorized data access, modification, or deletion. This could compromise confidentiality, integrity, and availability of sensitive data stored in the database.

Compliance Impact

This vulnerability could lead to unauthorized access or exposure of regulated data, violating compliance requirements such as GDPR or HIPAA. Organizations may face legal penalties, reputational damage, and loss of trust due to data breaches.

Mitigation Strategies

Upgrade PostgreSQL to versions 18.7, 17.12, 16.16, 15.20, or 14.25 or later immediately. Revoke unnecessary CREATE privileges from untrusted users. Audit and review all extension scripts for potential malicious schema manipulations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-6467. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...