GitHub Advisory Database
GHSA-fpww-c55p-cjv6
Payload: Polymorphic join queries could disclose hidden fields
Details
Impact
A user with query access could use polymorphic join filters to infer hidden or read-restricted field values, including password-reset tokens.
You are affected if:
- You use an affected Payload version.
- Users can query a collection with a polymorphic join to sensitive fields.
Patches
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Workarounds
There is no complete workaround. Restricting read access to sensitive collections reduces exposure but does not replace upgrading.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | payload | From 3.0.0 before 3.90.0 (fixed in 3.90.0) |
| npm | payload | From 4.0.0-canary.0 before 4.0.0-canary.34 (fixed in 4.0.0-canary.34) |