CVE-2026-59262 AFFiNE - Unauthorized Document Edit History Access via GraphQL histories Field
Authenticated users can access private document edit histories and sensitive user data by bypassing permission checks in the GraphQL API.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-59262?
CVE-2026-59262 is a high-severity missing authorization vulnerability in affine monorepo, published on 8 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
AFFiNE's histories GraphQL field fails to validate Doc.Read permission before exposing document edit history, allowing authenticated workspace members to retrieve restricted content timelines. Attackers can supply arbitrary document GUIDs to access full edit histories including user names, emails, and timestamps of private pages they lack access to.
Weakness: CWE-862
Which versions are affected by CVE-2026-59262?
How do I fix CVE-2026-59262?
No fix has been published for CVE-2026-59262 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-59262 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59262 exists.
Sources
Also known as GHSA-m4gp-5xh5-xhq4.