# CVE-2021-39138: New anonymous user session acts as if it's created with password

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Published: 2021-08-18T21:40:11.000Z
- Modified: 2026-09-08T08:48:24.482Z
- Also known as: GHSA-23r4-5mxp-c7g5, BIT-PARSE-2021-39138
- Weaknesses: CWE-287, CWE-863
- Assigned by: GitHub_M

## Description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Developers can use the REST API to signup users and also allow users to login anonymously. Prior to version 4.5.1, when an anonymous user is first signed up using REST, the server creates session incorrectly. Particularly, the `authProvider` field in `_Session` class under `createdWith` shows the user logged in creating a password. If a developer later depends on the `createdWith` field to provide a different level of access between a password user and anonymous user, the server incorrectly classified the session type as being created with a `password`. The server does not currently use `createdWith` to make decisions about internal functions, so if a developer is not using `createdWith` directly, they are not affected. The vulnerability only affects users who depend on `createdWith` by using it directly. The issue is patched in Parse Server version 4.5.1. As a workaround, do not use the `createdWith` Session field to make decisions if one allows anonymous login.

(As written by CVE List.)

## Affected

- parse-community parse-server: < 4.5.1
- parse-server (npm): before 4.5.2
- parseplatform parse-server: before 4.5.1
- parse (Bitnami): before 4.5.1

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/parse-community/parse-server/security/advisories/GHSA-23r4-5mxp-c7g5> (advisory, third-party-advisory, web)
- <https://github.com/parse-community/parse-server/commit/147bd9a3dc43391e92c36e05d5db860b04ca27db> (advisory, patch, third-party-advisory, web)
- <https://github.com/parse-community/parse-server/releases/tag/4.5.1> (advisory, release-notes, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39138> (advisory, web)
- <https://github.com/parse-community/parse-server> (package)
- <https://github.com/parse-community/parse-server/releases/tag/4.5.2> (web)

## Sources

- CVE List: [CVE-2021-39138](https://www.cve.org/CVERecord?id=CVE-2021-39138), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-23r4-5mxp-c7g5](https://github.com/advisories/GHSA-23r4-5mxp-c7g5), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39138](https://nvd.nist.gov/vuln/detail/CVE-2021-39138), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-PARSE-2021-39138](https://osv.dev/vulnerability/BIT-PARSE-2021-39138), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-39138 · Whole record: https://cve.day/CVE-2021-39138.json · Rebuilt by cve.day 2026-11-25T22:58:03.327Z
