Skip to main content

Djangoblog EUVDEUVD-2026-23714

| CVE-2026-6580 MEDIUM
Use of Hard-coded Cryptographic Key (CWE-321)
2026-04-19 VulDB GHSA-xf7j-p5gh-45hr
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Access public GitHub repository
  2. Delivery
    Extract hard-coded Amap key from owntracks/views.py
  3. Exploit
    Script automated API calls using stolen credential
  4. Execution
    Exhaust API quota or harvest geolocation data
  5. Impact
    Cause service disruption or privacy breach

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 attacker to obtain DjangoBlog source code containing the hard-coded Amap API key in owntracks/views.py. For open-source deployments, the code is publicly accessible via GitHub, making this trivial. For private deployments, exploitation requires prior source code disclosure through repository misconfiguration, insider access, or server compromise. Additionally, the hard-coded key must still be valid (not rotated by the developer) and have active Amap API quota. The owntracks feature itself does not need to be actively used by end users - the key's presence in code is sufficient. Limiting factors: exploitation impact is constrained to API abuse and does not grant access to the DjangoBlog database or server. Attack complexity is low (AC:L) assuming source code access, but obtaining that access may require separate vulnerabilities or misconfigurations in closed-source deployments. No user interaction required (UI:N) once code is obtained.

Impact

Real-world risk is moderate with specific scope limitations. CVSS 7.3 (High) reflects network vector and no authentication, but the actual attack surface is constrained: exploitation requires the hard-coded key to still be valid and the attacker to identify DjangoBlog installations using the vulnerable owntracks feature. The publicly available POC (E:P in CVSS temporal metrics) lowers the skill barrier for exploitation. However, impact is limited to Amap API abuse rather than DjangoBlog server compromise - attackers can consume API quotas, access geolocation data tied to that key, or cause billing increases for the key owner, but cannot execute code or access the blog database. The vendor's non-responsiveness (RL:X indicating no official fix) is concerning, requiring user-driven remediation. SSVC assessment: exploitation status is POC-available, automatable once the key is extracted, technical impact limited to API service degradation rather than total system control. Prioritize if your deployment uses the owntracks/Amap integration; otherwise risk is negligible as the vulnerable component is likely unused in most DjangoBlog installations. Key limiting factor not stated in CVSS: this only affects deployments that have the owntracks feature enabled and configured.

Exploit ScenarioDerived

An attacker clones the public DjangoBlog repository or accesses a deployed instance's source code through misconfigured web server directory listing. They extract the hard-coded Amap API key from owntracks/views.py and script automated geolocation queries against Amap's API using the stolen credential. This consumes the legitimate owner's API quota, potentially triggering billing charges or service throttling. The attacker could also correlate geolocation data if the key is tied to user tracking, creating privacy implications. With the publicly available POC demonstrating the extraction method, exploitation requires minimal technical skill once code access is obtained.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 19, 2026

Hard-coded Amap API key exposure in DjangoBlog allows remote attackers to abuse geolocation services without authentication. DjangoBlog versions up to 2.1.0.0 embed a fixed cryptographic key in owntracks/views.py for Amap API calls, enabling unauthorized API usage with low confidentiality, integrity, and availability impact. Publicly available exploit code exists (POC=YES). EPSS data not provided. Not listed in CISA KEV. Vendor unresponsive to disclosure.

RemediationAI

No vendor-released patch identified at time of analysis due to maintainer non-responsiveness. Users must implement manual remediation: (1) Remove hard-coded API key from owntracks/views.py and replace with environment variable or secrets management (e.g., Django settings with os.getenv('AMAP_API_KEY')). (2) Regenerate the Amap API key through the Amap developer console to invalidate the exposed credential. (3) Implement API key rotation policy and restrict key permissions to minimum required scopes (IP whitelisting if Amap supports). (4) If owntracks/Amap functionality is unused, disable or remove the owntracks component entirely to eliminate attack surface (trade-off: loss of geolocation tracking features). (5) Monitor Amap API usage for anomalous activity indicating key abuse. For deployment teams unable to modify code, firewall rules blocking outbound connections to Amap API endpoints from the Django application can prevent key usage, though this breaks legitimate owntracks functionality. Reference the POC at https://github.com/3em0/cve_repo/blob/main/DjangoBlog/Vuln-5-Hardcoded-Amap-API-Key.md for technical details to validate your remediation.

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

DjangoBlog is a Django-based blogging platform. The owntracks component integrates with Amap (AutoNavi/Gaode Maps), a Chinese mapping service similar to Google Maps. The vulnerability (CWE-321: Use of Hard-coded Cryptographic Key) occurs when API credentials are embedded directly in source code rather than externalized to configuration files or environment variables. The hard-coded Amap API key in owntracks/views.py allows anyone with read access to the code repository or deployed application to extract the key and make unauthorized API calls against the developer's Amap account. This violates API key rotation best practices and creates persistent credential exposure. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates the key is network-accessible without authentication, though actual exploitation requires the attacker to obtain the source code (commonly public in open-source projects). The low CIA impact (C:L/I:L/A:L) reflects API quota abuse, potential geolocation data exposure, and service disruption through rate-limit exhaustion rather than direct system compromise.

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 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 19, 2026 - 23:22 NVD
HIGH MEDIUM
CVSS changed
Apr 19, 2026 - 23:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
CVE Published
Apr 19, 2026 - 22:15 nvd
MEDIUM 5.5

DescriptionCVE.org

A security vulnerability has been detected in liangliangyy DjangoBlog up to 2.1.0.0. Affected is an unknown function of the file owntracks/views.py of the component Amap API Call Handler. Such manipulation of the argument key leads to use of hard-coded cryptographic key . The attack may be launched remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Executive ViewAI

Why It Matters

DjangoBlog versions up to 2.1.0.0 contain hard-coded API credentials in source code that enable attackers to abuse geolocation services at scale without authentication, potentially inflating API costs and enabling location tracking abuse. Organizations running affected DjangoBlog instances face immediate credential compromise risk with no vendor patch available, requiring urgent mitigation to prevent unauthorized API consumption and associated financial and operational impact.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Revoke and regenerate Amap API credentials immediately; (2) Implement request signing or authentication tokens on Amap API calls if platform supports it; (3) Deploy Web Application Firewall rules to detect and block anomalous geolocation API requests; (4) Monitor Amap billing and usage metrics for unauthorized consumption; (5) Restrict network egress to Amap API endpoints by IP/domain allowlist; (6) If DjangoBlog source is accessible, remove hard-coded key from owntracks/views.py and externalize to environment variables or secure vault.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-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-6611 LOW POC
1.3 Apr 20

DjangoBlog versions up to 2.1.0.0 use a hard-coded cryptographic key in djangoblog/settings.py when the SECRET_KEY argum

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