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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
parse-servernpm | >= 9.0.0, < 9.6.0-alpha.53 | 9.6.0-alpha.53 |
parse-servernpm | < 8.6.59 | 8.6.59 |
Affected products
3- osv-coords2 versions
< 8.6.59+ 1 more
- (no CPE)range: < 8.6.59
- (no CPE)range: >= 9.0.0, < 9.6.0-alpha.53
- Range: < 8.6.59
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-p2w6-rmh7-w8q3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33539ghsaADVISORY
- github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8cghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838eghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/pull/10272ghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/pull/10273ghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.