Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover workspace and document IDs
-
ExploitCraft request to /workspace/:workspaceId/:docId
-
ExecutionTrigger allowDocPreview without authentication
-
ImpactRetrieve document preview content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | No special conditions are required - remote unauthenticated exploitation against default configurations of AFFiNE up to version 0.26.3. The Public Markdown Preview Endpoint is inherently exposed at the network level by design. However, exploitation is limited by the fact that attackers must know or be able to enumerate valid workspaceId and docId values; if IDs are generated using strong random values rather than sequential or predictable patterns, the barrier to exploitation increases. The authorization bypass applies only to preview access (read-only); no conditions exist that would enable data modification or deletion through this endpoint. |
| Impact | This vulnerability presents moderate real-world risk with several concerning signals. The CVSS 4.0 score of 5.5 with AV:N/AC:L/PR:N/UI:N indicates network-accessible, unauthenticated remote exploitation with no user interaction required, which matches the low complexity described. The E:P tag confirms publicly available exploit code, increasing exploitation likelihood. However, the Confidentiality Impact is Low (VC:L) with no Integrity or Availability impact (VI:N/VA:N), meaning attackers can only read document previews rather than modify or delete data. This CVSS assessment aligns with the described impact: unauthorized access to document content but no data modification capability. The CVSS 4.0 vector shows no Scope expansion (S:X), suggesting the impact is confined to the affected functionality. Notably, the vendor's non-response to early disclosure and the public availability of exploit code suggest this may already be known in security research circles and could see increased exploitation attempts. The lack of EPSS score data prevents probability assessment beyond the E:P indicator. For organizations using AFFiNE with sensitive workspace documents, this represents a real confidentiality threat; for others, impact is limited to potential exposure of non-sensitive preview content. |
| Exploit ScenarioDerived | An attacker discovers or is informed of an AFFiNE workspace URL structure and, using the workspace ID and document ID, crafts a request to /workspace/:workspaceId/:docId. Due to the missing authorization check in allowDocPreview, the endpoint returns the document preview without requiring authentication or permission validation. The attacker can then enumerate multiple document IDs to harvest sensitive content such as project plans, confidential notes, or proprietary information from the workspace. The public exploit code demonstrates this capability, making the attack trivial to execute. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 03, 2026
Authorization bypass in AFFiNE up to version 0.26.3 allows remote unauthenticated attackers to access restricted document previews through the Public Markdown Preview Endpoint (/workspace/:workspaceId/:docId). The allowDocPreview function fails to properly validate access permissions, enabling attackers to retrieve sensitive document content without authentication. Public exploit code is available, and the vendor has not responded to early disclosure attempts.
RemediationAI
Upgrade AFFiNE to a version beyond 0.26.3 immediately once available from the vendor. Since no patched version is confirmed in the provided data and the vendor has not responded to disclosure attempts, monitor the official AFFiNE GitHub repository and release notes for security updates. As an interim mitigation, restrict network access to the /workspace/:workspaceId/:docId endpoint using a Web Application Firewall (WAF) or network-level controls-allow access only from trusted IP ranges or require authentication via reverse proxy. Additionally, implement API rate limiting on the preview endpoint to reduce reconnaissance and bulk-access risk. Disable or restrict the Public Markdown Preview feature entirely if document sharing is not required in your deployment. Note that these compensating controls may impact legitimate sharing workflows, so coordinate with users before implementation. Given the vendor's non-responsiveness, consider switching to an alternative collaboration platform if timely patching cannot be guaranteed.
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 a collaborative workspace platform with a Public Markdown Preview Endpoint designed to share document previews via URL. The vulnerability exists in the allowDocPreview authorization function within the /workspace/:workspaceId/:docId endpoint, which is classified under CWE-639 (Authorization Bypass Through User-Controlled Key). The root cause is insufficient or missing access control validation in the endpoint logic, allowing the preview feature to be accessed without proper authentication or permission checks. The CPE cpe:2.3:a:toeverything:affine:*:*:*:*:*:*:*:* indicates all AFFiNE versions up to 0.26.3 are affected. The endpoint is exposed at the network level with low complexity, suggesting the authorization check can be bypassed with a simple HTTP request.
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:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in toeverything AFFiNE up to 0.26.3. This issue affects the function allowDocPreview of the file /workspace/:workspaceId/:docId of the component Public Markdown Preview Endpoint. The manipulation results in authorization bypass. It is possible to launch the attack remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
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.
Remote code execution in AFFiNE workspace application (versions prior to 0.25.4) allows unauthenticated attackers to exe
Broken access control in AFFiNE (toeverything/AFFiNE monorepo) lets any authenticated workspace member read the edit his
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-26840
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB