CVE-2026-21853: AFFiNE - Remote Code Execution
- Cve: CVE-2026-21853
- Name: AFFiNE - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary code on victim machines remotely, leading to full system compromise.
- Remediation: Update to version 0.25.4 or later.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim must visit a malicious site or click a crafted link triggering the custom URL handler
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00713
- Epss percentile: 0.5455
- Assignee: [email protected]
- Published at: 2026-03-02T19:16:32Z
- Age in days: 267
- Modified at: 2026-06-17T10:19:01Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21853
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/toeverything/AFFiNE/security/advisories/GHSA-67vm-2mcj-8965 | nvd | 2026-03-02 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| affine:affine | < 0.25.4 | no | nvd | /v1/products/affine/affine |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| toeverything/AFFiNE | commit, fix, pull, security_advisory | yes | /v1/repositories/toeverything/AFFiNE |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts