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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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
- Deferred
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-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-96534The Modern Events Calendar Lite WordPress plugin before 7.37…7.7
- CVE-2026-96535Cross-Site Scripting on the YouMind portal, specifically in …5.1
- CVE-2026-96537The Tutor LMS WordPress plugin before 4.1.1 does not perfor…7.5
- CVE-2026-96539Incorrect Privilege Assignment vulnerability in Ultimate Mem…5.6
- CVE-2026-96540An improper access control vulnerability has been identified…8.8
- CVE-2026-96541A denial-of-service flaw was found in gnome-remote-desktop. …7.5
- CVE-2026-96542Incorrect permission assignment (CWE-732) in the standalone …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
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
