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

Frappe Framework ERPNext 13.4.0には、RestrictedPythonのサンドボックスからの脱出に関する脆弱性が含まれており、System Managerロールを持つ認証ユーザーがフレームイントロスペクションを悪用して任意のコードを実行できる可能性があります。攻撃者は/app/server-scriptエンドポイントを介してサーバースクリプトを作成し、gi_frame属性にアクセスして呼び出しスタックをたどり、os.popenを呼び出してシステムコマンドを実行できます。

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

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

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

NVD Vulnerability Information
CVE-2023-54345
Summary

Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated users with System Manager role to execute arbitrary code by exploiting frame introspection. Attackers can create a server script via the /app/server-script endpoint and access the gi_frame attribute to traverse the call stack and invoke os.popen to execute system commands.

Publication Date May 5, 2026, 9:16 p.m.
Registration Date May 6, 2026, 4:07 a.m.
Last Update May 5, 2026, 9:16 p.m.
Related information, measures and tools
Common Vulnerabilities List