What’s Vulnerable › Vulnerabilities

CVE-2026-31815: django-unicorn affected by component state manipulation via unvalidated attribute access

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

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