---
id: CVE-2026-132662
title: >-
  In Postgres Enterprise Manager (PEM), the SQL Profiler save and load functions
  in the PEM web application do not keep the client-supplied file name inside
  the user's storage directory
summary: >-
  In Postgres Enterprise Manager (PEM), the SQL Profiler save and load functions
  in the PEM web application do not keep the client-supplied file name inside
  the user's storage directory. A user with the SQL Profiler role
  (pem_comp_sqlprofi…
severity: high
cwe:
  - CWE-22
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-132662'
references:
  - url: 'https://www.enterprisedb.com/docs/security/advisories/cve2026132662/'
    label: 20be33e2-bf35-4d13-8fad-18bd2f3e3659
tags:
  - nvd
  - cve.org
epss: 0.0065
epssPercentile: 0.51909
ingestedAt: '2026-11-23T20:22:04.147Z'
vendor: EnterpriseDB
product: Postgres Enterprise Manager
affected:
  - postgres_enterprise_manager >= 7.0.0 < 10.6.1
cvss: 7.2
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-20T15:57:06.114169Z'
cvssSource: cna
---

## Overview

In Postgres Enterprise Manager (PEM), the SQL Profiler save and load functions in the PEM web application do not keep the client-supplied file name inside the user's storage directory. A user with the SQL Profiler role (pem_comp_sqlprofiler) can read JSON files, and overwrite files that the PEM web server account can write, outside their own storage directory. Overwriting the PEM web application's configuration database stops the web console for all users.
From PEM 10.6.1, the SQL Profiler only reads and writes files inside the user's storage directory.

## Remediation

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