CVE Catalog

CVE-2026-71238

CriticalCVSS 9.1
Published: Translated: NVD NIST

Summary

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. The repository also ships with DEBUG=True as the default, causing error pages to leak database credentials, email credentials, OAuth data, and internal file paths.

Risk Assessment

The publicly available SECRET_KEY allows an attacker to take over user accounts, including administrators, and access sensitive data. The enabled debug mode additionally exposes confidential system information.

Recommendation

Immediately change the SECRET_KEY to a random value stored in an environment variable, disable DEBUG in production, and rotate all existing tokens and sessions.

Original NVD description (English source)

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. The repository also ships with DEBUG=True as the default, causing error pages to leak database credentials, email credentials, OAuth data, and internal file paths.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS