Skip to main content

Djangoblog CVE-2026-6611

| EUVDEUVD-2026-23787 LOW
Use of Hard-coded Cryptographic Key (CWE-321)
2026-04-20 VulDB GHSA-hq9j-qh3w-qvg3
1.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious file upload request
  2. Delivery
    Manipulate SECRET_KEY parameter
  3. Exploit
    Submit form via social engineering
  4. Execution
    Trigger hard-coded key usage
  5. Persist
    Forge cryptographic tokens
  6. Impact
    Obtain 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

DjangoBlog 2.1.0

Affected Packages

euvd djangoblog no fix

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

Vendor (VulDB) PRIMARY 1.3 LOW
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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
CVSS changed
Apr 29, 2026 - 01:12 NVD
2.3 (LOW) 1.3 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 20, 2026 - 07:22 NVD
3.1 (LOW) 2.3 (LOW)
CVE Published
Apr 20, 2026 - 06:00 nvd
LOW 1.3

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

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2026-6579 MEDIUM POC
5.5 Apr 19

DjangoBlog up to version 2.1.0.0 contains an authentication bypass vulnerability in the blog/views.py Clean Endpoint tha

CVE-2026-6577 MEDIUM POC
5.5 Apr 19

Missing authentication in DjangoBlog 2.1.0.0 and prior allows remote unauthenticated attackers to inject GPS tracking da

CVE-2026-6580 MEDIUM POC
5.5 Apr 19

Hard-coded Amap API key exposure in DjangoBlog allows remote attackers to abuse geolocation services without authenticat

CVE-2023-2954 MEDIUM POC
5.4 May 29

Cross-site Scripting (XSS) - Stored in GitHub repository liangliangyy/djangoblog prior to master. Rated medium severity

CVE-2026-6610 LOW POC
2.9 Apr 20

DjangoBlog up to version 2.1.0.0 contains hard-coded credentials in djangoblog/settings.py that can be exploited remotel

CVE-2026-6578 LOW POC
2.9 Apr 19

Liangliangyy DjangoBlog up to version 2.1.0.0 contains hard-coded credentials in the SECRET_KEY parameter within djangob

CVE-2026-6576 LOW POC
2.1 Apr 19

Command injection in DjangoBlog WeChat Bot Interface allows authenticated remote attackers to execute arbitrary system c

CVE-2026-6609 LOW POC
2.1 Apr 20

Improper authorization in liangliangyy DjangoBlog versions up to 2.1.0.0 allows authenticated remote attackers to manipu

CVE-2026-129155 MEDIUM
5.1 Nov 13

Stored cross-site scripting in DjangoBlog 2.0.0.0 through 2.1.0.0 lets authenticated users who can post comments inject

CVE-2026-129156 MEDIUM
5.1 Nov 13

Stored cross-site scripting in DjangoBlog (commits d186b1c through 6134ed6) lets an authenticated OAuth user store scrip

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