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.
Published: 2026-07-08
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability derives from an authorization oversight in the histories GraphQL field, which fails to verify Doc.Read permissions before returning edit history data. As a result, authenticated workspace members can request any document GUID and gain access to full edit histories, exposing usernames, email addresses, and timestamps associated with private pages, thereby compromising confidentiality.

Affected Systems

The issue impacts the AFFiNE monorepo product developed by affine. No specific version numbers are provided, but any deployment that exposes the unchecked GraphQL histories endpoint is susceptible.

Risk and Exploitability

The CVSS base score of 7.1 signals a high potential impact if exploited. An EPSS score of < 1% indicates that exploitation is unlikely but not impossible, and the vulnerability is not catalogued in the CISA KEV list. Exploitation requires an authenticated workspace member; by supplying arbitrary document GUIDs to the GraphQL histories field, the absent Doc.Read permission check allows them to retrieve detailed edit histories. Because the check occurs at the application layer, any environment that exposes the GraphQL endpoint to authenticated users faces this risk.

Generated by OpenCVE AI on July 25, 2026 at 20:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade AFFiNE to the latest release that patches the GraphQL histories endpoint.
  • Add an explicit authorization check that validates the Doc.Read permission before returning any document edit history data, ensuring that only users with the required access can view histories.
  • Restrict the ability to request history data to users who possess Doc.Read permission, enforcing least privilege.
  • Monitor and review application logs for any suspicious retrievals of document edit histories that indicate unauthorized access attempts.

Generated by OpenCVE AI on July 25, 2026 at 20:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 11 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-639
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Affine
Affine monorepo
Vendors & Products Affine
Affine monorepo

Wed, 08 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title AFFiNE - Unauthorized Document Edit History Access via GraphQL histories Field
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-20T17:45:56.523Z

Reserved: 2026-07-04T12:17:14.302Z

Link: CVE-2026-59262

cve-icon Vulnrichment

Updated: 2026-07-08T17:43:03.946Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T15:44:07Z

Links: CVE-2026-59262 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T20:45:02Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-862

    Missing Authorization