{"id":"CVE-2026-96538","revision":null,"records":[{"revision":"ec507a9f1a744b6ca84e1c666b1a5e17","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-96538","aliases":[],"title":"WarehousePG pg_file_write/pg_file_rename/pg_file_unlink/pg_logdir_ls privilege escalation","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.","state":0,"publishedAt":"2026-09-28T14:41:15.747+00:00","modifiedAt":"2026-09-28T16:22:25.908+00:00","affected":[{"ecosystem":"Vendor product","name":"WarehousePG","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"EnterpriseDB\",\n                    \"product\": \"WarehousePG\",\n                    \"versions\": [\n                        {\n                            \"version\": \"7.0.0\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"7.6.0-WHPG\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"severity":"HIGH"}],"references":["https://github.com/warehouse-pg/warehouse-pg/pull/305","https://www.enterprisedb.com/docs/security/advisories/cve202696538"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-96538","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-96538","identifiers":["CVE-2026-96538"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T08:55:39.4193399+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T08:55:39.4193399+00:00","lastSuccessAt":"2026-11-12T08:55:39.5669336+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.5669352+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-cdca8464672f7a6b0a4c4e58984a9b57c5e15d71ae2ddc7e2ff782639942ab38","complete":true,"records":424631,"lastAttemptAt":"2026-11-12T08:53:35.355196+00:00","lastSuccessAt":"2026-11-12T08:53:35.3149634+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:53:35.355196+00:00","snapshotPublishedAt":"2026-11-12T08:30:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-570328139368428ca550af1570d01579","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T08:56:06.8263277+00:00","lastSuccessAt":"2026-11-12T06:55:06.923+00:00","error":null,"lastVerifiedAt":"2026-11-12T06:55:06.923+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T08:55:39.4193399+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T08:55:39.4193399+00:00","lastSuccessAt":"2026-11-12T08:55:39.5676932+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.5676956+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-723ec20d092d41278189b87b8cbcf51e","complete":false,"records":13760,"lastAttemptAt":"2026-11-12T08:56:05.5820299+00:00","lastSuccessAt":"2026-11-12T08:56:05.578+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:56:05.578+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13313,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T08:55:35.2753592+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:35.2753592+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T08:53:35.4094441+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:53:35.4094441+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-44cd3a7b61439dd4e0dd867616b5261e169a9e59821f22444c84d86fd81b6f2e","complete":true,"records":3106,"lastAttemptAt":"2026-11-12T08:55:39.3774946+00:00","lastSuccessAt":"2026-11-12T08:55:39.2342768+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.3774946+00:00","snapshotPublishedAt":"2026-11-12T08:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c924bd892f7cff2008ba8f06b2d1a456e8a821e4c475408ea0c699c9c1fbf82c","complete":true,"records":231700,"lastAttemptAt":"2026-11-12T08:55:35.1386298+00:00","lastSuccessAt":"2026-11-12T08:55:33.6769659+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:35.1386298+00:00","snapshotPublishedAt":"2026-11-12T08:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}