Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise one monitored host
-
DeliveryObtain its PEM agent certificate
-
ExploitAuthenticate to PEM backend as pem_agent
-
ExecutionAbuse pg_read/write_server_files to read/write server files as postgres
-
PersistExfiltrate PEM CA private key
-
ImpactIssue certificates and impersonate other agents fleet-wide
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to first control any host monitored by PEM in order to obtain that host's legitimate PEM agent certificate; every PEM agent login inherits the pem_agent role, which in versions before 10.6.1 is a member of the PostgreSQL pg_read_server_files and pg_write_server_files roles on the PEM backend database. This is the default role configuration in affected versions, so no special PEM feature toggle is needed - the condition is simply that the deployment runs PEM prior to 10.6.1 with agents enrolled. The limiting factor is the required foothold: the attacker must already have compromised a monitored host and its agent certificate (reflected as PR:H), so this is not unauthenticated remote exploitation. Upgrading to PEM 10.6.1, which removes these roles from agents, is the stated fix. |
| Impact | This is a genuine high-priority issue, consistent with the vuln.today 'act_now' decision label. The CVSS 4.0 vector (AV:N/AC:L/PR:H/UI:N, full VC/VI/VA:H plus subsequent-system SC/SI/SA:H, base 9.4) aligns closely with the described mechanism: network-reachable, low complexity, no user interaction, but requiring privileges (PR:H) because the attacker must already control a monitored host and its PEM agent certificate. The PR:H is the single most important risk-limiting signal - this is not an unauthenticated internet-facing bug; it is a privilege-escalation and lateral-movement flaw (CWE-269) that converts control of any one monitored host into read/write file access on the PEM server as the postgres OS user, and then into full impersonation of every other agent via the captured CA key. No EPSS score, no CISA KEV listing, and no POC were provided in the input, so there is no evidence of active exploitation or public exploit code; the urgency here derives from the decision framework and the severe technical/scope impact rather than from observed exploitation. The high subsequent-system impact (SC/SI/SA:H) is justified by the CA-key compromise crossing a trust boundary to other agents and the host OS. Overall: a real priority to patch in affected EDB PEM deployments, but exploitation presupposes a foothold on a monitored host, so it is an escalation/trust-chain risk rather than a drive-by remote compromise. |
| Exploit ScenarioDerived | An attacker who has compromised any single host monitored by PEM obtains that host's PEM agent certificate and authenticates to the PEM backend database, where the inherited pem_agent role grants pg_read_server_files and pg_write_server_files. Using these, the attacker reads and writes arbitrary files on the PEM server as the postgres OS user and exfiltrates the PEM certificate authority key. With the CA key, the attacker mints valid certificates for other agents and impersonates them, pivoting across the monitored fleet. No public exploit was identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Postgres Enterprise Manager (PEM) before 10.6.1 allows an attacker who controls any monitored host and obtains that host's PEM agent certificate to read and write files on the PEM server host as the postgres operating system user. Because every PEM agent login inherits the pem_agent role, which in affected versions is a member of PostgreSQL's pg_read_server_files and pg_write_server_files roles, the attacker can reach sensitive server-side files including the PEM certificate authority key and can then issue certificates for other agents and impersonate them. The vendor states that PEM 10.6.1 removes these roles from agents; no public exploit identified at time of analysis, and the vuln.today decision label is act_now.
RemediationAI
Vendor-released patch: 10.6.1. Upgrade PEM to 10.6.1 or later, which removes the pg_read_server_files and pg_write_server_files role memberships from pem_agent so agent logins no longer inherit file read and write privileges on the PEM backend database; see the vendor advisory at https://www.enterprisedb.com/docs/security/advisories/cve2026132658/. The available advisory data does not specify an alternative workaround short of upgrading, and upgrading to 10.6.1 is the stated fix.
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
PEM is EDB's monitoring and management platform for PostgreSQL; its agents authenticate to the PEM backend database with certificates and map to the pem_agent role. In affected versions, that role is a member of the PostgreSQL pg_read_server_files and pg_write_server_files roles, so any agent login inherits server-side file read and write capabilities on the PEM server host; the issue is an improper privilege management flaw (CWE-269), not a memory-safety bug. The CPE cpe:2.3:a:enterprisedb:postgres_enterprise_manager:*:*:*:*:*:*:*:* identifies EDB Postgres Enterprise Manager with a wildcard version, and the advisory states PEM 10.6.1 removes the role memberships. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H) and CVSS 4.0 vector both reflect network reachability with high privileges required, consistent with the need to first compromise a monitored host and its agent certificate; the precise trigger beyond that certificate and role configuration is not described in the available sources.
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:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable backend with low complexity and no UI, but PR:H since a valid agent certificate (host compromise) is required; S:C because the postgres OS user and CA-key impersonation cross trust boundaries, with full C/I/A impact.
Primary rating from Vendor (EDB).
CVSS VectorVendor: EDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
CVE-2026-132658 is a critical vulnerability in Postgres Enterprise Manager (PEM) that lets an attacker with control of a monitored host and its PEM agent certificate access and modify files on the PEM server as the postgres OS user, including the certificate authority key. This could enable impersonation of other agents, undermining the integrity and confidentiality of the entire PostgreSQL monitoring infrastructure, which may affect database operations and compliance. Leadership should prioritize immediate remediation because the vulnerability is rated CRITICAL and the vendor has released a fixed version (10.6.1).
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in Postgres Enterprise Manager
View allAny authenticated user who can connect to a Postgres Enterprise Manager backend database can escalate to database superu
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-131599
GHSA-mff5-m274-g5ww
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB