Skip to main content

CVE-2026-104947: CWE-862 Missing Authorization in EnterpriseDB WarehousePG

0
Medium
VulnerabilityCVE-2026-104947cvecve-2026-104947cwe-862
Published: 10/21/2026 (10/21/2026, 13:53:05 UTC)
Source: CVE Database V5
Vendor/Project: EnterpriseDB
Product: WarehousePG

Description

WarehousePG versions 7.2.1 through 7.6.0 contain a missing authorization vulnerability (CWE-862) in the gp_log_backend_memory_contexts() function. This flaw allows any authenticated database role to execute the function without proper GRANT permissions, bypassing PostgreSQL's superuser restrictions. Low-privileged users can cause segment backends of other sessions, including superuser sessions, to write memory context details to logs. These logs may contain query text from other users' cached plans. WarehousePG 6.x versions are not affected.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

EnterpriseDB

WarehousePG

Affected versions
>=7.2.1 <7.6.1
GitHub Actionsmore threats →cve
WarehousePG
pkg:github/WarehousePG
Affected versions
>=7.2.1 <7.6.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 14:16:22 UTC

Technical Analysis

CVE-2026-104947 describes a missing authorization vulnerability in EnterpriseDB's WarehousePG product affecting versions 7.2.1 through 7.6.0. The vulnerability exists in the built-in function gp_log_backend_memory_contexts(), which can be executed by any authenticated database role without requiring explicit GRANT permissions. This function circumvents PostgreSQL's superuser restrictions on the underlying pg_log_backend_memory_contexts() function. Exploitation allows a low-privileged user to force segment backends of other sessions, including those with superuser privileges, to write their memory context details to segment server logs. These logs may include sensitive information such as query text from other users' cached plans. The function can be invoked repeatedly to generate large volumes of log output. Versions 6.x of WarehousePG are not affected by this issue.

Potential Impact

The vulnerability allows low-privileged authenticated users to cause other database sessions, including superuser sessions, to write memory context details to logs. These logs may contain sensitive query text from other users' cached plans, potentially exposing confidential information. However, the attacker cannot read the logs directly. The vulnerability has a CVSS 4.0 base score of 5.3, indicating a medium severity impact with network attack vector, low attack complexity, and low privileges required.

Mitigation Recommendations

No explicit patch or remediation details are provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict authenticated database roles to trusted users only and monitor for unusual use of the gp_log_backend_memory_contexts() function. Avoid granting unnecessary database roles to untrusted users.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EDB
Date Reserved
2026-10-02T17:51:49.010Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad8c5a24d27ba8daab0d962

Added to database: 10/21/2026, 14:01:06 UTC

Last enriched: 10/21/2026, 14:16:22 UTC

Last updated: 10/21/2026, 14:16:22 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses