PT-2026-68104 · Unknown · Django Crm

·

CVE-2026-71238

·

Published

2026-08-05

·

Updated

2026-08-10

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions DjangoCRM (affected versions not specified)
Description The software contains a hardcoded SECRET KEY within the webcrm/settings.py file instead of retrieving it from an environment variable. This key is critical for session signing, CSRF token generation, and password reset tokens. An attacker with access to the public repository can use this key to forge valid session cookies, including those for the superadmin account, as well as forge CSRF and password reset tokens, leading to full account takeover. Additionally, the default configuration has DEBUG set to True, which allows error pages to leak sensitive information such as database credentials, email credentials, OAuth data, and internal file paths.
Recommendations Change the hardcoded SECRET KEY in webcrm/settings.py to a unique, random value and configure the application to read it from an environment variable. Set the DEBUG variable to False in the production configuration to prevent the leakage of sensitive system information.

Fix

Using Hardcoded Credentials

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-71238

Affected Products

Django Crm