home / blog
2026-11-24 · critical
CVE-2026-132660: Critical Vulnerability in Postgres Enterprise Manager
CVE-2026-132660: SECURITY DEFER functions in PEM allow arbitrary SQL execution as superuser

CVE-2026-132660 concerns a vulnerability in Postgres Enterprise Manager (PEM) where several SECURITY DEFER functions in the pem schema of the PEM backend database are owned by a superuser but do not set a safe search_path. This allows any PEM user who can connect to the PEM backend database to create objects that these functions use in place of the intended ones, and run arbitrary SQL with superuser privileges.
The vulnerability has a CVSS score of 9.4, classifying it as critical. It was officially published on November 20, 2026, and there are already reports on GitHub regarding public exploits. Public repositories claim to contain exploit code for this vulnerability, indicating an immediate risk for unpatched instances.
In defense, it is crucial to promptly apply the update to version 10.6.1 or higher of PEM, which resolves the issue with a fixed search_path. Additionally, verify that users do not have excessive privileges on the PEM backend database. Monitor for suspicious activities and implement a comprehensive audit of system accesses.
At a glance
- What
- SECURITY DEFER functions in the pem schema of the PEM backend database allow arbitrary SQL execution with superuser privileges
- Severity
- Critical (CVSS 9.4)
- Affected versions
- Not specifically reported (but the issue is present before version 10.6.1)
- Fix
- Update to PEM 10.6.1 or higher
- Status
- Published on 2026-11-20
- Action
- Apply the patch and verify correct configuration
Sources: NVD, CVE-2026-132660