---
id: CVE-2026-132659
title: >-
  In Postgres Enterprise Manager (PEM), the row-level security policies on
  pem.job and pem.jobstep that apply to PEM agents do not limit an agent to its
  own jobs
summary: >-
  In Postgres Enterprise Manager (PEM), the row-level security policies on
  pem.job and pem.jobstep that apply to PEM agents do not limit an agent to its
  own jobs. An attacker who controls one monitored host, and so its PEM agent
  certificat…
severity: critical
cwe:
  - CWE-863
published: '2026-11-20'
updated: '2026-11-23'
sourceUpdated: '2026-11-23T16:24:48.897'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-132659'
references:
  - url: 'https://www.enterprisedb.com/docs/security/advisories/cve2026132659/'
    label: 20be33e2-bf35-4d13-8fad-18bd2f3e3659
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00373
epssPercentile: 0.31701
ingestedAt: '2026-11-23T20:22:04.145Z'
vendor: EnterpriseDB
product: Postgres Enterprise Manager
affected:
  - postgres_enterprise_manager >= 7.3.0 < 10.6.1
cvss: 9.4
cvssVector: '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'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-20T00:00:00+00:00'
cvssSource: cna
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/cveForge/CVE-2026-132659'
  checkedAt: '2026-11-25T12:57:43.812Z'
exploitAvailable: true
---

## Overview

In Postgres Enterprise Manager (PEM), the row-level security policies on pem.job and pem.jobstep that apply to PEM agents do not limit an agent to its own jobs. An attacker who controls one monitored host, and so its PEM agent certificate, can create, change or delete jobs for every other agent, including the agent on the PEM server. Agents run SQL job steps with the database credentials of the server they monitor, and shell job steps where batch jobs are enabled, so compromising one monitored host can give superuser SQL access to every monitored database and to the PEM backend.
From PEM 10.6.1, PEM agents can no longer create jobs or change job definitions or job steps.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
