Skip to main content

AFFiNE EUVDEUVD-2026-26840

| CVE-2026-7702 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-03 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Discover workspace and document IDs
  2. Exploit
    Craft request to /workspace/:workspaceId/:docId
  3. Execution
    Trigger allowDocPreview without authentication
  4. Impact
    Retrieve 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

AFFiNE 0.26.2
AFFiNE 0.26.1
AFFiNE 0.26.3
AFFiNE 0.26.0

Affected Packages

euvd affine no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

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

Lifecycle Timeline

3
CVSS changed
May 03, 2026 - 16:22 NVD
5.3 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
May 03, 2026 - 16:15 vuln.today
Public exploit code
CVE Published
May 03, 2026 - 15:45 nvd
MEDIUM 5.5

DescriptionCVE.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

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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.

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