{"id":"CVE-2026-33539","published":"2026-03-24T18:26:56Z","modified":"2026-03-26T19:52:13Z","title":"Parse Server: SQL injection via aggregate and distinct field names in PostgreSQL adapter","vendor":"parse-community","product":"parse-server","tier":"tail","description":{"text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to versions 8.6.59 and 9.6.0-alpha.53, an attacker with master key access can execute arbitrary SQL statements on the PostgreSQL database by injecting SQL metacharacters into field name parameters of the aggregate $group pipeline stage or the distinct operation. This allows privilege escalation from Parse Server application-level administrator to PostgreSQL database-level access. Only Parse Server deployments using PostgreSQL are affected. MongoDB deployments are not affected. This issue has been patched in versions 8.6.59 and 9.6.0-alpha.53.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00513,"percentile":0.44652,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/parse-community/parse-server/pull/10272","tags":["x_refsource_MISC"]},{"url":"https://github.com/parse-community/parse-server/pull/10273","tags":["x_refsource_MISC"]},{"url":"https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c","tags":["x_refsource_MISC"]},{"url":"https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.93},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"parse-community","affectedVersions":[{"vendor":"parse-community","product":"parse-server","versions":["< 8.6.59",">= 9.0.0, < 9.6.0-alpha.53"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-26T19:33:11.468646Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"parse-server","vulnerableRanges":[">=9.0.0, <9.6.0-alpha.53","<8.6.59"],"patched":["9.6.0-alpha.53","8.6.59"],"from":["GHSA-p2w6-rmh7-w8q3"],"provenance":"source"}],"summary":{"text":"Parse Server's PostgreSQL adapter contains an SQL injection flaw in how field name parameters are handled for the aggregate $group pipeline stage and the distinct operation. An attacker with master key access can exploit this by injecting SQL metacharacters into those field names, which allows execution of arbitrary SQL statements against the PostgreSQL database; only deployments using PostgreSQL are affected, not MongoDB.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:31Z"},"euvd":{"id":"EUVD-2026-14976","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33527","published":"2026-03-24","fixed":"9.6.0-alpha.48","kev":false},{"cve":"CVE-2026-31871","published":"2026-03-11","fixed":"9.6.0-alpha.5","kev":false},{"cve":"CVE-2026-33538","published":"2026-03-24","fixed":"9.6.0-alpha.52","kev":false,"link":{"from":"CVE-2026-33538","to":"CVE-2026-33539","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"9.6.0-alpha.52","toFixed":"9.6.0-alpha.53","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"8.6.58","toFixed":"8.6.59","daysApart":0}]}},{"cve":"CVE-2026-33539","published":"2026-03-24","fixed":"9.6.0-alpha.53","kev":false},{"cve":"CVE-2026-33624","published":"2026-03-24","fixed":"9.6.0-alpha.54","kev":false,"link":{"from":"CVE-2026-33539","to":"CVE-2026-33624","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"9.6.0-alpha.53","toFixed":"9.6.0-alpha.54","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"8.6.59","toFixed":"8.6.60","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/Adapters/Storage/Postgres/PostgresStorageAdapter.js"],"commits":["https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c","https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e","https://github.com/parse-community/parse-server/commit/5e70094250a36bfcc14ecd49592be2b94fba66ff","https://github.com/parse-community/parse-server/commit/fc3da35a81d5083b453e8967cabcc880f1a3bd0c"],"basis":"shared file"}]}},{"cve":"CVE-2026-33627","published":"2026-03-24","fixed":"9.6.0-alpha.55","kev":false},{"cve":"CVE-2026-31872","published":"2026-03-11","fixed":"9.6.0-alpha.6","kev":false}],"package":"npm:parse-server"}}