Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRead hardcoded SECRET_KEY from public repo
-
DeliveryForge signed superadmin session cookie
-
ExploitSubmit cookie to target DjangoCRM
-
ExecutionAuthenticate as superadmin
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).
CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-53311
GHSA-qc6p-hvpv-4f8h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB