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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-10T21:07:08.198Z
- Modified: 2026-07-13T16:43:48.754Z
- Also known as: GHSA-ffv6-jj46-x367, PYSEC-2026-2451
- Weaknesses: CWE-284, CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- django-commons django-unicorn: < 0.67.0
- django-unicorn (PyPI): before 0.67.0
- django-unicorn unicorn: before 0.67.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/django-commons/django-unicorn/security/advisories/GHSA-ffv6-jj46-x367> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31815> (advisory)
- <https://github.com/django-commons/django-unicorn> (package)
- <https://pypi.org/project/django-unicorn> (package)
- <https://github.com/advisories/GHSA-ffv6-jj46-x367> (advisory)

## Sources

- CVE List: [CVE-2026-31815](https://www.cve.org/CVERecord?id=CVE-2026-31815), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-ffv6-jj46-x367](https://github.com/advisories/GHSA-ffv6-jj46-x367), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-31815](https://nvd.nist.gov/vuln/detail/CVE-2026-31815), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2451](https://osv.dev/vulnerability/PYSEC-2026-2451), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-31815 · Whole record: https://cve.day/CVE-2026-31815.json · Rebuilt by cve.day 2026-11-25T22:59:15.672Z
