Skip to content

CVE-2026-21853 AFFiNE: One-click Remote Code Execution through Custom URL Handling

HighCVSS 8.8 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

AFFiNE is an open-source, all-in-one workspace and an operating system. Prior to version 0.25.4, there is a one-click remote code execution vulnerability. This vulnerability can be exploited by embedding a specially crafted affine: URL on a website. An attacker can trigger the vulnerability in two common scenarios: 1/ A victim visits a malicious website controlled by the attacker and the website redirect to the URL automatically, or 2/ A victim clicks on a crafted link embedded on a legitimate website (e.g., in user-generated content). In both cases, the browser invokes AFFiNE custom URL handler, which launches the AFFiNE app and processes the crafted URL. This results in arbitrary code execution on the victim’s machine, without further interaction. This issue has been patched in version 0.25.4.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
affine < 0.25.4 0.25.4 Fixed
toeverything/affine = < 0.25.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
toeverything/affine = < 0.25.4 No fix listed
affine < 0.25.4 0.25.4

References