GHSA-26rv-h2hf-3fw4
Payload's SQLite adapter Session Fixation vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | payload | < 3.44.0 | 3.44.0 |
| npm | @payloadcms/next | < 3.44.0 | 3.44.0 |
| npm | @payloadcms/graphql | < 3.44.0 | 3.44.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
A Session Fixation vulnerability existed in Payload's SQLite adapter due to identifier reuse during account creation. A malicious attacker could create a new account, save its JSON Web Token (JWT), and then delete the account, which did not invalidate the JWT. As a result, the next newly created user would receive the same identifier, allowing the attacker to reuse the JWT to authenticate and perform actions as that user.
This issue has been fixed in version 3.44.0 of Payload.
References
External links from the advisory. They lead to third-party sites.