CVE-2026-132658 - PEM agent role can read and write files on the PEM server

First Published: 2026/11/19

Last Updated: 2026/11/19

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.

Vulnerability details

CVE-ID: CVE-2026-132658

CVSS Base Score: 9.4 Critical

CVSS Temporal Score: Undefined

CVSS Environmental Score: Undefined

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected products and versions

  • Affected Product: Postgres Enterprise Manager (PEM)
  • Affected Versions: PEM 10.5.0 and later versions prior to PEM 10.6.1

Remediation/fixes

Impacted users must upgrade to PEM 10.6.1 or later. From PEM 10.6.1, PEM agents no longer hold these roles.

ProductVRMFRemediation/First Fix
PEMPEM 10.5.0 and later versions prior to PEM 10.6.1Update to PEM 10.6.1 or later

Upgrading removes the file access but does not undo earlier use of it. If you suspect a monitored host was compromised, reissue the PEM certificate authority and all PEM agent certificates after upgrading.

Mitigation

Until you can upgrade, reduce exposure as follows:

  • Protect the PEM agent certificate and key on every monitored host, and limit root access to monitored hosts to trusted administrators.

References

Acknowledgement

Source: Reported by kta1kri through the EDB Vulnerability Disclosure Program.

Change history

  • 2026/11/19: Original Copy Published

Disclaimer

This document is provided on an "as is" basis and does not imply any kind of guarantee or warranty, including the warranties of merchantability or fitness for a particular use. Your use of the information on the document is at your own risk. EDB reserves the right to change or update this document at any time. Customers are therefore recommended to always view the latest version of this document.


Could this page be better? Report a problem or suggest an addition!