CVE-2026-55769
CloudNativePG: Overriding operators can lead to privilege escalation in CloudNativePG for SQL queries without a fixed `search_path`
Description
CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.28.4 and 1.29.2, CloudNativePG opened superuser connections without pinning search_path in fillDefaultParameters in pkg/management/postgres/pool/profiles.go. A role holding DATABASE OWNER could create overloaded built-in operators in the public schema and change the database or role search_path, causing instance-manager introspection queries such as SELECT COUNT(*) > 0 FROM pg_catalog.pg_extension WHERE extname = $1 to execute attacker-controlled functions as the postgres superuser. The same trust issue affected direct sql.Open("pgx", ...) callsites and the public.user_search SECURITY DEFINER function, enabling PostgreSQL superuser access, operating system command execution through COPY ... FROM PROGRAM, and access to the pod ServiceAccount token. This issue is fixed in versions 1.28.4, 1.29.2, and 1.30.0.
INFO
Published Date :
Aug. 20, 2026, 10:17 p.m.
Last Modified :
Oct. 26, 2026, 10:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | CRITICAL | [email protected] |
Solution
- Update CloudNativePG to version 1.28.4 or later.
- Update CloudNativePG to version 1.29.2 or later.
- Update CloudNativePG to version 1.30.0 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-55769.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-55769 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-55769
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-55769 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-55769 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: cloudnative-pg, Description: CloudNativePG es una plataforma diseñada para gestionar bases de datos PostgreSQL dentro de entornos de Kubernetes. Antes de las versiones 1.28.4 y 1.29.2, CloudNativePG abría conexiones de superusuario sin fijar el search_path en fillDefaultParameters en pkg/management/postgres/pool/profiles.go. Un rol con el permiso DATABASE OWNER podía crear operadores incorporados sobrecargados en el esquema público y cambiar el search_path de la base de datos o del rol, lo que provocaba que las consultas de introspección del gestor de instancias, como SELECT COUNT(*) > 0 FROM pg_catalog.pg_extension WHERE extname = $1, ejecutaran funciones controladas por el atacante como el superusuario de postgres. El mismo problema de confianza afectaba a las llamadas directas a sql.Open(’pgx’, ...) y a la función public.user_search SECURITY DEFINER, lo que permitía el acceso de superusuario de PostgreSQL, la ejecución de comandos del sistema operativo a través de COPY ... FROM PROGRAM y el acceso al token de ServiceAccount del pod. Este problema está solucionado en las versiones 1.28.4, 1.29.2 y 1.30.0. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 21, 2026
Action Type Old Value New Value Added Reference https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-x8c2-3p4r-v9r6 Added SSVC {'id': 'CVE-2026-55769', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-21T11:20:03.067773Z'} -
New CVE Received by [email protected]
Aug. 20, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'cloudnative-pg', 'product': 'cloudnative-pg', 'versions': [{'status': 'affected', 'version': '< 1.28.4'}, {'status': 'affected', 'version': '>= 1.29.0, < 1.29.2'}]}] Added Description CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.28.4 and 1.29.2, CloudNativePG opened superuser connections without pinning search_path in fillDefaultParameters in pkg/management/postgres/pool/profiles.go. A role holding DATABASE OWNER could create overloaded built-in operators in the public schema and change the database or role search_path, causing instance-manager introspection queries such as SELECT COUNT(*) > 0 FROM pg_catalog.pg_extension WHERE extname = $1 to execute attacker-controlled functions as the postgres superuser. The same trust issue affected direct sql.Open("pgx", ...) callsites and the public.user_search SECURITY DEFINER function, enabling PostgreSQL superuser access, operating system command execution through COPY ... FROM PROGRAM, and access to the pod ServiceAccount token. This issue is fixed in versions 1.28.4, 1.29.2, and 1.30.0. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-426 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/commit/02b5c6289b7609dc87fcb1ae9c113160e3d43308 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/commit/db38f4d80315c8f1b21bf511ef0f28871820c14d Added Reference https://github.com/cloudnative-pg/cloudnative-pg/commit/e0e2d53adbd907a61f583b1431904b5969f3fd22 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/pull/10774 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.4 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.2 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.0 Added Reference https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-x8c2-3p4r-v9r6