Description
WarehousePG (WHPG) 7.2.1 through 7.6.0 is affected by a missing authorization vulnerability (CWE-862) in the built-in function gp_log_backend_memory_contexts(). Any authenticated database role can run this function without a GRANT. It also gets around the superuser restriction that PostgreSQL places on the underlying pg_log_backend_memory_contexts() function. A low-privileged user can force the segment backends of any other session, superuser sessions included, to write their memory context details to the segment server logs, which the attacker cannot read. Those details can include query text from other users' cached plans, and the call can be repeated to generate large amounts of log output. WarehousePG 6.x is not affected.
Published: 2026-10-21
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Potential unauthorized exposure of query text and log flooding via a missing authorization flaw
Action: Assess Impact
AI Analysis

Impact

WarehousePG contains a missing authorization flaw that allows any authenticated database role to invoke the gp_log_backend_memory_contexts function without needing GRANT privileges. The function circumvents PostgreSQL's superuser restrictions, causing segment backends of other sessions—including superuser sessions—to write comprehensive memory context details, including cached query text, to server logs. Although the attacker cannot read these logs directly, the ability to repeatedly trigger this function can lead to excessive log output and potential denial of service, and may indirectly expose sensitive queries if logs are accessed by other privileged users.

Affected Systems

This vulnerability exists in EnterpriseDB WarehousePG versions 7.2.1 through 7.6.0. Versions from the 6.x line are unaffected. The affected component is the built‑in function gp_log_backend_memory_contexts, which can be executed by any authenticated role due to the missing authorization controls.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and no EPSS score is available, so the likelihood of exploitation is unclear. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an authenticated database role with limited privileges; such a role can run the function directly, circumvent superuser restrictions, and trigger log generation. The impact is limited to potential log flooding and possible indirect information disclosure via logs that may later be read by higher‑privileged users.

Generated by OpenCVE AI on October 21, 2026 at 22:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Revoke execute privileges on the gp_log_backend_memory_contexts function from all non‑superuser roles
  • Apply the latest EnterpriseDB WarehousePG patch that removes or secures the function once it becomes available
  • Configure log rotation and monitor log sizes to prevent overflow or denial of service attacks

Generated by OpenCVE AI on October 21, 2026 at 22:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Enterprisedb
Enterprisedb warehousepg
Vendors & Products Enterprisedb
Enterprisedb warehousepg

Wed, 21 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Title Unauthorized Log Access in EnterpriseDB WarehousePG via gp_log_backend_memory_contexts Function

Wed, 21 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Title Unauthorized Log Access in EnterpriseDB WarehousePG via gp_log_backend_memory_contexts Function

Wed, 21 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Description WarehousePG (WHPG) 7.2.1 through 7.6.0 is affected by a missing authorization vulnerability (CWE-862) in the built-in function gp_log_backend_memory_contexts(). Any authenticated database role can run this function without a GRANT. It also gets around the superuser restriction that PostgreSQL places on the underlying pg_log_backend_memory_contexts() function. A low-privileged user can force the segment backends of any other session, superuser sessions included, to write their memory context details to the segment server logs, which the attacker cannot read. Those details can include query text from other users' cached plans, and the call can be repeated to generate large amounts of log output. WarehousePG 6.x is not affected.
Weaknesses CWE-862
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Enterprisedb Warehousepg
cve-icon MITRE

Status: PUBLISHED

Assigner: EDB

Published:

Updated: 2026-10-21T13:53:05.640Z

Reserved: 2026-10-02T17:51:49.010Z

Link: CVE-2026-104947

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T14:17:08.927

Modified: 2026-10-21T14:17:08.927

Link: CVE-2026-104947

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T23:30:16Z

Weaknesses