SecurityContext

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

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://github.com/toeverything/AFFiNE/security/advisories/GHSA-67vm-2mcj-8965nvd2026-03-02

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/toeverything/AFFiNE/commit/c9a4129a3e9376b688c18e1dcd6c87a775caac80Patch
https://github.com/toeverything/AFFiNE/pull/13864Patch
https://github.com/toeverything/AFFiNE/security/advisories/GHSA-67vm-2mcj-8965Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
affine:affine< 0.25.4nonvd/v1/products/affine/affine

Projects

RepositoryLink kindsIndexedUrl
toeverything/AFFiNEcommit, fix, pull, security_advisoryyes/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