PEM agent role grants file read and write on the PEM server host
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-269.
Summary
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 database. An attacker who controls any monitored host, and so its PEM agent certificate, can read and write files on the PEM server host as the postgres operating system user. This includes the PEM certificate authority key, which lets the attacker issue certificates for other agents and act as them.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
In 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 database. An attacker who controls any monitored host, and so its PEM agent certificate, can read and write files on the PEM server host as the postgres operating system user. This includes the PEM certificate authority key, which lets the attacker issue certificates for other agents and act as them. From PEM 10.6.1, PEM agents no longer hold these roles.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EnterpriseDB | Postgres Enterprise Manager | 10.5.0 to before 10.6.1 | 10.6.1 | Patch available | CNA |
- Postgres Enterprise Manager VendorEnterpriseDB Affected 10.5.0 to before 10.6.1 Fixed in 10.6.1 Patch available CNA
Remediation
Upgrade Postgres Enterprise Manager to 10.6.1. From PEM 10.6.1, PEM agents no longer hold these roles.
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-95912 Untrusted search path in Postgres Enterprise Manager allows superuser SQLPriority MEDIUM 43
- TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobsPriority MEDIUM 42
- TI-2026-95913 Missing MFA enforcement on Postgres Enterprise Manager web routesPriority LOW 36
Timeline
- 2026-11-20 Threatist record created from CVE-2026-132658
- 2026-11-20 Alias added: GHSA-mff5-m274-g5ww
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-21 CISA SSVC decision points changed
References
More EnterpriseDB vulnerabilities
- TI-2023-21738 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1CRITICAL 9.8
- TI-2026-95912 Untrusted search path in Postgres Enterprise Manager allows superuser SQL CVSS 4.0CRITICAL 9.4
- TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobs 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
Sources
- CVE-2026-132658 · CVE Program
- CVE-2026-132658 · NVD
- FIRST EPSS
- GHSA-mff5-m274-g5ww · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences