{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40316","published":"2026-04-15T23:16:10.220000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-94","CWE-95"],"cpes":[{"criteria":"cpe:2.3:a:owasp:owasp_blt:*:*:*:*:*:*:*:*","part":"a","vendor":"owasp","product":"owasp_blt","version_end_including":"2.1"}],"cpes_truncated":false,"vendors":["owasp"],"products":["owasp/owasp_blt"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-40316/","html_en":"/en/cve/CVE-2026-40316/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40316","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40316"},"untrusted":{"vendor_name":"Owasp","product_name":"Owasp Blt","desc_en":"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.","affected":[{"untrusted_vendor":"OWASP-BLT","untrusted_product":"BLT","versions":[]}],"references":[{"url":"https://github.com/OWASP-BLT/BLT/security/advisories/GHSA-wxm3-64fx-cmx9","tags":["Exploit","Vendor Advisory"]}]}}