{"cve":"CVE-2025-57833","nvd":{"published":"2025-09-03T21:15:32.850","modified":"2026-06-17T09:43:30.480","status":"Modified","description":"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().","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-89"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898","https://www.djangoproject.com/weblog/2025/sep/03/security-releases/","http://www.openwall.com/lists/oss-security/2025/09/03/3"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2025-57833","score":0.26106,"percentile":0.97991,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6w2r-r2m5-xq5w","url":"https://osv.dev/vulnerability/GHSA-6w2r-r2m5-xq5w","summary":"Django is subject to SQL injection through its column aliases","modified":"2026-09-10T03:50:27.987884944Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<4.2.24"],"fixed":["4.2.24"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.0a1 <5.1.12"],"fixed":["5.1.12"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2a1 <5.2.6"],"fixed":["5.2.6"]}]},{"id":"PYSEC-2025-105","url":"https://osv.dev/vulnerability/PYSEC-2025-105","summary":"","modified":"2026-06-10T17:01:10.893593582Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.24",">=5.1 <5.1.12",">=5.2 <5.2.6"],"fixed":["4.2.24","5.1.12","5.2.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}