Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31815: CWE-284: Improper Access Control in django-commons django-unicorn

0
Medium
VulnerabilityCVE-2026-31815cvecve-2026-31815cwe-284cwe-915
Published: Tue Mar 10 2026 (03/10/2026, 21:07:08 UTC)
Source: CVE Database V5
Vendor/Project: django-commons
Product: django-unicorn

Description

CVE-2026-31815 is a medium severity improper access control vulnerability in django-unicorn versions prior to 0. 67. 0. The flaw allows attackers to bypass the intended _is_public protection, enabling unauthorized manipulation of internal component state such as template_name or invocation of protected methods. Exploitation requires no authentication or user interaction and can be performed remotely over the network. Although the impact on confidentiality is limited and there is no direct integrity or availability compromise, unauthorized state manipulation could lead to unexpected application behavior or information disclosure. The vulnerability has been fixed in version 0. 67. 0 of django-unicorn. Organizations using affected versions should upgrade promptly to mitigate risk.

AI-Powered Analysis

AILast updated: 03/10/2026, 21:44:22 UTC

Technical Analysis

CVE-2026-31815 is an improper access control vulnerability identified in django-unicorn, a Django package that adds reactive component functionality to Django templates. Versions prior to 0.67.0 lack adequate access control checks during property updates and method calls on components. Specifically, the intended protection mechanism, _is_public, which restricts access to internal attributes and methods, can be bypassed by an attacker. This allows unauthorized modification of internal component state such as the template_name attribute or the triggering of protected methods that should not be accessible externally. The vulnerability is exploitable remotely without requiring authentication or user interaction, increasing its risk profile. However, the impact is limited to confidentiality as the attacker can potentially glean internal state information or alter component behavior, but cannot directly modify data integrity or cause denial of service. The vulnerability is classified under CWE-284 (Improper Access Control) and CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes). The issue was publicly disclosed on March 10, 2026, and fixed in django-unicorn version 0.67.0. No known exploits have been reported in the wild to date. The CVSS v3.1 base score is 5.3, reflecting medium severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed.

Potential Impact

The primary impact of CVE-2026-31815 is unauthorized access to and manipulation of internal component state within django-unicorn-powered Django applications. This can lead to information disclosure of internal attributes and potentially unexpected application behavior if protected methods are invoked maliciously. While it does not directly compromise data integrity or availability, the ability to alter component state could be leveraged in complex attack chains or to bypass application logic. Organizations relying on django-unicorn for reactive UI components may face risks of subtle application faults or leakage of sensitive template information. Given the lack of authentication requirements and ease of exploitation, the vulnerability poses a moderate risk to web applications exposed to untrusted users or the internet. The absence of known exploits reduces immediate threat but does not eliminate future risk. The impact is especially relevant for organizations with public-facing Django applications using vulnerable versions, potentially affecting user trust and application reliability.

Mitigation Recommendations

The definitive mitigation is to upgrade django-unicorn to version 0.67.0 or later, where the access control checks are properly enforced. Organizations should audit their dependencies and ensure no legacy versions of django-unicorn are in use. Additionally, developers should review component usage to avoid exposing sensitive internal attributes or methods unnecessarily. Implementing strict input validation and limiting component state exposure can reduce risk. Web application firewalls (WAFs) can be tuned to detect and block unusual requests attempting to manipulate component state properties. Monitoring application logs for anomalous access patterns related to django-unicorn components may help detect exploitation attempts. Finally, applying the principle of least privilege and minimizing the attack surface by disabling or restricting reactive components where not needed can further reduce exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-09T16:33:42.914Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b08d502f860ef943c51495

Added to database: 3/10/2026, 9:29:52 PM

Last enriched: 3/10/2026, 9:44:22 PM

Last updated: 3/11/2026, 12:00:45 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses