AFFiNEにおけるコードインジェクションの脆弱性
タイトル AFFiNEにおけるコードインジェクションの脆弱性
概要

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

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

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

公表日 2026年3月2日0:00
登録日 2026年4月21日10:51
最終更新日 2026年4月21日10:51
CVSS3.0 : 重要
スコア 8.8
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
影響を受けるシステム
AFFiNE
AFFiNE 0.25.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年04月21日]
  掲載
2026年4月21日10:51

NVD脆弱性情報
CVE-2026-21853
概要

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.

概要

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.

公表日 2026年3月3日4:16
登録日 2026年4月27日12:13
最終更新日 2026年4月20日23:53
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:affine:affine:*:*:*:*:*:*:*:* 0.25.4
関連情報、対策とツール
共通脆弱性一覧