{"id":"CVE-2026-33539","state":"PUBLISHED","title":"Parse Server: SQL injection via aggregate and distinct field names in PostgreSQL adapter","description":"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.","publishedAt":"2026-03-24T18:26:56.046Z","updatedAt":"2026-03-26T19:52:13.216Z","severity":{"score":8.6,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["parse-community parse-server"],"affected":[{"vendor":"parse-community","product":"parse-server","versions":[{"version":"< 8.6.59","status":"affected"},{"version":">= 9.0.0, < 9.6.0-alpha.53","status":"affected"}]}],"references":["https://github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3","https://github.com/parse-community/parse-server/pull/10272","https://github.com/parse-community/parse-server/pull/10273","https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c","https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33539.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33539","state":"PUBLISHED","datePublished":"2026-03-24T18:26:56.046Z","dateUpdated":"2026-03-26T19:52:13.216Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-20T18:05:11.831Z"},"containers":{"cna":{"title":"Parse Server: SQL injection via aggregate and distinct field names in PostgreSQL adapter","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"parse-community","product":"parse-server","versions":[{"version":"< 8.6.59","status":"affected"},{"version":">= 9.0.0, < 9.6.0-alpha.53","status":"affected"}]}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3","name":"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","name":"https://github.com/parse-community/parse-server/pull/10272","tags":["x_refsource_MISC"]},{"url":"https://github.com/parse-community/parse-server/pull/10273","name":"https://github.com/parse-community/parse-server/pull/10273","tags":["x_refsource_MISC"]},{"url":"https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c","name":"https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c","tags":["x_refsource_MISC"]},{"url":"https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e","name":"https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-24T18:26:56.046Z"},"source":{"advisory":"GHSA-p2w6-rmh7-w8q3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-33539","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-03-26T19:33:11.468646Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-26T19:52:13.216Z"}}]}}}