SQL Injection Risk in Postgres Enterprise Manager
CVE-2026-132660
9.4CRITICAL
What is CVE-2026-132660?
In the Postgres Enterprise Manager (PEM), certain SECURITY DEFINER functions within the pem schema are owned by a superuser but lack a secure search_path configuration. This oversight allows any user with access to the PEM backend database to create their own objects, which can be executed by these functions, potentially enabling them to run arbitrary SQL commands with elevated superuser privileges. This vulnerability can be exploited through temporary objects across all supported PostgreSQL versions as well as through objects in the public schema on PostgreSQL 14 databases. From version 10.6.1 onward, these functions are configured to operate with a fixed search_path to mitigate this risk.
Affected Version(s)
Postgres Enterprise Manager 7.6.0 < 10.6.1
