CVE-2026-96538
Last modified
CVE-2026-96538 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. WarehousePG (WHPG) 7.x before 7.6.0-WHPG is affected by a missing authorization vulnerability (CWE-862) in the built-in server-side file functions pg_file_write(text,text,bool), pg_file_rename(text,text,text), pg_file_unlink(text), and pg_logdir_ls(). These functions are executable by any authenticated database role with no GRANT required, because the REVOKE that contrib/adminpack applies to the equivalent functions was never carried over to WHPG core when their catalog entries were repointed to the ungated adminpack-derived implementations as part of Greenplum's merge to a PostgreSQL 12 base.
Description
WarehousePG (WHPG) 7.x before 7.6.0-WHPG is affected by a missing authorization vulnerability (CWE-862) in the built-in server-side file functions pg_file_write(text,text,bool), pg_file_rename(text,text,text), pg_file_unlink(text), and pg_logdir_ls(). These functions are executable by any authenticated database role with no GRANT required, because the REVOKE that contrib/adminpack applies to the equivalent functions was never carried over to WHPG core when their catalog entries were repointed to the ungated adminpack-derived implementations as part of Greenplum's merge to a PostgreSQL 12 base. A non-superuser can use pg_file_write, pg_file_rename, and pg_file_unlink to create, overwrite (append), rename, and delete files under the data and log directories, and can use pg_logdir_ls() to enumerate log file names. Because postgresql.auto.conf resides in the data directory, a non-superuser can append configuration directives such as shared_preload_libraries or archive_command to it, resulting in arbitrary code execution as the postgres operating system user on the next server restart or configuration reload. WarehousePG 6.x is not affected, as the equivalent functions there enforce a superuser check internally.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EnterpriseDB | WarehousePG | >= 7.0.0, < 7.6.0-WHPG |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-96538?
How severe is CVE-2026-96538?
How do I fix CVE-2026-96538?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-96525The MCP Server for WordPress WordPress plugin before 1.8.2 …2.7
- CVE-2026-96526The MCP Server for WordPress WordPress plugin before 1.8.2 …2.7
- CVE-2026-9653A denial-of-service security issue exists across all the 175…8.7
- CVE-2026-96531The Optimole WordPress plugin before 4.2.13 does not escape…6.8
- CVE-2026-96532The Testimonials Widget WordPress plugin through 4.0.4 does …7.5
- CVE-2026-96533The Testimonials Widget WordPress plugin through 4.0.4 does …5.8
- CVE-2026-96541A denial-of-service flaw was found in gnome-remote-desktop. …7.5
- CVE-2026-96545An out-of-bounds heap read flaw was found in GIMP's TIM imag…4.4
- CVE-2026-96546A one-byte out-of-bounds heap read flaw was found in GIMP's …2.5
- CVE-2026-96548A flaw has been found in sfturing hosp_order up to 627f42633…5.6
- CVE-2026-96549A vulnerability has been found in sfturing hosp_order up to …3.3
- CVE-2026-9655Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-96538?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
