VDB
Sign up
MEDIUM5.3

GHSA-26rv-h2hf-3fw4

Payload's SQLite adapter Session Fixation vulnerability

Quick fix

GHSA-26rv-h2hf-3fw4 — payload: upgrade to the fixed version with the command below.

npm install payload@3.44.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/payload
Introduced in: 0Fixed in: 3.44.0
Fixnpm install payload@3.44.0
npm/@payloadcms/next
Introduced in: 0Fixed in: 3.44.0
Fixnpm install @payloadcms/next@3.44.0
npm/@payloadcms/graphql
Introduced in: 0Fixed in: 3.44.0
Fixnpm install @payloadcms/graphql@3.44.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/payload"]}'