Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious file upload request
-
DeliveryManipulate SECRET_KEY parameter
-
ExploitSubmit form via social engineering
-
ExecutionTrigger hard-coded key usage
-
PersistForge cryptographic tokens
-
ImpactObtain sensitive information
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
|
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) the file upload endpoint must be accessible to remote, unauthenticated users; (2) the user or attacker must interact with a file upload form or trigger a file upload action (high complexity requirement); (3) the SECRET_KEY parameter in djangoblog/settings.py must be modifiable or fallback-able through request manipulation during the upload process; (4) the application must use the supplied or manipulated SECRET_KEY for cryptographic operations without validation. Limiting factors include the mandatory user interaction (UI:P in CVSS), which prevents fully automated exploitation and requires social engineering or XSS to trigger; the high attack complexity (AC:H) indicating that specific environmental conditions or request crafting is needed; and the requirement that the Django application be deployed with file uploads enabled and accessible. Exploitation does NOT require authentication (PR:N), but it does require user-level action, making this unsuitable for mass exploitation against default configurations. |
| Impact | This vulnerability presents low real-world risk despite public exploit availability. The CVSS v4.0 vector (AV:N/AC:H/PR:N/UI:P) indicates network-accessible attack with high complexity and mandatory user interaction - both significant friction factors. The CVSS score of 2.3 reflects minimal impact (VC:L only, no integrity or availability impact). Exploitation probability is rated 'Probable' (E:P), acknowledging public POC code, yet the high attack complexity (AC:H) and user interaction requirement (UI:P) suggest real-world exploitation would be limited to targeted scenarios - for example, tricking a user into uploading a file through a malicious link or form. The lack of vendor response and unconfirmed patch status further indicates this is a low-priority issue for defenders. The exploitability being rated 'difficult' combined with CVSS AC:H suggests attackers would need to craft highly specific requests or environmental conditions. No EPSS score was provided, but the combination of low CVSS, high AC, required UI, and limited impact suggests exploitation probability is overestimated by the 'Probable' tag - this is likely a proof-of-concept-level finding rather than a practical attack vector in production environments. |
| Exploit ScenarioDerived | An attacker crafts a malicious HTTP POST request to the file upload endpoint (/path/to/upload or similar) with a manipulated SECRET_KEY parameter set to a known hard-coded value or a value that triggers fallback behavior. The request includes a benign file upload to appear legitimate. If a user is tricked into clicking a link that submits this form (via phishing or XSS), or if the attacker controls a proxy or network position to inject the parameter, the application processes the upload using the exposed cryptographic key, allowing the attacker to forge CSRF tokens, hijack sessions, or decrypt sensitive data. Publicly available POC code (referenced on GitHub) demonstrates the exact parameter manipulation technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
DjangoBlog versions up to 2.1.0.0 use a hard-coded cryptographic key in djangoblog/settings.py when the SECRET_KEY argument is manipulated during file upload operations, allowing remote attackers with user interaction to obtain sensitive information. The attack requires high complexity and user participation, resulting in a low confidentiality impact (CVSS 2.3). Publicly available exploit code exists, though the vendor has not responded to disclosure attempts.
RemediationAI
No vendor-released patch was identified at time of analysis due to the vendor's lack of response to early disclosure. To remediate, upgrade DjangoBlog to a version newer than 2.1.0.0 if available; check the liangliangyy/DjangoBlog GitHub repository for post-2.1.0.0 releases. As an immediate compensating control, disable file upload functionality or restrict file uploads to authenticated users only and implement strict allowlist-based validation of uploaded file types and sizes. Additionally, ensure the Django application uses a cryptographically secure, non-hardcoded SECRET_KEY generated at deployment time and stored securely in environment variables or a secrets management system - do not commit SECRET_KEY to version control. This workaround mitigates the hard-coded key exposure but does not fully prevent SECRET_KEY manipulation unless the application also validates and rejects suspicious SECRET_KEY modifications during request handling. Monitor DjangoBlog release notes and GitHub issues for upstream patches; if no update is forthcoming and file upload is business-critical, consider migrating to an actively maintained blogging platform.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability involves CWE-321 (Use of Hard-coded Cryptographic Key), a root cause in Django web applications where cryptographic operations rely on static, predictable secrets rather than securely generated and stored keys. DjangoBlog is a Python-based blogging platform built on the Django framework; the file upload endpoint in djangoblog/settings.py processes user-supplied file uploads and derives cryptographic operations (likely for integrity checks, session tokens, or CSRF protection) from the SECRET_KEY parameter. When an attacker manipulates the SECRET_KEY argument during a file upload request, the application falls back to or reveals a hard-coded cryptographic key, weakening cryptographic protections. This is compounded by Django's reliance on SECRET_KEY for CSRF tokens, session serialization, and password reset tokens - exposure or predictability of this key compromises authentication and authorization mechanisms.
Know when Djangoblog 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
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in liangliangyy DjangoBlog up to 2.1.0.0. This affects an unknown function of the file djangoblog/settings.py of the component File Upload Endpoint. Performing a manipulation of the argument SECRET_KEY results in use of hard-coded cryptographic key . Remote exploitation of the attack is possible. The attack's complexity is rated as high. The exploitability is reported as difficult. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
More in Djangoblog
View allDjangoBlog up to version 2.1.0.0 contains an authentication bypass vulnerability in the blog/views.py Clean Endpoint tha
Missing authentication in DjangoBlog 2.1.0.0 and prior allows remote unauthenticated attackers to inject GPS tracking da
Hard-coded Amap API key exposure in DjangoBlog allows remote attackers to abuse geolocation services without authenticat
Cross-site Scripting (XSS) - Stored in GitHub repository liangliangyy/djangoblog prior to master. Rated medium severity
DjangoBlog up to version 2.1.0.0 contains hard-coded credentials in djangoblog/settings.py that can be exploited remotel
Liangliangyy DjangoBlog up to version 2.1.0.0 contains hard-coded credentials in the SECRET_KEY parameter within djangob
Command injection in DjangoBlog WeChat Bot Interface allows authenticated remote attackers to execute arbitrary system c
Improper authorization in liangliangyy DjangoBlog versions up to 2.1.0.0 allows authenticated remote attackers to manipu
Stored cross-site scripting in DjangoBlog 2.0.0.0 through 2.1.0.0 lets authenticated users who can post comments inject
Stored cross-site scripting in DjangoBlog (commits d186b1c through 6134ed6) lets an authenticated OAuth user store scrip
EUVD-2026-23787
GHSA-hq9j-qh3w-qvg3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB