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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-862 — Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| affine | monorepo | 0 to <0.26.3; 0 to <=1f0bcd0 |
References
- https://github.com/toeverything/AFFiNE/issues/15179 (issue-tracking)
- https://github.com/toeverything/AFFiNE (product)
- https://github.com/toeverything/AFFiNE/commit/1f0bcd01a37a522393fc1b288395e3a72a79ccad (patch)
- https://www.vulncheck.com/advisories/affine-unauthorized-document-edit-history-access-via-graphql-histories-field (third-party-advisory)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.