Skip to main content

djangoSIGE EUVDEUVD-2026-46409

| CVE-2026-64821 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-07-21 VulnCheck GHSA-83g7-qjjj-48pv
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify djangoSIGE instance and valid order IDs
  2. Delivery
    Craft malicious page with img src pointing to cancellation GET endpoint
  3. Exploit
    Deliver malicious page link to victim with order-management permissions
  4. Execution
    Victim browser auto-sends authenticated GET request
  5. Persist
    Django processes cancellation without CSRF check
  6. Impact
    Order canceled on victim's behalf

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial 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 an authenticated djangoSIGE user holding change_orcamentovenda, change_pedidovenda, change_orcamentocompra, or change_pedidocompra permissions (or equivalent) to be socially engineered into visiting an attacker-controlled page while their djangoSIGE session is active. The target installation must be running djangoSIGE through version 1.10 (commit a6fe7e8) without the PR #163 fix applied. The attacker must also know or enumerate a valid order ID to target a specific record. Limiting factors: the attacker cannot directly trigger the cancellation without victim interaction (UI:P in CVSS 4.0); the victim must hold specific order-management permissions rather than any authenticated session; and the attacker must have knowledge of the target system's URL structure and a valid order identifier. Default Django session cookie configuration (without SameSite=Strict) enables the cross-origin request to carry session credentials, which is a prerequisite for exploitation.

Impact

The CVSS 4.0 score of 5.3 (Medium, vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N) accurately reflects the risk profile. The attack is network-accessible, requires no complexity or attacker privileges, but mandates passive user interaction (UI:P) - the victim must be lured to an attacker-controlled page while holding an active djangoSIGE session with change_orcamentovenda or equivalent permissions. Impact is limited to integrity of the vulnerable system (VI:L), specifically unauthorized order cancellations, with no confidentiality or availability consequences. A publicly available proof-of-concept exploit exists, elevating practical exploitation risk above theoretical. No CISA KEV listing is present in the input data, and no EPSS score was provided - exploitation probability cannot be quantified from available signals. The social-engineering prerequisite and the requirement for specific order-management permissions limit mass automated exploitation, but this vulnerability could enable targeted business disruption in ERP-reliant environments. The discrepancy between PR:N at the network level and the requirement for a permission-holding victim is expected for CSRF - the attacker needs no credentials, but the victim must be credentialed.

Exploit ScenarioDerived

A publicly available proof-of-concept exists at https://github.com/americooo/pentest-writeups/tree/main/djangoSIGE-CVE-2026-64821-64822. An attacker identifies a target djangoSIGE instance and a specific order ID, then constructs a malicious webpage containing an img tag with its src attribute pointing to the cancellation endpoint (e.g., https://erp.target.com/vendas/cancelar-orcamento/42/). When a djangoSIGE user with change_orcamentovenda permissions visits the malicious page in a browser while logged into the target system, the browser automatically issues the authenticated GET request with session cookies, canceling the order silently without any user confirmation or CSRF token challenge.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 21, 2026

Cross-site request forgery in djangoSIGE through 1.10 enables unauthenticated remote attackers to cancel sales quotations, sales orders, purchase quotations, and purchase orders on behalf of authenticated users with order-management permissions, with no public exploit identified at time of analysis per KEV, though a publicly available exploit exists. The vulnerability stems from business-critical state-changing operations (CancelarOrcamentoVendaView, CancelarPedidoVendaView, CancelarOrcamentoCompraView, CancelarPedidoCompraView) being implemented inside HTTP GET handlers, which Django's CsrfViewMiddleware explicitly exempts from CSRF token enforcement. An upstream fix is available via GitHub PR #163 (GET-to-POST method migration), but a patched tagged release version has not been independently confirmed.

RemediationAI

The upstream fix is available via GitHub pull request #163 at https://github.com/thiagopena/djangoSIGE/pull/163, which migrates the cancellation logic in CancelarOrcamentoVendaView, CancelarPedidoVendaView, CancelarOrcamentoCompraView, and CancelarPedidoCompraView from GET to POST handlers, enabling Django's CsrfViewMiddleware to enforce CSRF token validation. This is an upstream fix available as a PR/commit; a formally tagged patched release version has not been independently confirmed - administrators should apply the PR patch directly or track the repository for a subsequent tagged release. As a compensating control prior to patching, apply Django's @csrf_protect decorator explicitly to the affected views, or configure a custom middleware that enforces CSRF on all state-changing endpoints regardless of HTTP method. Restricting the set of users with change_orcamentovenda, change_pedidovenda, change_orcamentocompra, and change_pedidocompra permissions reduces the exploitable victim pool. Network-level controls blocking cross-origin requests to cancellation endpoints via Content-Security-Policy or same-site cookie attributes (SameSite=Strict or Lax on session cookies) can mitigate exploitation without patching, though the trade-off is potential impact on legitimate cross-site integrations.

Affected VersionsENISA

djangoSIGE 0 ≤a6fe7e8e3a7d52ba0a25305df4e5e7e0cd5f5792
djangoSIGE 0 ≤1.10

Affected Packages

euvd djangosige 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

djangoSIGE (CPE: cpe:2.3:a:thiagopena:djangosige:*:*:*:*:*:*:*:*) is an open-source Django-based ERP and management system developed by thiagopena, targeted at Portuguese-speaking markets. The root cause class is CWE-352 (Cross-Site Request Forgery). Django's CsrfViewMiddleware enforces CSRF token validation only on HTTP methods classified as 'unsafe' by RFC 7231 - specifically POST, PUT, PATCH, and DELETE. GET requests are considered 'safe' and are intentionally exempt from this check. By placing order-cancellation logic inside GET handlers rather than POST handlers, the four affected views bypass CSRF protection entirely. This means any cross-origin reference that triggers an authenticated GET request - such as an img tag, an anchor tag with auto-navigation, or a JavaScript fetch() - will execute the cancellation action using the victim's active session cookies, with no CSRF token required.

Know when Djangosige 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 (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network vector, no attacker privileges required, but mandatory user interaction (UI:R); scope unchanged, integrity-only limited impact from order cancellation with no confidentiality or availability effect.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

djangoSIGE through 1.10 (commit a6fe7e8) contains a cross-site request forgery vulnerability that allows unauthenticated attackers to cancel sales or purchase orders on behalf of authenticated users by exploiting order-cancellation logic implemented inside HTTP GET method handlers in CancelarOrcamentoVendaView, CancelarPedidoVendaView, CancelarOrcamentoCompraView, and CancelarPedidoCompraView. Attackers can lure an authenticated victim with change_orcamentovenda or equivalent permissions to a page containing a cross-origin reference such as an img tag pointing to the cancellation endpoint, bypassing CSRF token validation entirely since Django's CsrfViewMiddleware only enforces CSRF checks on unsafe HTTP methods.

Threat Intelligence Overview

EPSS Score
0.1%
Top 95% exploitable
Prevalence
Low
niche open-source Brazilian ERP, limited global enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.1%
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

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

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