CVE-2026-104947: Medium severity WarehousePG WarehousePG vulnerability
WarehousePG (WHPG) 7.2.1 through 7.6.0 is affected by a missing authorization vulnerability (CWE-862) in the built-in function gplogbackendmemorycontexts(). Any authenticated database role can run this function without a GRANT. It also gets around the superuser restriction that PostgreSQL places on the underlying pglogbackendmemorycontexts() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WarehousePGto a version that resolves this vulnerability.Fixed in 6.x
Event History
Frequently Asked Questions
Which deployments are affected?
WarehousePG versions 7.2.1 through 7.6.0 are affected. WarehousePG 6.x is not affected.
What access does an attacker need?
An attacker needs an authenticated WarehousePG database role, including a low-privileged role. No GRANT on gp_log_backend_memory_contexts() is required.
What is the practical impact of exploitation?
A low-privileged user can cause segment backends for other sessions, including superuser sessions, to write memory-context details to segment server logs. The logged details can include query text from other users' cached plans, and repeated calls can generate large volumes of log output.