ADVISORIES

GitHub Advisory Database

GHSA-xgv3-crq2-6f69

Payload: Token refresh and password reset responses may expose restricted user fields

Details

Impact

Token refresh and password reset responses could return fields that the requesting user did not have access to.

You are affected if:

  • An authentication collection contains hidden or read-restricted fields.

Patches

Authentication responses now apply field access and hidden-field filtering before returning user documents. Full user documents remain available server-side for access control.

Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.

Custom authentication strategies remain responsible for filtering user documents returned through custom responses.

Workarounds

There is no complete workaround. Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.

Affected packages

EcosystemPackageAffected versions
npmpayload
From 3.0.0 before 3.90.0 (fixed in 3.90.0)
npmpayload
From 4.0.0-canary.0 before 4.0.0-canary.34 (fixed in 4.0.0-canary.34)

References