GitHub Advisoryadvisory · npm
GHSA-5v7g-9h8f-8pgg Parse Server session creation endpoint allows overwriting server-generated session fields
MEDIUM
Official page ↗
- Aliases
- CVE-2026-32742
- Ecosystem
- npm
- Packages
- parse-server
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-915
- Reviewed
- 2026-03-17
Affected packages
• npm parse-server: >= 9.0.0, < 9.6.0-alpha.17 → fixed in 9.6.0-alpha.17
• npm parse-server: < 8.6.42 → fixed in 8.6.42
Description
Impact
An authenticated user can overwrite server-generated session fields (`sessionToken`, `expiresAt`, `createdWith`) when creating a session object via `POST /classes/_Session`. This allows bypassing the server's session expiration policy by setting an arbitrary far-future expiration date. It also allows setting a predictable session token value.
Patches
The session creation endpoint now filters out server-generated fields from user-supplied data, preventing them from being overwritten.
Workarounds
Add a `beforeSave` trigger on the `_Session` class to validate and reject or strip any user-supplied values for `sessionToken`, `expiresAt`, and `createdWith`.
Related
Alias · CVE (1)
- CVE-2026-32742 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability
Weakness · CWE (1)
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes weakness
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-5v7g-9h8f-8pgg web
- https://nvd.nist.gov/vuln/detail/CVE-2026-32742 advisory
- https://github.com/parse-community/parse-server/pull/10195 web
- https://github.com/parse-community/parse-server/pull/10196 web
- https://github.com/parse-community/parse-server package