In Postgres Enterprise Manager (PEM), several SECURITY DEFINER functions in the pem schema of the PEM backend database are owned by a superuser but do not set a safe search_path. Any PEM user who can connect to the PEM backend database can create objects that these functions use in place of the intended ones, and so run arbitrary SQL with superuser privileges. Temporary objects can be used for this on every supported PostgreSQL version, and objects in the public schema on PostgreSQL 14 backends and backends upgraded from PostgreSQL 14.
From PEM 10.6.1, these functions run with a fixed search_path.

Project Subscriptions

Vendors Products
Enterprisedb Subscribe
Postgres Enterprise Manager Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 20 Nov 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Enterprisedb
Enterprisedb postgres Enterprise Manager
Vendors & Products Enterprisedb
Enterprisedb postgres Enterprise Manager

Fri, 20 Nov 2026 15:00:00 +0000

Type Values Removed Values Added
Description In Postgres Enterprise Manager (PEM), several SECURITY DEFINER functions in the pem schema of the PEM backend database are owned by a superuser but do not set a safe search_path. Any PEM user who can connect to the PEM backend database can create objects that these functions use in place of the intended ones, and so run arbitrary SQL with superuser privileges. Temporary objects can be used for this on every supported PostgreSQL version, and objects in the public schema on PostgreSQL 14 backends and backends upgraded from PostgreSQL 14. From PEM 10.6.1, these functions run with a fixed search_path.
Weaknesses CWE-426
References
Metrics cvssV4_0

{'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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: EDB

Published:

Updated: 2026-11-20T16:32:02.567Z

Reserved: 2026-11-18T22:27:58.953Z

Link: CVE-2026-132660

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-20T15:17:47.800

Modified: 2026-11-20T17:18:13.567

Link: CVE-2026-132660

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-20T18:30:21Z

Weaknesses