Loading...
Skip to main content

CVE-2026-31856 — Vulnerability in parse-server — CVE Details

CRITICAL

Parse Server vulnerable to SQL injection via `Increment` operation on nested object field in PostgreSQL

Published March 11, 2026Updated March 13, 2026Source: osv

Summary

### Impact 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 `amount` value is interpolated directly into the SQL query without parameterization or type validation. An attacker who can send write requests to the Parse Server REST API can inject arbitrary SQL subqueries to read any data from the database, bypassing CLPs and ACLs. MongoDB deployments are not affected. ### Patches The fix adds type validation to reject non-number values and parameterizes the value in the SQL query instead of interpolating it. ### Workarounds There is no known workaround. ### References - GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-q3vj-96h2-gwvg - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.3 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.29

Advisory Timeline

  • First published March 11, 2026 (216 days ago).
  • Last revised March 13, 2026 — 3 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update parse-server to 9.6.0-alpha.3 or later
npm install parse-server@9.6.0-alpha.3
npm
Update parse-server to 8.6.29 or later
npm install parse-server@8.6.29

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
parse-server
npm
All versions9.6.0-alpha.3
parse-server
npm
All versions8.6.29

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-31856?
Parse Server vulnerable to SQL injection via `Increment` operation on nested object field in PostgreSQL This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2026-31856?
CVE-2026-31856 affects parse-server. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-31856 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-q3vj-96h2-gwvg
BIT-parse-2026-31856

Related CVEs

  • CVE-2026-32248
    CRITICAL

    Parse Server: Account takeover via operator injection in authentication data identifier

  • CVE-2024-27298
    CRITICAL

    ZDI-CAN-19105: Parse Server literalizeRegexPart SQL Injection

  • CVE-2026-30965
    CRITICAL

    Parse Server vulnerable to session token exfiltration via `redirectClassNameForKey` query parameter

  • CVE-2024-39309
    CRITICAL

    ZDI-CAN-23894: Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability

  • CVE-2026-31871
    CRITICAL

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

  • CVE-2026-31800
    HIGH

    Parse Server: Classes `_GraphQLConfig` and `_Audience` master key bypass via generic class routes

  • CVE-2026-30948
    HIGH

    Parse Server vulnerable to stored cross-site scripting (XSS) via SVG file upload

  • CVE-2026-33409
    HIGH

    Parse Server has an auth provider validation bypass on login via partial authData

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies