Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-31815django-unicorn affected by component state manipulation via unvalidated attribute access
Medium 5.3
In plain English
A medium-severity improper access control in django-unicorn from django-commons. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | django-unicorn | 0.67.0 | GHSA-ffv6-jj46-x367 |
| PyPI | django-unicorn | 0.67.0 | PYSEC-2026-2451 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| django-commons | django-unicorn | < 0.67.0 |
Weakness: CWE-284, CWE-915 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N