CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-33627

CVE-2026-33627: Sensitive Information Disclosure via Master Key Context in Parse Server

Alon Barad
Alon Barad
Software Engineer

Mar 24, 2026·6 min read·55 visits

Executive Summary (TL;DR)

Parse Server leaks raw MFA secrets (TOTP seeds, recovery codes) via the `/users/me` endpoint due to an over-privileged Master Key query. Updating to versions 8.6.61 or 9.6.0-alpha.55 mitigates the issue.

Parse Server versions prior to 8.6.61 and 9.6.0-alpha.55 suffer from an information disclosure vulnerability (CWE-200) in the `/users/me` endpoint. The server retrieves user objects using the Master Key context, bypassing security filters and exposing raw Multi-Factor Authentication (MFA) secrets and recovery codes to authenticated users.

Vulnerability Overview

Parse Server provides a /users/me endpoint to allow authenticated users to retrieve their own account information. Versions prior to 8.6.61 and 9.6.0-alpha.55 contain a sensitive information disclosure vulnerability within this endpoint. The flaw is classified as CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.

The vulnerability allows an authenticated user to extract sensitive Multi-Factor Authentication (MFA) credentials associated with their account. This data includes raw Time-Based One-Time Password (TOTP) seeds and recovery codes. The exposure occurs due to an architectural flaw in how the endpoint queries the backend database for user objects.

An attacker who obtains a valid session token can exploit this vulnerability to achieve persistent access to the target account. By extracting the TOTP seed, the attacker can independently generate valid MFA tokens, nullifying the security guarantees of the Parse Server MFA implementation.

Root Cause Analysis

The root cause lies in an insecure data retrieval pattern within the handleMe function of the UsersRouter.js module. When processing a GET /users/me request, the server must validate the provided session token and return the associated user data. Vulnerable versions execute this database query using the Master Key context via Auth.master().

The Master Key in Parse Server operates as a superuser override. Queries executed under this context bypass all internal security layers, including Class-Level Permissions (CLPs) and field-level visibility restrictions. Furthermore, this context bypasses authentication adapter sanitization, which normally strips secrets from the authData field before returning the object to the client.

To optimize database operations, the vulnerable implementation used a single query against the _Session collection with an { include: 'user' } parameter. Because the primary query utilized the Master Key, the included _User object was also retrieved with superuser privileges. This resulted in the complete, unsanitized user record being returned directly to the client endpoint.

Code Analysis

The architectural flaw is clearly visible when comparing the handleMe function before and after the patch. In the vulnerable implementation, the rest.find method is invoked with Auth.master(req.config) and the { include: 'user' } directive. This single-query approach forces the user data retrieval to inherit the Master Key privileges of the session validation step.

handleMe(req) {
  const sessionToken = req.info.sessionToken;
  return rest.find(
    req.config,
    Auth.master(req.config), // Querying as Master
    '_Session',
    { sessionToken },
    { include: 'user' }, // Including user data in master query
    ...
  ).then(response => {
    const user = response.results[0].user; // Raw, unsanitized user data
    return { response: user };
  });
}

The patch resolves the privilege escalation by decoupling session validation from user data retrieval. The modified function performs two distinct queries. First, it queries the _Session collection with the Master Key to validate the token, but omits the include directive to prevent fetching the user record.

async handleMe(req) {
  const sessionToken = req.info.sessionToken;
  // Step 1: Validate session with Master Key, no 'include'
  const sessionResponse = await rest.find(req.config, Auth.master(req.config), '_Session', { sessionToken }, {}, ...);
  const userId = sessionResponse.results[0].user.objectId;
 
  // Step 2: Fetch user with the user's OWN auth context
  const userResponse = await rest.get(req.config, req.auth, '_User', userId, {}, ...);
  const user = userResponse.results[0]; // Correctly sanitized data
  return { response: user };
}

The second query retrieves the _User object using req.auth, which represents the caller's actual authentication context. This ensures the Parse Server engine correctly applies all standard security filters, CLPs, and adapter sanitization logic before returning the payload.

Exploitation and Attack Methodology

Exploitation requires the attacker to possess a valid session token for a target account. The attacker issues a standard HTTP GET request to the /users/me endpoint, passing the session token in the X-Parse-Session-Token header. The server responds with a JSON object containing the unsanitized authData field.

The extracted payload contains the secret key, which is the base32-encoded TOTP seed, and an array of recovery codes. The attacker inputs the base32 seed into any standard authenticator application. This grants the attacker the ability to generate valid time-based tokens indefinitely, persisting access even if the original session token is revoked.

The official test suite provides a functional Proof-of-Concept for this vulnerability. The code configures the server with MFA enabled, generates a target user, and demonstrates the data leakage via the REST API.

// Snippet from spec/vulnerabilities.spec.js
const response = await request({
  headers: { 'X-Parse-Session-Token': sessionToken },
  method: 'GET',
  url: 'http://localhost:8378/1/users/me',
});
// response.data.authData.mfa.secret exposes the TOTP seed

Impact Assessment

The vulnerability carries a CVSS 4.0 base score of 7.1 (High), characterized by the vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N. The attack vector is network-based and requires low privileges (a standard authenticated session). No user interaction is required beyond the attacker's own actions.

The security impact is entirely confined to confidentiality loss. An attacker successfully exploiting this flaw gains unauthorized read access to highly sensitive cryptographic material used for authentication. Neither the availability of the Parse Server nor the integrity of the database is directly impacted by the data exposure itself.

While no weaponized exploit tools are currently documented in public databases, the exploitation technique is trivial. Attackers can leverage standard HTTP clients like curl or Postman to extract the MFA seeds. Threat actors who obtain session tokens via cross-site scripting (XSS) or other token-stealing mechanisms can use this flaw to permanently compromise the MFA layer of the affected accounts.

Remediation and Mitigation Guidance

The primary remediation strategy requires upgrading the Parse Server dependency to a patched release. Organizations operating Parse Server version 8.x must upgrade to version 8.6.61. Organizations on the 9.x release track must upgrade to version 9.6.0-alpha.55 or later.

Administrators who cannot immediately deploy the patch can implement interim mitigations. One approach involves temporarily disabling the MFA feature within the Parse Server configuration. Alternatively, developers can implement a custom middleware layer to intercept responses from the /users/me endpoint and manually strip the authData object before the payload reaches the client.

Security teams should proactively monitor access logs for anomalous activity targeting the /users/me endpoint. A high volume of requests to this endpoint, particularly if followed by MFA configuration modifications or unusual login patterns, indicates potential exploitation attempts. Custom detection templates can be authored to verify if production endpoints are leaking the secret or recovery keys in the JSON response.

Official Patches

Parse CommunityPatch commit for v8
Parse CommunityPatch commit for v9

Fix Analysis (2)

Technical Appendix

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

Affected Systems

Parse Server

Affected Versions Detail

Product
Affected Versions
Fixed Version
Parse Server
Parse Community
< 8.6.618.6.61
Parse Server
Parse Community
>= 9.0.0, < 9.6.0-alpha.559.6.0-alpha.55
AttributeDetail
CWE IDCWE-200
Attack VectorNetwork
CVSS Score7.1
ImpactConfidentiality (High)
Exploit StatusProof of Concept
Privileges RequiredLow

MITRE ATT&CK Mapping

T1552Unsecured Credentials
Credential Access
T1005Data from Local System
Collection
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor

Known Exploits & Detection

GitHubOfficial test case demonstrating the vulnerability (spec/vulnerabilities.spec.js)

References & Sources

  • [1]Parse Server Security Advisory (GHSA-37mj-c2wf-cx96)
  • [2]MITRE CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • [3]MITRE ATT&CK: Unsecured Credentials (T1552)
  • [4]MITRE ATT&CK: Data from Local System (T1005)

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 3 hours ago•CVE-2026-48861
2.1

CVE-2026-48861: HTTP Request Splitting and Smuggling via Method Parameter CRLF Injection in Elixir Mint

CVE-2026-48861 is a client-side HTTP request-line CRLF (Carriage Return Line Feed) injection vulnerability in the popular Elixir HTTP client library, Mint. The vulnerability permits HTTP Request Splitting and HTTP Request Smuggling when an application forwards untrusted, attacker-controlled inputs to Mint's HTTP client requests as either the HTTP request method or target. By embedding CRLF characters within these parameters, an attacker can terminate the request line prematurely, inject malicious headers, or pipeline entirely independent requests. These smuggled requests are then processed by upstream or downstream proxy servers as separate HTTP queries on the same TCP connection. While Mint version 1.7.0 introduced target validation to secure the request target, the HTTP request method parameter remained completely unvalidated. This flaw allows attackers to bypass routing filters, access restricted internal APIs, or poison HTTP caches under default configurations.

Amit Schendel
Amit Schendel
3 views•7 min read
•about 4 hours ago•CVE-2026-49753
6.3

CVE-2026-49753: HTTP Request/Response Smuggling via Inconsistent Content-Length Parsing in Elixir Mint Client

An Inconsistent Interpretation of HTTP Requests (HTTP Request/Response Smuggling) vulnerability in the Elixir Mint HTTP client allows attacker-controlled HTTP/1 servers to desynchronize response framing on shared connections due to over-lenient parsing of sign-prefixed Content-Length headers.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 4 hours ago•CVE-2026-49754
8.2

CVE-2026-49754: Denial of Service via Unbounded HTTP/2 CONTINUATION Frame Accumulation in Elixir Mint

An allocation of resources without limits or throttling vulnerability in Elixir Mint allows an attacker-controlled HTTP/2 server to exhaust memory in a Mint client. The vulnerability is exploited by sending a HEADERS frame without the END_HEADERS flag followed by an infinite stream of CONTINUATION frames. Because the client lacks limits on the incoming header-block accumulator, the client continuously consumes memory until an out-of-memory crash occurs.

Amit Schendel
Amit Schendel
6 views•6 min read
•about 5 hours ago•CVE-2026-48596
2.1

CVE-2026-48596: Improper Neutralization of CRLF Sequences in Elixir Tesla Multipart HTTP Client

CVE-2026-48596 is an Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request/Response Splitting, CWE-113) in the Elixir Tesla HTTP client. The flaw resides in how multipart content-type parameters are joined and serialized, enabling attackers to inject arbitrary headers or split HTTP requests when applications pass untrusted inputs to the parameters of multipart uploads.

Alon Barad
Alon Barad
4 views•6 min read
•about 5 hours ago•CVE-2026-48594
8.2

CVE-2026-48594: Decompression Bomb Denial of Service in Elixir Tesla HTTP Client

An improper handling of highly compressed data (decompression bomb) vulnerability exists in the Elixir Tesla HTTP client when utilizing response decompression middlewares. By serving highly compressed responses or stacked content-encoding headers, a malicious server can cause arbitrary heap exhaustion, leading to a denial of service (DoS) crash in the BEAM virtual machine.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 6 hours ago•CVE-2026-48595
8.2

CVE-2026-48595: Cross-Origin Credential Leakage in Elixir Tesla Client via Case-Sensitive Redirect Filter Bypass

A high-severity security vulnerability in Elixir's Tesla HTTP client library (CVE-2026-48595) allows unauthenticated remote attackers to harvest sensitive credentials, including Authorization headers and cookies. The flaw resides in the 'Tesla.Middleware.FollowRedirects' component, which performs case-sensitive lookups when stripping credentials during cross-origin redirects. Because HTTP headers are case-insensitive by RFC specifications, standard canonical casing (e.g., 'Authorization') bypasses the lowercase-only blocklist, leaking tokens to untrusted external redirect destinations.

Alon Barad
Alon Barad
5 views•5 min read