GHSA-f6j3-w9v3-cq22

Suggest an improvement
Source
https://github.com/advisories/GHSA-f6j3-w9v3-cq22
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-f6j3-w9v3-cq22/GHSA-f6j3-w9v3-cq22.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f6j3-w9v3-cq22
Aliases
Published
2026-04-01T00:03:19Z
Modified
2026-04-06T15:27:15.966361294Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Parse Server has a session field immutability bypass via falsy-value guard
Details

Impact

An authenticated user can bypass the immutability guard on session fields (expiresAt, createdWith) by sending a null value in a PUT request to the session update endpoint. This allows nullifying the session expiry, making the session valid indefinitely and bypassing configured session length policies.

Patches

The truthiness-based guard checks were replaced with key-presence checks that reject any value for protected session fields, including null.

Workarounds

There is no known workaround. A beforeSave trigger on _Session could be used to reject null values for expiresAt and createdWith.

Database specific
{
    "cwe_ids": [
        "CWE-697"
    ],
    "github_reviewed_at": "2026-04-01T00:03:19Z",
    "github_reviewed": true,
    "severity": "MODERATE",
    "nvd_published_at": "2026-03-31T16:16:33Z"
}
References

Affected packages

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
9.0.0
Fixed
9.7.0-alpha.14

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-f6j3-w9v3-cq22/GHSA-f6j3-w9v3-cq22.json"

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.6.69

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-f6j3-w9v3-cq22/GHSA-f6j3-w9v3-cq22.json"