{"schemaVersion":3,"id":"CVE-2026-5766","aliases":["GHSA-w26r-rmm8-9c29","BIT-django-2026-5766","PYSEC-2026-54","UBUNTU-CVE-2026-5766","DEBIAN-CVE-2026-5766","CGA-48f5-fgg4-xm37","CGA-547q-qj4g-wqxm","CGA-87w4-x3c3-g79w","CGA-8mvr-g6h5-r2gm","CGA-f25j-xg2g-wx82","CGA-f3w9-6f4p-vvjp","CGA-fhx6-pph5-6x62","CGA-gw2q-rc5c-j3vh","CGA-qrp5-5f4p-56v2","CGA-w4xg-6r39-6jm7","CGA-2jff-342m-mmr4","CGA-4r56-6322-6vc5","CGA-58vx-g7wr-2p47","CGA-6r9m-2fp6-58pw","CGA-cp56-83pm-w54p","CGA-g855-577q-xfj5","CGA-pvxj-8q2g-5jhm","CGA-x85r-8p7w-6x78"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14.\nASGI requests with a missing or understated `Content-Length` header can bypass the `FILE_UPLOAD_MAX_MEMORY_SIZE` limit, potentially loading large files into memory and causing service degradation.\n\nAs a reminder, Django expects a limit to be configured at the web server level rather than solely relying on `FILE_UPLOAD_MAX_MEMORY_SIZE`.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Kyle Agronick for reporting this issue.","dates":{"published":"2026-05-05T14:49:19.715Z","modified":"2026-05-06T15:25:38.926Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00516,"percentile":0.43039,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.09299999999999994,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00423},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00516,"percentile":0.43039}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00516,"percentile":0.43039}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency","description":"The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/130.html"}],"affected":[{"vendor":"chainguard","product":"authentik-2025.12","name":"authentik-2025.12","label":"authentik-2025.12","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/authentik-2025.12","purlType":"apk","versions":[{"text":"< 2025.12.4-r9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2025.12.4-r9","eol":null,"hubHref":null},{"vendor":"chainguard","product":"authentik-2026.2","name":"authentik-2026.2","label":"authentik-2026.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/authentik-2026.2","purlType":"apk","versions":[{"text":"< 2026.2.1-r9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.2.1-r9","eol":null,"hubHref":null},{"vendor":"chainguard","product":"authentik-fips-2025.12","name":"authentik-fips-2025.12","label":"authentik-fips-2025.12","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/authentik-fips-2025.12","purlType":"apk","versions":[{"text":"< 2025.12.4-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2025.12.4-r7","eol":null,"hubHref":null},{"vendor":"chainguard","product":"authentik-fips-2026.2","name":"authentik-fips-2026.2","label":"authentik-fips-2026.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/authentik-fips-2026.2","purlType":"apk","versions":[{"text":"< 2026.2.1-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.2.1-r7","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-django","name":"py3-django","label":"py3-django","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-django","purlType":"apk","versions":[{"text":"< 6.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-django","name":"py3.12-django","label":"py3.12-django","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-django","purlType":"apk","versions":[{"text":"< 6.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.13-django","name":"py3.13-django","label":"py3.13-django","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.13-django","purlType":"apk","versions":[{"text":"< 6.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-django","name":"py3-django","label":"py3-django","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-django","purlType":"apk","versions":[{"text":"< 6.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3.12-django","name":"py3.12-django","label":"py3.12-django","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3.12-django","purlType":"apk","versions":[{"text":"< 6.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3.13-django","name":"py3.13-django","label":"py3.13-django","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3.13-django","purlType":"apk","versions":[{"text":"< 6.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.5-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3:5.2.14-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3:5.2.14-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-django","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2:3.2.12-2ubuntu1.27","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.2.11-1ubuntu1.16","noFixRecorded":false,"fixedIn":null},{"text":"< 3:5.2.4-1ubuntu2.5","noFixRecorded":false,"fixedIn":null},{"text":"< 3:5.2.9-0ubuntu4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2:3.2.12-2ubuntu1.27 | < 3:4.2.11-1ubuntu1.16 | < 3:5.2.4-1ubuntu2.5 | < 3:5.2.9-0ubuntu4.1","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.2, < 5.2.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.2, < 5.2.14 | ≥ 6.0, < 6.0.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 5.2, < 5.2.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.2, < 5.2.14 | ≥ 6.0, < 6.0.5","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","label":"docs.djangoproject.com/en/dev/releases/security/","hostname":"docs.djangoproject.com","tags":["Vendor Advisory","Advisory"]},{"url":"https://groups.google.com/g/django-announce","label":"groups.google.com/g/django-announce","hostname":"groups.google.com","tags":["Mailing List","WEB","Advisory","ARTICLE","Third Party Advisory"]},{"url":"https://www.djangoproject.com/weblog/2026/may/05/security-releases/","label":"www.djangoproject.com/weblog/2026/may/05/security-releases/","hostname":"www.djangoproject.com","tags":["Vendor Advisory","Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5766","label":"nvd.nist.gov/vuln/detail/CVE-2026-5766","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","label":"docs.djangoproject.com/en/dev/releases/security","hostname":"docs.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-54.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-54.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://www.djangoproject.com/weblog/2026/may/05/security-releases","label":"www.djangoproject.com/weblog/2026/may/05/security-releases","hostname":"www.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-w26r-rmm8-9c29","label":"github.com/advisories/GHSA-w26r-rmm8-9c29","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-5766","label":"ubuntu.com/security/CVE-2026-5766","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5766","label":"www.cve.org/CVERecord?id=CVE-2026-5766","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8232-1","label":"ubuntu.com/security/notices/USN-8232-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-5766","label":"security-tracker.debian.org/tracker/CVE-2026-5766","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/django/django/","label":"github.com/django/django/","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5766.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5766.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/Django/","label":"pypi.org/project/Django/","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10708-1","OPENSUSE-SU-2026:10709-1","OPENSUSE-SU-2026:10718-1","OPENSUSE-SU-2026:11270-1"],"duplicates":[],"related":["CGA-RP5J-5RCH-Q2RJ","OPENSUSE-SU-2026:10708-1","OPENSUSE-SU-2026:10709-1","OPENSUSE-SU-2026:10718-1","OPENSUSE-SU-2026:11270-1","USN-8232-1"]},"timeline":[{"kind":"published","date":"2026-05-05T14:49:19.715Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-06T15:25:38.926Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:43:45.866Z","stale":false,"partial":false}}