{"id":"CVE-2025-57833","aliases":["BIT-django-2025-57833","GHSA-6w2r-r2m5-xq5w","PYSEC-2025-105"],"url":"https://o3.security/vulnerability/CVE-2025-57833","summary":"Django is subject to SQL injection through its column aliases","details":"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().","published":"2025-09-03T00:00:00Z","modified":"2026-07-15T10:14:46.820303118Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"4.2.24"},{"ecosystem":"PyPI","name":"django","fixedVersion":"5.1.12"},{"ecosystem":"PyPI","name":"django","fixedVersion":"5.2.6"}],"fix":null,"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/09/03/3"},{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/g/django-announce"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00017.html"},{"type":"WEB","url":"https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57833.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57833"},{"type":"ARTICLE","url":"https://www.djangoproject.com/weblog/2025/sep/03/security-releases/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T10:14:46.820303118Z"}}