AI and data stack advisories

1 critical this month · 294 projects

EnterpriseDBCVE-2026-132660

EnterpriseDB Postgres Enterprise Manager: untrusted search path

EnterpriseDB

CVE-2026-132660 · Published Nov 20, 2026 · updated Nov 23, 2026

Critical9.4
Fix: upgrade to 10.6.1 or later
EnterpriseDB advisory

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.

Affected versions

PackageAffectedFixed in
Postgres Enterprise Manager
Product
>= 7.6.0, < 10.6.110.6.1
Details and references
CVSS 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-426

More EnterpriseDB advisories

All EnterpriseDB
CVE-2026-132662Nov 20EnterpriseDB Postgres Enterprise Manager: path traversalIn Postgres Enterprise Manager (PEM), the SQL Profiler save and load functions in the PEM web application do not keep the client-supplied file name inside the user's storage directory.High7.2Fixed in 10.6.1CVE-2026-132663Nov 20EnterpriseDB Postgres Enterprise Manager: server-side request forgeryIn Postgres Enterprise Manager (PEM), webhook URLs are not validated, and the PEM agent does not restrict the URL schemes it uses to deliver webhooks.High7.1Fixed in 10.6.1CVE-2026-132664Nov 20EnterpriseDB Postgres Enterprise Manager: hard-coded keyIn Postgres Enterprise Manager (PEM), any PEM user can read the encrypted passwords that PEM agents use to connect to monitored servers, including the PEM backend superuser password stored when the...High7.0Fixed in 10.6.1CVE-2026-132665Nov 20EnterpriseDB Postgres Enterprise Manager: improper authorizationIn Postgres Enterprise Manager (PEM), the pem.deploy_job_template() function does not check that the caller can access the servers, groups and agents it deploys a job template to.Medium5.8Fixed in 10.6.1CVE-2026-132668Nov 20EnterpriseDB Postgres Enterprise Manager: missing authorizationIn Postgres Enterprise Manager (PEM), any PEM user can run the pem.send_webhook() function, which runs with elevated privileges and queues a payload for any configured webhook.Low2.3Fixed in 10.6.1CVE-2026-132658Nov 20EnterpriseDB Postgres Enterprise Manager: improper privilege managementIn Postgres Enterprise Manager (PEM), the pem_agent role, which every PEM agent login inherits, is a member of the PostgreSQL pg_read_server_files and pg_write_server_files roles on the PEM backend...Critical9.4Fixed in 10.6.1