Skip to main content
EPSS 0.4%top 65%

CVE-2026-71238: CWE-798 Use of Hard-coded Credentials in DjangoCRM django-crm

0
Critical
Published: 08/05/2026 (08/05/2026, 10:56:33 UTC)
Source: CVE Database V5
Vendor/Project: DjangoCRM
Product: django-crm

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

DjangoCRM

django-crm

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:28:01 UTC

Technical Analysis

The vulnerability identified as CVE-2026-71238 involves the use of a hardcoded SECRET_KEY in the django-crm project of DjangoCRM. The SECRET_KEY is embedded directly in the committed settings file rather than being sourced securely from environment variables. Because this key is critical for cryptographic operations such as session signing, CSRF protection, and password reset token generation, its disclosure through the public repository allows an attacker to forge authentication tokens and gain unauthorized access, including full control over superadmin accounts.

Potential Impact

An attacker who obtains the hardcoded SECRET_KEY can forge valid session cookies, CSRF tokens, and password reset tokens. This enables full account takeover without requiring legitimate credentials, compromising confidentiality and integrity of user accounts, including administrative accounts. There is no indication of impact on availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to remove the hardcoded SECRET_KEY from the codebase and instead load it securely from environment variables or a secrets management system. Regenerate the SECRET_KEY and invalidate all existing sessions and tokens to prevent misuse.

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
TuranSec
Date Reserved
2026-08-05T10:53:53.175Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a731a81bf8831d539c95c9f

Added to database: 08/05/2026, 11:12:01 UTC

Last enriched: 08/12/2026, 14:28:01 UTC

Last updated: 09/17/2026, 22:01:38 UTC

Views: 55

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 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