GHSA-fpww-c55p-cjv6
Payload: Polymorphic join queries could disclose hidden fields
Quick fix
GHSA-fpww-c55p-cjv6 — payload: upgrade to the fixed version with the command below.
npm install payload@3.90.0Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0-canary.0Fixed in: 4.0.0-canary.34npm install payload@4.0.0-canary.34References
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"]}'