CVE-2026-61707
SOCFortress CoPilot: Stored case-report template injection permits backend code execution
P1 CVSS最高 9.0
公式ソースで確認された事実(機械抽出)
| 公式説明(原文・英語) | SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to 0.1.76, in the reported deployment, case-report templates uploaded by `customer_user`, the lowest-privilege portal role, are later executed by non-sandboxed Jinja2 engines when an admin or analyst generates a report. The `/case-report-template/upload` route in `backend/app/incidents/routes/db_operations.py` validates only the filename-derived MIME type, not the template content. Templates share a global store without customer_code scoping, and `customer_user` can also list, download and delete them, allowing an attacker to replace a legitimate default template under the same name. In `backend/app/incidents/services/reports.py`, `render_document_with_context` uses `DocxTemplate` without a sandbox; in `backend/app/incidents/services/reports_pdf.py`, `render_html_template` uses a non-sandboxed `Environment` without autoescaping. Normal privileged requests to `POST /api/incidents/report/generate-report-docx` or `/generate-report-pdf` therefore evaluate attacker-controlled Jinja expressions as Python on the backend. The reported deployment executes commands as root, exposing all tenants' incident and SIEM data and stored connector credentials. The HTML/PDF wkhtmltopdf renderer additionally permits local-file reads and requests to internal services. This issue is fixed in version 0.1.76. |
|---|---|
| 悪用状況 | 不明 |
| KEV(米CISA既知悪用脆弱性カタログ) | 未登録(確認 —)。KEV未掲載は「悪用されていない」ことを意味しません。 |
| CVSS評価 | security-advisories-at-github.com CVSS 3.1: 9.0 security-advisories-at-github.com: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| EPSS(今後30日以内の悪用確率・FIRST) | — |
| 修正バージョン | 公表なし |
| 公表日 | 2026年10月30日 06:25 |
| 最終更新 | 2026年10月30日 07:17 |
| 最終確認 | 2026年10月30日 14:40 |
対象製品・バージョン
| 製品 | 影響バージョン | 修正バージョン | ベンダー修正済み | 利用者対応要否 |
|---|---|---|---|---|
| socfortress CoPilot | < 0.1.76 | — | 未告知 | 未告知 |
「ベンダー修正済み」と「利用者対応要否」は別の事実として管理しています(ベンダー修正済みでも利用者側の更新が必要です)。
出典・根拠
AIによる補助要約
AIによる補助要約(誤りの可能性があります)。 自動生成された参考説明です。事実の数値・バージョンは上記「公式ソースで確認された事実」の機械抽出値が正です。出典は上記「03 出典・根拠」の公式リンクを参照してください。
- 概要
- SOCFortress CoPilotの未修正バージョンでは、権限の低いユーザーがアップロードしたケースレポートテンプレートが、管理者やアナリストによるレポート生成時にサンドボックス化されていないJinja2エンジンで実行されます。これにより、バックエンドでのコード実行やローカルファイルの読み取り、内部サービスへのリクエストが可能になります。
- 影響
- バックエンドでのコード実行により、すべてのテナントのインシデントデータ、SIEMデータ、保存されているコネクタの認証情報が露出し、root権限でのコマンド実行につながるおそれがあります。
- 対応
- 公式な修正版情報はまだない
- 留意点
- 公式情報なし