製品・ソフトウェアに関する情報
AFFiNEにおけるコードインジェクションの脆弱性
Title AFFiNEにおけるコードインジェクションの脆弱性
Summary

AFFiNEはオープンソースのオールインワンワークスペースおよびオペレーティングシステムです。バージョン0.25.4以前には、ワンクリックのリモートコード実行の脆弱性が存在していました。この脆弱性は、特別に細工されたaffine: URLをウェブサイトに埋め込むことで悪用される可能性があります。攻撃者は2つの一般的なシナリオでこの脆弱性を引き起こすことができます。1つ目は、被害者が攻撃者によって制御された悪意のあるウェブサイトを訪問し、そのサイトが自動的にURLへリダイレクトする場合であり、2つ目は被害者が正当なウェブサイト(例:ユーザー生成コンテンツ)に埋め込まれた細工されたリンクをクリックする場合です。いずれの場合も、ブラウザはAFFiNEのカスタムURLハンドラを呼び出し、AFFiNEアプリを起動して細工されたURLを処理します。この結果、被害者のマシン上でさらなる操作なしに任意のコードが実行されます。この問題はバージョン0.25.4で修正されています。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 2, 2026, midnight
Registration Date April 21, 2026, 10:51 a.m.
Last Update April 21, 2026, 10:51 a.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected System
AFFiNE
AFFiNE 0.25.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月21日]
  掲載
April 21, 2026, 10:51 a.m.

NVD Vulnerability Information
CVE-2026-21853
Summary

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.

Summary

AFFiNE es un espacio de trabajo todo en uno de código abierto y un sistema operativo. Antes de la versión 0.25.4, existe una vulnerabilidad de ejecución remota de código de un solo clic. Esta vulnerabilidad puede ser explotada incrustando una URL affine: especialmente diseñada en un sitio web. Un atacante puede activar la vulnerabilidad en dos escenarios comunes: 1/ Una víctima visita un sitio web malicioso controlado por el atacante y el sitio web redirige automáticamente a la URL, o 2/ Una víctima hace clic en un enlace diseñado incrustado en un sitio web legítimo (p. ej., en contenido generado por el usuario). En ambos casos, el navegador invoca el gestor de URL personalizado de AFFiNE, lo que inicia la aplicación AFFiNE y procesa la URL diseñada. Esto resulta en ejecución de código arbitrario en la máquina de la víctima, sin interacción adicional. Este problema ha sido parcheado en la versión 0.25.4.

Publication Date March 3, 2026, 4:16 a.m.
Registration Date April 27, 2026, 12:13 p.m.
Last Update April 20, 2026, 11:53 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:affine:affine:*:*:*:*:*:*:*:* 0.25.4
Related information, measures and tools
Common Vulnerabilities List