Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parse-server
  4. ›
  5. CVE-2026-31871

CVE-2026-31871: Parse Server vulnerable to SQL Injection via dot-notation sub-key name in `Increment` operation on PostgreSQL

March 11, 2026

A SQL injection vulnerability exists in the PostgreSQL storage adapter when processing Increment operations on nested object fields using dot notation (e.g., stats.counter). The sub-key name is interpolated directly into SQL string literals without escaping. An attacker who can send write requests to the Parse Server REST API can inject arbitrary SQL via a crafted sub-key name containing single quotes, potentially executing commands or reading data from the database, bypassing CLPs and ACLs.

Only Postgres deployments are affected.

References

  • github.com/advisories/GHSA-gqpp-xgvh-9h7h
  • github.com/parse-community/parse-server
  • github.com/parse-community/parse-server/releases/tag/8.6.31
  • github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.5
  • github.com/parse-community/parse-server/security/advisories/GHSA-gqpp-xgvh-9h7h
  • nvd.nist.gov/vuln/detail/CVE-2026-31871

Code Behaviors & Features

Detect and mitigate CVE-2026-31871 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.6.31, all versions starting from 9.0.0-alpha.1 before 9.6.0-alpha.5

Fixed versions

  • 9.6.0-alpha.5
  • 8.6.31

Solution

Upgrade to versions 8.6.31, 9.6.0-alpha.5 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/parse-server/CVE-2026-31871.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Mar 2026 00:17:18 +0000.