djust の脆弱性 (CVE-2026-61599)
概要
djust に 脆弱性 (CVE-2026-61599) が存在。不正な操作・情報露出のリスクがあります。LiveView 経由で攻撃可能。対策: 1.0.7 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Impact
The djust live transport resolves the LiveView to mount from a client-supplied dotted path by calling __import__(module_path, ...). The module is imported — running its top-level code (import side effects) — before the framework checks that the resolved object is a LiveView subclass and before any per-view authentication. The LIVEVIEW_ALLOWED_MODULES allowlist that should contain this is fail-open (if allowed_modules: — skipped when the setting is unset, the framework default) and uses loose startswith matching.
An unauthenticated WebSocket client (the WS handshake does not require auth; per-view auth runs only after import + instantiate) can therefore send a mount / live_redirect_mount / url_change frame (or an SSE mount) with view = ".AnyName" and cause the server to import — and execute the top-level code of — any importable Python module by name.
Consequences: server-side execution of arbitrary importable modules' import-time side effects by an unauthenticated client (effectively RCE-by-proxy on any host that has a side-effectful importable module), denial of service (import bombs / expensive dependency trees), and a module/class enumeration oracle via distinct error strings.
Reproduced end-to-end: an unauthenticated WebsocketCommunicator mount frame with the allowlist unset imported and executed a sentinel non-LiveView module before the "not a LiveView subclass" rejection.
Affected code
- `python/dj…
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
djust という製品で、CVE-2026-61599 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに LiveView のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: djust を 1.0.7 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「djust CVE-2026-61599」を検索してください。
CVE-2026-61599 (djust) — CWE-470
脆弱箇所: LiveView / LIVEVIEW_ALLOWED_MODULES / startswith / mount
修正バージョン: 1.0.7 (即時適用推奨)
暫定回避: Set LIVEVIEW_ALLOWED_MODULES to the narrow list of modules that contain your mountable LiveView classes.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
djust に 脆弱性 (CWE-470) があります。攻撃者は LiveView を経由して脆弱な処理に到達できます。
djust の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: LiveView / LIVEVIEW_ALLOWED_MODULES / startswith / mount。
重要度: ?。不正な操作・情報露出のリスクがあります。
1.0.7 に更新してください。
暫定回避: Set LIVEVIEW_ALLOWED_MODULES to the narrow list of modules that contain your mountable LiveView classes.
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'djust' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
djustを grep し、稼働しているサービス・バージョンを把握する。 -
2暫定回避策の適用 mitigate
Set `LIVEVIEW_ALLOWED_MODULES` to the narrow list of modules that contain your mountable LiveView classes.パッチが適用されるまでの応急処置として、Set
LIVEVIEW_ALLOWED_MODULESto the narrow list of modules that contain your mountable LiveView classes. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3パッチ適用 patch
Upgrade djust to 1.0.7ステージング環境で 1.0.7 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- web github.com
- web github.com
- web github.com