CVE-2026-40316: OWASP BLT has RCE in Github Actions via untrusted Django model execution in workflow

Published Apr 15, 2026
·
Updated

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 pullrequesttarget trigger to run with full GITHUBTOKEN 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 GITHUBTOKEN 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 Software

2 affected components
OWASP Owasp Blt<2.1.1
OWASP Owasp Blt<=2.1

Event History

Apr 15, 2026
CVE Published
via MITRE·10:49 PM
Data Sourced
via MITRE·10:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40316?

CVE-2026-40316 is classified as a high-severity vulnerability due to the possibility of remote code execution.

2

How do I fix CVE-2026-40316?

To resolve CVE-2026-40316, update OWASP BLT to version 2.1.1 or later.

3

What software is affected by CVE-2026-40316?

CVE-2026-40316 affects versions of OWASP BLT prior to 2.1.1.

4

What type of vulnerability is CVE-2026-40316?

CVE-2026-40316 is a remote code execution (RCE) vulnerability.

5

Is CVE-2026-40316 being actively exploited?

As of the latest information, there are no confirmed reports of active exploitation for CVE-2026-40316.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203