Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged workspace member
-
DeliveryObtain target private document GUID
-
ExploitSend GraphQL query for histories field
-
ExecutionBypass missing Doc.Read check
-
ImpactExfiltrate edit history, names, emails, timestamps
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account that is a member of the target AFFiNE workspace (PR:L) and knowledge of a target document's GUID; the attacker must reach the GraphQL API over the network and send a 'histories' query for that GUID. The specific trigger is querying the GraphQL 'histories' field, which lacks the Doc.Read authorization check present on normal document access. Limiting factors: the attacker cannot be fully external/unauthenticated - a valid workspace session is mandatory - and impact is confined to reading edit-history data (no write, modification, or denial of service). Exploitation also presumes the attacker can obtain or guess valid document GUIDs for pages they are not authorized to view. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) scores 7.1 and is internally consistent with the description: network-reachable GraphQL endpoint, low attack complexity, low privileges (a legitimate but unauthorized workspace member), no user interaction, and a pure confidentiality impact with no integrity or availability effect - which matches an information-disclosure/read-only authorization bug. No EPSS score, KEV listing, or POC was provided, so real-world exploitation is currently unquantified; there is no evidence of active exploitation. The practical risk is meaningful for multi-tenant or large shared AFFiNE workspaces where private pages coexist with many low-trust members, but it is bounded by the PR:L requirement - an outside unauthenticated attacker cannot exploit it, and impact is limited to disclosure of history metadata and content rather than modification. This is a genuine but moderate-priority issue: material for environments handling sensitive documents, lower priority for small trusted single-team instances. |
| Exploit ScenarioDerived | A disgruntled member of a shared AFFiNE workspace who has access to some pages but not to a confidential HR or strategy document obtains that document's GUID (e.g., from a shared link, referral, or enumeration) and issues a GraphQL query for its 'histories' field. The server returns the full edit timeline - prior content revisions plus the names, emails, and timestamps of every contributor - even though the attacker was never granted Doc.Read on that page. No public POC has been identified, but the low attack complexity makes hand-crafting the query straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Broken access control in AFFiNE (toeverything/AFFiNE monorepo) lets any authenticated workspace member read the edit history of documents they should not access by querying the GraphQL 'histories' field with an arbitrary document GUID. Because the resolver never checks Doc.Read permission, an attacker can enumerate private page timelines and harvest contributor user names, emails, and edit timestamps. No public exploit has been identified at time of analysis, but exploitation is trivial for any low-privileged member.
RemediationAI
Patch available per vendor advisory: apply the upstream fix commit https://github.com/toeverything/AFFiNE/commit/1f0bcd01a37a522393fc1b288395e3a72a79ccad, which adds the missing Doc.Read permission check to the GraphQL histories resolver; a released patched version was not independently confirmed from the provided data, so self-hosters should build from a revision including this commit or track the referenced issue (https://github.com/toeverything/AFFiNE/issues/15179) for a tagged release. As a compensating control until patched, restrict who can join sensitive workspaces and minimize low-trust members (this reduces the pool of accounts able to abuse PR:L access but does not close the hole), and if feasible place the GraphQL API behind an authorizing proxy or WAF rule that blocks or logs 'histories' queries against document GUIDs (trade-off: may break legitimate history/version-restore features for all users). Monitor GraphQL logs for anomalous enumeration of document GUIDs on the histories field as a detective control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AFFiNE is an open-source knowledge-base / workspace collaboration platform (a Notion-style docs and whiteboard tool) built as a monorepo with a GraphQL API backend. The flaw is a CWE-862 Missing Authorization: the server-side GraphQL resolver for the 'histories' field returns a document's versioned edit history (a change timeline that Yjs/CRDT-style collaborative editors retain) without first evaluating the workspace's Doc.Read access-control check that gates the document itself. The CPE cpe:2.3:a:affine:monorepo identifies the AFFiNE application codebase as the affected component. Because authorization is enforced only on the primary document-fetch path and not on the history sub-resource, supplying a known or guessed document GUID bypasses the intended per-document permission model while still requiring a valid workspace session.
Know when Affine gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network GraphQL endpoint with a legitimate low-privilege workspace member (PR:L), trivial to trigger (AC:L), and read-only disclosure of history data yields C:H with I:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
AFFiNE workspace collaboration software contains a broken access control vulnerability (CVE-2026-59262) enabling authenticated members to trivially access document edit histories and contributor metadata outside their authorization scope. The vulnerability exposes internal workflows, user identities, email addresses, and edit timestamps from restricted documents. Organizations using AFFiNE for sensitive collaboration face information disclosure risks from low-privileged employee access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Authorization bypass in AFFiNE up to version 0.26.3 allows remote unauthenticated attackers to access restricted documen
Remote code execution in AFFiNE workspace application (versions prior to 0.25.4) allows unauthenticated attackers to exe
all-in-one workspace and an operating system. versions up to 0.26.0 is affected by url redirection to untrusted site (op
EUVD-2026-42314
GHSA-m4gp-5xh5-xhq4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB