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.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 83.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIdjango-unicorn0.67.0GHSA-ffv6-jj46-x367
PyPIdjango-unicorn0.67.0PYSEC-2026-2451

Affected products (as reported)

VendorProductVersions
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

References