2084AI Security Observatory

CVE

CVE-2025-57833

CVE-2025-57833HIGH 8.1EPSS 98%

CNA 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().

Affected versions

All Django vulnerabilities →

  • django≥ 5.2a1, < 5.2.6Fixed in 5.2.6
  • django≥ 5.0a1, < 5.1.12Fixed in 5.1.12
  • django< 4.2.24Fixed in 4.2.24

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.