Skip to main content

AFFiNE EUVDEUVD-2026-42314

| CVE-2026-59262 HIGH
Missing Authorization (CWE-862)
2026-07-08 VulnCheck GHSA-m4gp-5xh5-xhq4
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged workspace member
  2. Delivery
    Obtain target private document GUID
  3. Exploit
    Send GraphQL query for histories field
  4. Execution
    Bypass missing Doc.Read check
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

monorepo 0 ≤1f0bcd0
monorepo 0 <0.26.3

Affected Packages

euvd monorepo fix: 0.26.3

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
open-source Notion-style tool, niche self-hosted footprint versus enterprise suites
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy