CVE-2022-39396: Remote Code Execution in Parse Server

parse Updated 02 Oct 2025

Summary

06/03/2024
Yes i
Critical
Not published

CVE-2022-39396: Parse Server vulnerable to Remote Code Execution via prototype pollution in MongoDB BSON parser. Affects parse across 2 version ranges.

< 4.10.18 >= 5.0.0, < 5.3.1

Fixed in 4.10.18 or 5.3.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2022-39396 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Parse Server is an open source backend that can be deployed to any infrastructure running Node.js. It provides a platform for building scalable and secure applications. However, versions prior to 4.10.18 and 5.3.1 on the 5.X branch are vulnerable to remote code execution through prototype pollution in the MongoDB BSON parser.

Vulnerability Detail

The vulnerability arises from a prototype pollution sink in Parse Server, which allows an attacker to manipulate the prototype of an object and inject malicious code. By exploiting this vulnerability, an attacker can execute arbitrary code remotely. This can lead to unauthorized access, data breaches, and potential compromise of the entire system. The issue has been patched in versions 4.10.18 and 5.3.1.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.10.18 4.10.18
  • >= 5.0.0, < 5.3.1 5.3.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Conclusion

Parse Server versions prior to 4.10.18 and 5.3.1 are vulnerable to remote code execution through prototype pollution. It is crucial to update to the patched versions to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for parse →

Share this vulnerability

FAQ

Parse Server is an open source backend that allows developers to build scalable and secure applications using Node.js.

Prototype pollution is a vulnerability that occurs when an attacker can modify the prototype of an object, leading to unexpected behavior and potential security issues.

By manipulating the prototype of an object in Parse Server, an attacker can inject malicious code and execute it remotely, potentially compromising the system.

No, there are no known workarounds for this vulnerability. It is recommended to update Parse Server to the patched versions.

The vulnerability can lead to unauthorized access, data breaches, and complete compromise of the affected system.

Related vulnerabilities

Recent vulnerabilities recorded for parse.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.10.18 4.10.18
  • >= 5.0.0, < 5.3.1 5.3.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback