Skip to content
DayZeroHub
Critical CVSS 9.4CVE-2026-132660

CVE-2026-132660: Superuser privilege escalation in Postgres Enterprise Manager via unsafe search_path

EnterpriseDB Postgres Enterprise Manager

Summary

Several SECURITY DEFINER functions in the pem schema of the Postgres Enterprise Manager (EnterpriseDB) backend database do not set a safe search_path, allowing a user with access to that database to run SQL with superuser privileges. The source assigns a CVSS 4.0 score of 9.4 and critical severity.

What happened

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 backend database can create objects that these functions use in place of the intended ones, and thereby run arbitrary SQL with superuser privileges. According to the source, temporary objects can be used for this on every supported PostgreSQL version, and objects in the public schema on PostgreSQL 14 backends and on backends upgraded from PostgreSQL 14. The weakness is classified as CWE-426. The identifier is CVE-2026-132660.

Why it matters

Successful exploitation would allow a user with access to the PEM backend database to gain superuser privileges on it. The CVSS 4.0 score is 9.4 (CNA:EDB), with 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, and severity is critical. CISA's KEV catalog does not list this vulnerability as exploited, and the source does not state active exploitation.

Affected products and versions

EnterpriseDB Postgres Enterprise Manager, versions >= 7.6.0, < 10.6.1.

ProductVersionsFixed in
EnterpriseDB Postgres Enterprise Manager>= 7.6.0, < 10.6.1—

Action recommended by the source

The vendor states that, from PEM 10.6.1, these functions run with a fixed search_path. More information is available in the EnterpriseDB advisory: https://www.enterprisedb.com/docs/security/advisories/cve2026132660/

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-426

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources