Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-71238DjangoCRM - Hardcoded Django SECRET_KEY Enables Session and CSRF Token Forgery
Critical 9.1
In plain English
A critical-severity hard-coded credentials in django-crm from DjangoCRM. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DjangoCRM | django-crm | 0 |
Weakness: CWE-798 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/DjangoCRM/django-crm third-party-advisory