Read the docs

Untrusted search path in Postgres Enterprise Manager allows superuser SQL

Priority MEDIUM 43CWE-426Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-426.

Summary

Several SECURITY DEFINER functions in the pem schema of the PEM backend database in EnterpriseDB Postgres Enterprise Manager from 7.6.0 before 10.6.1 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 temporary objects, and on PostgreSQL 14 backends also objects in the public schema, that the functions use in place of the intended ones, which lets them run arbitrary SQL with superuser privileges (CWE-426). The CVSS 4.0 vector rates the flaw as requiring low privileges and no user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00627 44th percentileScored 2026-11-30
Fix Fixed Postgres Enterprise Manager (EnterpriseDB): 10.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
EnterpriseDBPostgres Enterprise Manager7.6.0 to before 10.6.110.6.1Patch availableCNA
  • Postgres Enterprise Manager VendorEnterpriseDB Affected 7.6.0 to before 10.6.1 Fixed in 10.6.1 Patch available CNA

Remediation

Upgrade Postgres Enterprise Manager to version 10.6.1, which runs these functions with a fixed search_path.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA Postgres Enterprise Manager (EnterpriseDB) Fixed in 10.6.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    EnterpriseDB Postgres Enterprise Manager 10.6.1

    9 records Highest priority Priority MEDIUM 3 MEDIUM, 6 LOW

    Other records, highest priority first

    • TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobsPriority MEDIUM 42
    • TI-2026-95910 PEM agent role grants file read and write on the PEM server hostPriority MEDIUM 42
    • TI-2026-95913 Missing MFA enforcement on Postgres Enterprise Manager web routesPriority LOW 36

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-132660
  2. 2026-11-20 Alias added: GHSA-3p3c-5pxp-xrr7
  3. 2026-11-20 CISA SSVC decision points changed
  4. 2026-11-21 CISA SSVC decision points changed

References

  • TI-2023-21738 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1CRITICAL 9.8
  • TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobs CVSS 4.0CRITICAL 9.4
  • TI-2026-95910 PEM agent role grants file read and write on the PEM server host CVSS 4.0CRITICAL 9.4
  • TI-2023-21739 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1HIGH 8.8
  • TI-2026-37400 When applying replicated changes for a row that is missing one or more columns, pglogical… CVSS 4.0CRITICAL 9.0
  • TI-2026-37399 SQL injection in EnterpriseDB pglogical CVSS 4.0CRITICAL 9.0
See all 41 →

Sources