# GHSA-238X-W2J9-GWWR: Payload vulnerable to API key disclosure through ordinary document reads

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-10-06
- Modified: 2026-10-06

## Tracked as

- [CVE-2026-105849](https://cve.now/CVE-2026-105849.md): Payload: API key disclosure through ordinary document reads

## Affected versions

- payload (npm): from 3.0.0, fixed in 3.90.0
- payload (npm): from 4.0.0-canary.0, fixed in 4.0.0-canary.34

## Description

### Impact

Users with read access to other user documents could access their active API keys. An exposed key grants the target account’s permissions until rotated or disabled.

You are affected if:

- An authentication collection enables `useAPIKey`.
- Users have read access to other user documents containing active API keys.

### Patches

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

### Workarounds

Disable `useAPIKey` or restrict users to reading only their own authentication document. Rotate any API key that may have been exposed.

## References

- https://github.com/payloadcms/payload/security/advisories/GHSA-238x-w2j9-gwwr
- https://github.com/payloadcms/payload/commit/880d2e900be22cd66a9e939f2b3e702fa413180f
- https://github.com/payloadcms/payload
- https://github.com/payloadcms/payload/releases/tag/v3.90.0

Page: https://cve.now/GHSA-238X-W2J9-GWWR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
