Vulnerability · Published Mar 24, 2026 · Assigned by GitHub_M
CVE-2026-33539Parse Server: SQL injection via aggregate and distinct field names in PostgreSQL adapter
High 8.6
In plain English
A high-severity SQL injection in parse-server from parse-community. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | parse-server | 9.6.0-alpha.53 | GHSA-p2w6-rmh7-w8q3 |
| npm | parse-server | 8.6.59 | GHSA-p2w6-rmh7-w8q3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| parse-community | parse-server | < 8.6.59>= 9.0.0, < 9.6.0-alpha.53 |
Weakness: CWE-89 · 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
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3 x_refsource_CONFIRM
- https://github.com/parse-community/parse-server/pull/10272 x_refsource_MISC
- https://github.com/parse-community/parse-server/pull/10273 x_refsource_MISC
- https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c x_refsource_MISC
- https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e x_refsource_MISC