CVE-2026-71238 Details
Description
DjangoCRM ships with its Django SECRET_KEY hardcoded directly in the committed webcrm/settings.py rather than read from an environment variable. Since this key is used for session signing, CSRF token generation, and password reset tokens, anyone who reads the public repository can forge valid session cookies (including for the superadmin account), forge CSRF tokens, and forge password reset tokens, achieving full account takeover.
A vulnerability exists in DjangoCRM due to the SECRET_KEY being hardcoded in the webcrm/settings.py file, instead of being sourced from an environment variable. This key is crucial for session signing, CSRF token generation, and password reset tokens. As a result, anyone with access to the public repository can create valid session cookies (including for the superadmin account), forge CSRF tokens, and generate password reset tokens, potentially leading to full account takeover. Additionally, the default DEBUG=True setting exposes error pages that leak sensitive information such as database and email credentials, OAuth data, and internal file paths.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/DjangoCRM/django-crm | TuranSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-798 | Use of Hard-coded Credentials | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| DjangoCRM | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion