{"id":"CVE-2025-57833","sourceIdentifier":"cve@mitre.org","published":"2025-09-03T21:15:32.850","lastModified":"2026-06-17T09:43:30.480","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias()."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"djangoproject","product":"Django","defaultStatus":"unknown","versions":[{"version":"4.2","lessThan":"4.2.24","versionType":"custom","status":"affected"},{"version":"5.1","lessThan":"5.1.12","versionType":"custom","status":"affected"},{"version":"5.2","lessThan":"5.2.6","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":4.7},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-09-08T17:33:03.859285Z","id":"CVE-2025-57833","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"cve@mitre.org","type":"Secondary","description":[{"lang":"en","value":"CWE-89"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"4.2.24","matchCriteriaId":"A8AFD075-AE35-4858-BF22-90D1348C0735"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.1.12","matchCriteriaId":"DA2EA6B6-573E-418A-947D-FA03259A3A76"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.2.6","matchCriteriaId":"4CC8315E-9EB1-4635-944B-61C32B8244A1"}]}]}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://groups.google.com/g/django-announce","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.djangoproject.com/weblog/2025/sep/03/security-releases/","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/03/3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00017.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}