PoC Monitor
← All CVEs
CVE-2026-124827published 2 Dec 2026 13:20 UTCData: JSON · API

Djangoproject Django

Server-side file-write via RasterField assignment

An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.contrib.gis.db.models.RasterField` allows the creation of files at attacker-controlled locations via the `name` parameter of a data definition. Depending on the raster driver, this could enable remote code execution. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Mohammed Fathy for reporting this issue.

First public PoC 3 hafter publication · 2 Dec 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by CNA · CWE-73
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

djangoproject Django
  • >= 6.1, < 6.1.4
  • >= 6.0, < 6.0.11
  • >= 5.2, < 5.2.20

Fixed in 6.1.4, 6.0.11, 5.2.20

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Dec 2026 · t = 0First public PoC2 Dec 2026 · t+3h

First public PoC 3 h after publication; not in CISA KEV. First PoC: joshuavanderpoll/CVE-2026-124827 (created 2 Dec 2026, found by us: 2 Dec 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
joshuavanderpoll/CVE-2026-124827 2 Dec 2026 +3 h 2 Dec 2026 1 PoC
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /{var}/login/

Key headers
Cookie: csrftoken={var} Referer: {var}/{var}/login/
Body markers
csrfmiddlewaretoken= username=staff password=staffpass next=/ username= password= in application/x-www-form-urlencoded
Ports
8000
Seen in
1 repo: joshuavanderpoll/CVE-2026-124827
Evidence
joshuavanderpoll/CVE-2026-124827/CVE-2026-124827.min.py:32 joshuavanderpoll/CVE-2026-124827/CVE-2026-124827.py:166 joshuavanderpoll/CVE-2026-124827/nuclei/CVE-2026-124827.yaml:47

POST /{var}/{var}/{var}/add/

Key headers
Referer: {var}/{var}/{var}/{var}/add/
Body markers
csrfmiddlewaretoken= name=poc field_name= name=poc-test in application/x-www-form-urlencoded
Ports
8000
Seen in
1 repo: joshuavanderpoll/CVE-2026-124827
Evidence
joshuavanderpoll/CVE-2026-124827/CVE-2026-124827.min.py:56 joshuavanderpoll/CVE-2026-124827/CVE-2026-124827.py:328

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /{var}/login/
(?i)^/[^/?#]*/login/(?:[?#].*)?$
GET /{var}/{var}/{var}/add/
(?i)^/[^/?#]*/[^/?#]*/[^/?#]*/add/(?:[?#].*)?$
POST /{var}/login/
(?i)^/[^/?#]*/login/(?:[?#].*)?$
POST /{var}/{var}/{var}/add/
(?i)^/[^/?#]*/[^/?#]*/[^/?#]*/add/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /{var}/login/
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-124827 djangoproject Django exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login/"; reference:url,poc.griffinguard.io/cve/CVE-2026-124827; classtype:web-application-attack; sid:9529786; rev:1;)
GET /{var}/{var}/{var}/add/
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-124827 djangoproject Django exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/add/"; http.header; content:"Cookie: csrftoken="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-124827; classtype:web-application-attack; sid:9288684; rev:1;)
POST /{var}/login/
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-124827 djangoproject Django exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/login/"; http.header; content:"Cookie: csrftoken="; nocase; http.header_names; content:"Referer"; nocase; http.request_body; content:"csrfmiddlewaretoken="; http.request_body; content:"username=staff"; http.request_body; content:"password=staffpass"; http.request_body; content:"next=/"; http.request_body; content:"username="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2026-124827; classtype:web-application-attack; sid:9880394; rev:1;)
POST /{var}/{var}/{var}/add/
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-124827 djangoproject Django exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/add/"; http.header_names; content:"Referer"; nocase; http.request_body; content:"csrfmiddlewaretoken="; http.request_body; content:"name=poc"; http.request_body; content:"field_name="; http.request_body; content:"name=poc-test"; reference:url,poc.griffinguard.io/cve/CVE-2026-124827; classtype:web-application-attack; sid:9468668; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /{var}/login/
title: djangoproject Django exploit attempt (CVE-2026-124827)
id: gg-pocmon-cve-2026-124827-9529786
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-124827. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-124827
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/login/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.124827
GET /{var}/{var}/{var}/add/
title: djangoproject Django exploit attempt (CVE-2026-124827)
id: gg-pocmon-cve-2026-124827-9288684
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-124827. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-124827
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/add/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.124827
POST /{var}/login/
title: djangoproject Django exploit attempt (CVE-2026-124827)
id: gg-pocmon-cve-2026-124827-9880394
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-124827. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-124827
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/login/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.124827
POST /{var}/{var}/{var}/add/
title: djangoproject Django exploit attempt (CVE-2026-124827)
id: gg-pocmon-cve-2026-124827-9468668
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-124827. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-124827
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/add/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.124827