What’s Vulnerable › Vulnerabilities
CVE-2026-31815: django-unicorn affected by component state manipulation via unvalidated attribute access
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-10 · updated 2026-06-17
- Weakness: CWE-284
Description
Unicorn adds modern reactive component functionality to your Django templates. Prior to 0.67.0, component state manipulation is possible in django-unicorn due to missing access control checks during property updates and method calls. An attacker can bypass the intended _is_public protection to modify internal attributes such as template_name or trigger protected methods. This vulnerability is fixed in 0.67.0.
Affected products
- django-commons django-unicorn: before 0.67.0 — fixed in 0.67.0
How to fix
Upgrade to a fixed version: django-commons django-unicorn 0.67.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-31815 or the next vulnerability affects your stack