Description
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.
Problem types
Product status
0.26.1
0.26.2
0.26.3
Timeline
| 2026-05-02: | Advisory disclosed |
| 2026-05-02: | VulDB entry created |
| 2026-05-02: | VulDB entry last update |
Credits
ngocnn97 (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/360871 (VDB-360871 | toeverything AFFiNE Public Markdown Preview Endpoint :docId allowDocPreview authorization)
vuldb.com/vuln/360871/cti (VDB-360871 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/submit/804455 (Submit #804455 | AFFiNE AFFiNE (https://github.com/toeverything/AFFiNE) 0.26.3 Authorization Bypass)
github.com/...curity-advisories/blob/main/AFFiNE_BAC_PoC.mp4