Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any PEM user to backend DB
-
DeliveryCreate shadowing temp or public-schema object
-
ExploitInvoke superuser SECURITY DEFINER pem function
-
ExecutionFunction resolves attacker object via unsafe search_path
-
PersistExecute arbitrary SQL as superuser
-
ImpactFull compromise of PEM backend database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Exploitation Conditions | Requires an authenticated PEM user account that can connect to the PEM backend database (PR:L) - this is privilege escalation for an existing low-privileged user, not anonymous access. The attacker must be able to create objects the vulnerable SECURITY DEFINER functions resolve via search_path: temporary objects work on every supported PostgreSQL backend version, while the public-schema variant works only on PostgreSQL 14 backends or backends upgraded from PostgreSQL 14. The limiting factors are therefore the need for a valid backend-database connection/account and, for the public-schema path specifically, a PG14 or 14-upgraded backend. The complete fix is upgrading to PEM 10.6.1 or later, where these functions run with a fixed search_path; no partial mitigation is stated in the available sources. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one, and the multiple signals are consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack needing only low privileges, and the impact metrics (VC:H/VI:H/VA:H plus subsequent-system SC:H/SI:H/SA:H) reflect that a low-privileged PEM user escalates to full superuser control of the PEM backend database - a complete confidentiality, integrity, and availability compromise. The vuln.today decision label is act_now and the finding was reported by the vendor (EDB) itself with a published advisory, which raises confidence in the mechanism. Counterbalancing signals: there is no CISA KEV listing and no EPSS score or public exploit reference in the supplied data, so there is no evidence of active or at-scale exploitation at time of analysis - the urgency is driven by severity and the act_now decision, not by observed in-the-wild activity. The one nuance a defender should weigh is that exploitation requires an existing authenticated PEM account that can connect to the backend database (PR:L), so this is privilege escalation for someone already inside, not anonymous internet-facing RCE. The 'Information Disclosure' tag understates the issue: the core outcome is arbitrary SQL execution as superuser, of which data disclosure is only one consequence. |
| Exploit ScenarioDerived | A low-privileged but legitimate PEM user who can connect to the PEM backend database creates a malicious object (a temporary function/table, or an object in the public schema on a PostgreSQL 14 or 14-upgraded backend) whose name shadows an object that a superuser-owned SECURITY DEFINER function in the pem schema references without a fixed search_path. When that function is invoked, it resolves to the attacker's object and executes attacker-controlled SQL with superuser privileges, giving full control of the backend database. No public exploit code is referenced in the supplied data, though the mechanism is described in detail in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Any authenticated user who can connect to a Postgres Enterprise Manager backend database can escalate to database superuser, because several SECURITY DEFINER functions in the pem schema are owned by a superuser but execute without a safe search_path. Affected installations are PEM releases before 10.6.1, where an attacker-supplied object (a temporary object on every supported PostgreSQL version, or a public-schema object on PostgreSQL 14 backends and backends upgraded from 14) is resolved by those functions in place of the intended object, letting the attacker run arbitrary SQL with superuser privileges. Exploitation requires a valid low-privileged PEM account with backend database connectivity (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H); no public exploit code and no confirmed active exploitation were identified at time of analysis, but the issue is rated act_now priority with full confidentiality, integrity and availability impact across the security scope.
RemediationAI
Upgrade Postgres Enterprise Manager to 10.6.1 or later, the release in which the affected SECURITY DEFINER functions run with a fixed search_path; this is the complete vendor fix and the available sources state no partial mitigation. The vendor advisory at https://www.enterprisedb.com/docs/security/advisories/cve2026132660/ should be consulted for the exact upgrade procedure on the PEM server and backend database. For environments that cannot move to 10.6.1 immediately, the assessment notes the only prerequisite an attacker needs is an authenticated account able to connect to the PEM backend database, so restricting and auditing which roles hold backend-database connections is the sole exposure-reducing measure implied by the exploitation conditions - it does not remove the flaw, it only narrows the set of users who could reach it, and it is not described as a vendor-supplied workaround.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-426, Untrusted Search Path, applied to PostgreSQL's search_path resolution inside SECURITY DEFINER functions. Those functions execute with the privileges of their owner (a superuser) rather than the caller, so any unqualified reference inside the function body - a table, view, operator or function name - is resolved at runtime through the caller's effective search_path. Because PEM never pinned that path with a SET search_path clause, an attacker holding only a normal PEM login and a connection to the backend database can plant an object whose name shadows the intended one. On every supported PostgreSQL backend, the temporary schema (pg_temp) is searched ahead of ordinary schemas, so a session-local temporary object is sufficient; on PostgreSQL 14 backends - and on backends that were upgraded from 14, where the older public-schema write privileges persist - the writable public schema provides a second, persistent vector. PEM 10.6.1 changes these functions so they run with a fixed search_path, closing the substitution path. The CPE (cpe:2.3:a:enterprisedb:postgres_enterprise_manager:*:*:*:*:*:*:*:*) does not restrict to a version range, so all releases prior to 10.6.1 should be treated as affected.
Know when Postgres Enterprise Manager gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable, low-complexity attack by an authenticated low-privileged user (PR:L); scope changes (S:C) as the function escalates to superuser, yielding full C/I/A compromise.
Primary rating from Vendor (EDB).
CVSS VectorVendor: EDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
CVE-2026-132660 is a critical privilege escalation vulnerability in EDB Postgres Enterprise Manager (PEM) releases before 10.6.1. Any authenticated user with a low-privileged PEM account and backend database access can exploit SECURITY DEFINER functions to obtain superuser privileges, compromising the confidentiality, integrity, and availability of the entire managed PostgreSQL environment. This impacts all organizations using affected PEM versions and requires immediate leadership attention due to the potential for full data breach and system compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Postgres Enterprise Manager
View allPostgres Enterprise Manager (PEM) before 10.6.1 allows an attacker who controls any monitored host and obtains that host
Postgres Enterprise Manager (PEM) before 10.6.1 allows an attacker who controls one monitored host and holds its PEM age
Multi-factor authentication can be bypassed in EDB Postgres Enterprise Manager before 10.6.1 because MFA is not enforced
A path traversal flaw in Postgres Enterprise Manager's SQL Profiler file save and load functions lets an authenticated u
Postgres Enterprise Manager (PEM) deployments prior to 10.6.1 allow a user holding the pem_config_alert role to configur
Credential disclosure in Postgres Enterprise Manager (PEM) allows any authenticated PEM user, at any privilege level, to
Postgres Enterprise Manager versions up to 9.8.1 is affected by cross-site scripting (xss) (CVSS 6.5).
In Postgres Enterprise Manager (PEM) before 10.6.1, an authenticated user with the pem_manage_schedule_task role can dep
Any authenticated Postgres Enterprise Manager (PEM) login role can invoke the privileged pem.send_webhook() function to
EUVD-2026-131601
GHSA-3p3c-5pxp-xrr7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB