製品・ソフトウェアに関する情報
OWASPのOWASP BLTにおける複数の脆弱性
Title OWASPのOWASP BLTにおける複数の脆弱性
Summary

OWASP BLTは、ウェブサイト、アプリ、Gitリポジトリなどを含むQAテストおよび脆弱性開示プラットフォームです。バージョン2.1.1より前のバージョンには、.github/workflows/regenerate-migrations.ymlのワークフローにRCE(リモートコード実行)脆弱性があります。このワークフローはpull_request_targetトリガーを使用してフルGITHUB_TOKENの書き込み権限で実行され、信頼されていないプルリクエストから攻撃者が制御するファイルをgit show経由で信頼されたランナーワークスペースにコピーし、その後python manage.py makemigrationsを実行します。このコマンドはDjangoモデルモジュールをインポートし、その中には攻撃者が制御するwebsite/models.pyも含まれています。インポート時に攻撃者のmodels.py内の任意のモジュールレベルのPythonコードが実行されるため、GITHUB_TOKENやリポジトリのシークレットにアクセス可能な特権付きCI環境で任意コード実行が可能になります。この攻撃はプルリクエストを開ける外部コントリビューターであれば誰でも引き起こすことができ、メンテナがregenerate-migrationsラベルを適用するとトリガーされます。その結果、シークレットの漏洩やリポジトリの乗っ取り、サプライチェーン攻撃につながる可能性があります。本問題の修正パッチはバージョン2.1.1でリリースされる予定です。

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

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

Publication Date April 15, 2026, midnight
Registration Date May 25, 2026, 10:25 a.m.
Last Update May 25, 2026, 10:25 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
OWASP
OWASP BLT 2.1 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月25日]
  掲載
May 25, 2026, 10:25 a.m.

NVD Vulnerability Information
CVE-2026-40316
Summary

OWASP BLT is a QA testing and vulnerability disclosure platform that encompasses websites, apps, git repositories, and more. Versions prior to 2.1.1 contain an RCE vulnerability in the .github/workflows/regenerate-migrations.yml workflow. The workflow uses the pull_request_target trigger to run with full GITHUB_TOKEN write permissions, copies attacker-controlled files from untrusted pull requests into the trusted runner workspace via git show, and then executes python manage.py makemigrations, which imports Django model modules including attacker-controlled website/models.py at runtime. Any module-level Python code in the attacker's models.py is executed during import, enabling arbitrary code execution in the privileged CI environment with access to GITHUB_TOKEN and repository secrets. The attack is triggerable by any external contributor who can open a pull request, provided a maintainer applies the regenerate-migrations label, potentially leading to secret exfiltration, repository compromise, and supply chain attacks. A patch for this issue is expected to be released in version 2.1.1.

Publication Date April 16, 2026, 8:16 a.m.
Registration Date April 17, 2026, 4:12 a.m.
Last Update April 18, 2026, 12:38 a.m.
Related information, measures and tools
Common Vulnerabilities List