{"id":"CVE-2026-55769","aliases":[],"summary":"CloudNativePG: Overriding operators can lead to privilege escalation in CloudNativePG for SQL queries without a fixed `search_path`","published_at":"2026-08-20T21:41:51.369Z","modified_at":"2026-10-02T00:03:33Z","products":[{"slug":"cloudnative-pg","name":"CloudNativePG","category":"kubernetes-container"}],"rating":{"severity":"critical","score":9.4,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.007710000034421682,"percentile":0.5643500089645386,"date":"2026-11-19T00:00:00Z"},"priority":10.4,"record_count":4,"vendors":["SUSE"],"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"cloudnative-pg/cloudnative-pg","versions":["< 1.28.4",">= 1.29.0, < 1.29.2"],"provider":"cvelistv5","source":"CVE-2026-55769","relation":"self"}],"affected_other":[{"ecosystem":"openSUSE:Tumbleweed","package":"kubectl-cnpg","purl":"pkg:rpm/opensuse/kubectl-cnpg&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29.2-1.1"}]}],"fixed":["1.29.2-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11167-1","relation":"upstream"}],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["kubectl-cnpg","kubectl-cnpg-bash-completion","kubectl-cnpg-fish-completion","kubectl-cnpg-zsh-completion"],"package_count":4,"fixed":["kubectl-cnpg-1.29.2-1.1","kubectl-cnpg-bash-completion-1.29.2-1.1","kubectl-cnpg-fish-completion-1.29.2-1.1","kubectl-cnpg-zsh-completion-1.29.2-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-55769"}],"records":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11167-1","relation":"upstream","url":"https://www.suse.com/security/cve/CVE-2018-1058/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-07-01T00:00:00Z","modified_at":"2026-07-01T00:00:00Z","summary":"kubectl-cnpg-1.29.2-1.1 on GA media","details":"kubectl-cnpg-1.29.2-1.1 on GA media\n\nThese are all security issues fixed in the kubectl-cnpg-1.29.2-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"openSUSE-SU-2026:11167-1"},{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:11167-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_11167-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-1058/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55765/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55769/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-1058"},{"type":"WEB","url":"https://bugzilla.suse.com/1081925"},{"type":"WEB","url":"https://bugzilla.suse.com/1175193"},{"type":"WEB","url":"https://bugzilla.suse.com/1175194"},{"type":"WEB","url":"https://bugzilla.suse.com/1185814"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55765"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55769"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:11167-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11167-1","published_at":"2026-07-01T00:00:00Z","modified_at":"2026-07-02T18:24:17.798281Z","summary":"kubectl-cnpg-1.29.2-1.1 on GA media","details":"These are all security issues fixed in the kubectl-cnpg-1.29.2-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"kubectl-cnpg","purl":"pkg:rpm/opensuse/kubectl-cnpg&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29.2-1.1"}]}],"fixed":["1.29.2-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11167-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-1058"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55765"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55769"}]},{"provider":"cvelistv5","source_id":"CVE-2026-55769","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-55769","license":"CC-BY-4.0","published_at":"2026-08-20T21:41:51.369Z","modified_at":"2026-08-21T11:20:22.436Z","summary":"CloudNativePG: Overriding operators can lead to privilege escalation in CloudNativePG for SQL queries without a fixed `search_path`","details":"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.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"CVE-2026-55769"}],"affected":[{"ecosystem":"CVE","package":"cloudnative-pg/cloudnative-pg","versions":["< 1.28.4",">= 1.29.0, < 1.29.2"],"provider":"cvelistv5","source":"CVE-2026-55769","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-x8c2-3p4r-v9r6"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/pull/10774"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/commit/02b5c6289b7609dc87fcb1ae9c113160e3d43308"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/commit/db38f4d80315c8f1b21bf511ef0f28871820c14d"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/commit/e0e2d53adbd907a61f583b1431904b5969f3fd22"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.4"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.2"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.0"}]},{"provider":"csaf-suse","source_id":"CVE-2026-55769","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-55769/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-10-02T00:03:33Z","modified_at":"2026-10-02T00:03:33Z","summary":"SUSE CVE CVE-2026-55769","details":"SUSE CVE-2026-55769\n\nCloudNativePG 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.","severity":[{"type":"SUSE","score":"not set","source":"CVE-2026-55769"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["kubectl-cnpg","kubectl-cnpg-bash-completion","kubectl-cnpg-fish-completion","kubectl-cnpg-zsh-completion"],"package_count":4,"fixed":["kubectl-cnpg-1.29.2-1.1","kubectl-cnpg-bash-completion-1.29.2-1.1","kubectl-cnpg-fish-completion-1.29.2-1.1","kubectl-cnpg-zsh-completion-1.29.2-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-55769"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55769"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"}]}],"references":[{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-x8c2-3p4r-v9r6"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/pull/10774"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/commit/02b5c6289b7609dc87fcb1ae9c113160e3d43308"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/commit/db38f4d80315c8f1b21bf511ef0f28871820c14d"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/commit/e0e2d53adbd907a61f583b1431904b5969f3fd22"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.4"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.2"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.0"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-55769"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"}],"sources":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11167-1","url":"https://www.suse.com/security/cve/CVE-2018-1058/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-07-01T00:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2026:11167-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11167-1","modified_at":"2026-07-02T18:24:17.798281Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-55769","url":"https://www.cve.org/CVERecord?id=CVE-2026-55769","license":"CC-BY-4.0","modified_at":"2026-08-21T11:20:22.436Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2026-55769","url":"https://www.suse.com/security/cve/CVE-2026-55769/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-10-02T00:03:33Z","relation":"self"}]}
