CVE-2026-59262 Details
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.
A vulnerability exists in AFFiNE's GraphQL API, specifically within the 'histories' field, which fails to properly validate 'Doc.Read' permissions before disclosing document edit histories. This oversight allows authenticated workspace members to access the full edit history of private documents they do not have permission to view, including details such as editor names, email addresses, and timestamps. The issue arises because the 'histories' resolver does not enforce the same authorization checks applied to other document-related operations, leaving a gap that can be exploited by simply supplying an arbitrary document GUID.
Users can update to AFFiNE version 0.26.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 8, 2026CISA-ADP
Assessed Jul 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/toeverything/AFFiNE/issues/15179 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/toeverything/AFFiNE | [email protected] | ProductSource CodeVendor |
| https://github.com/toeverything/AFFiNE/commit/1f0bcd01a37a522393fc1b288395e3a72a79ccad | [email protected] | Source CodeVendor |
| https://github.com/toeverything/AFFiNE/issues/15179 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/affine-unauthorized-document-edit-history-access-via-graphql-histories-field | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| AFFiNE | < 0.26.3 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 17, 2026 | CVE Modified | [email protected] |
| Sep 17, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | New CVE Received | [email protected] |
Volerion