Skip to main content

DjangoCRM CVE-2026-71238

| EUVDEUVD-2026-53311 CRITICAL
Use of Hard-coded Credentials (CWE-798)
2026-08-05 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c GHSA-qc6p-hvpv-4f8h
9.1
CVSS 3.1 · Vendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Read hardcoded SECRET_KEY from public repo
  2. Delivery
    Forge signed superadmin session cookie
  3. Exploit
    Submit cookie to target DjangoCRM
  4. Execution
    Authenticate as superadmin
  5. Impact
    Full account takeover and data access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK

2 techniques across 2 tactics: Persistence, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target DjangoCRM deployment still uses the SECRET_KEY hardcoded in the committed webcrm/settings.py (i.e., the operator did not override SECRET_KEY via environment variable); given that public key, an unauthenticated remote attacker can forge session cookies, CSRF tokens, and password reset tokens. The secondary credential-disclosure impact additionally requires DEBUG=True (the shipped default) to remain enabled. The limiting factor is deployment hardening: any installation that generated its own SECRET_KEY and set DEBUG=False is not exploitable via this path, so risk is confined to installs running the default committed configuration.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, base 9.1) indicates a network-reachable, low-complexity, unauthenticated attack with high confidentiality and integrity impact and no availability impact - consistent with forging trusted tokens rather than crashing the service. The root cause is a public, static secret, so weaponization is trivial once identified, and the DEBUG leak amplifies impact. Countervailing factors: real-world risk depends on how many operators kept the shipped key rather than overriding SECRET_KEY/DEBUG in their own deployment, which limits the exploitable population to unhardened installs. No EPSS score, KEV listing, POC reference, or SSVC decision data was supplied, so exploitation likelihood cannot be quantified from the input; the assessment rests on the CVSS vector and description alone. Treat as high priority for any DjangoCRM instance not confirmed to have rotated its SECRET_KEY and disabled DEBUG.

Exploit ScenarioDerived

An attacker reads webcrm/settings.py in the public DjangoCRM repository, extracts the hardcoded SECRET_KEY, and uses it to craft a validly signed session cookie for the superadmin account against a target deployment, logging in without credentials. If DEBUG is left on, the attacker can also trigger an error page to harvest database and OAuth secrets. No POC was referenced, but the technique requires only standard Django signing utilities.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Full account takeover in DjangoCRM stems from a hardcoded Django SECRET_KEY committed in webcrm/settings.py, letting anyone who reads the public GitHub repository forge session cookies (including the superadmin), CSRF tokens, and password reset tokens. The default DEBUG=True setting compounds this by exposing database, email, and OAuth credentials plus internal paths on error pages. No public exploit is identified at time of analysis, but exploitation is trivial and requires no authentication (CVSS 9.1, PR:N).

RemediationAI

No vendor-released patch version is identified at time of analysis. The primary operator-side fix is to stop trusting the shipped configuration: generate a new random SECRET_KEY, load it (and all credentials) from an environment variable or secrets manager rather than committing it, and set DEBUG=False in production. After rotating the key, invalidate existing sessions and CSRF tokens and force password resets, since previously issued tokens may have been forged; also rotate any database, email, and OAuth credentials that could have been exposed via DEBUG error pages. As a compensating control until configuration is corrected, disabling DEBUG immediately stops the credential/path leakage (side effect: you lose verbose tracebacks for debugging), and restricting network access to the application reduces the unauthenticated attack surface. Consult the project repository at https://github.com/DjangoCRM/django-crm for any updated guidance.

Affected VersionsENISA

django-crm 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DjangoCRM is a Python/Django customer-relationship-management application. Django derives cryptographic signatures for session cookies, CSRF tokens, and the PasswordResetTokenGenerator from the project-wide SECRET_KEY; the security model assumes this value is secret and per-deployment. Here the key is CWE-798 (Use of Hard-coded Credentials) - checked directly into version control in webcrm/settings.py instead of being read from an environment variable - so the signing secret is public knowledge for every deployment that did not manually override it. Because the same static key protects authentication (sessions), anti-CSRF, and password-reset flows, one disclosed secret collapses several independent trust boundaries at once. The secondary DEBUG=True default triggers Django's verbose error/traceback pages, which render settings values and can leak database credentials, SMTP credentials, OAuth secrets, and filesystem layout.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

Public hardcoded key enables unauthenticated remote token forgery (AV:N/AC:L/PR:N/UI:N) yielding full account takeover (C:H/I:H); no availability impact and no cross-system scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).

CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

DjangoCRM contains a critical vulnerability enabling full account takeover through hardcoded credentials publicly exposed in its GitHub repository, allowing unauthenticated attackers to forge authentication tokens and assume any user account including administrative privileges. Combined with DEBUG=True settings, the system exposes additional sensitive configuration data, creating immediate risk to customer data integrity and operational control.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Immediately restrict GitHub repository access to authorized personnel only or privatize the repository; rotate all credentials potentially exposed in version history using tools such as BFG Repo-Cleaner or git-filter-repo; enforce DEBUG=False across all production instances; clear all active sessions to force re-authentication; implement enhanced monitoring and alerting on authentication events to detect anomalous login patterns or unusual privilege escalation; deploy Web Application Firewall rules to detect token forging attempts; and perform forensic analysis of access logs and database transaction history to identify any unauthorized data access or exfiltration.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche open-source Django CRM, limited enterprise deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy