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/workflo...
Résumé
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...
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Source: NIST National Vulnerability Database NVD
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-40316 a été découverte dans django.
Des attaquants peuvent cibler un point d'entrée spécifique comme pull_request_target à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 8.8/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « django CVE-2026-40316 » sur le site de l'éditeur.
CVE-2026-40316 (django) — CWE-94 / CVSS v3 8.8
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : pull_request_target / makemigrations / GITHUB_TOKEN / models.py
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
OWASP BLTのRCE脆弱性
バージョン2.1.1未満の.github/workflows/regenerate-migrations.yml
攻撃者が外部から任意のコードを実行し、GITHUB_TOKENの悪用やリポジトリの改ざんを引き起こす可能性があるため、高い重要性があります。
バージョン2.1.1へのアップデートが推奨されます。
暫定措置として、プルリクエストにラベルを付けないよう運用で対応可能です。
プルリクエストのトリガー条件をチェックし、既知の攻撃パターンの監視を実施します。
Références
- exploit security-advisories@github.com