Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify djangoSIGE instance and valid order IDs
-
DeliveryCraft malicious page with img src pointing to cancellation GET endpoint
-
ExploitDeliver malicious page link to victim with order-management permissions
-
ExecutionVictim browser auto-sends authenticated GET request
-
PersistDjango processes cancellation without CSRF check
-
ImpactOrder 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
EUVD-2026-46409
GHSA-83g7-qjjj-48pv
NVD
CVE.org
EPSS
Exploit-DB