cvedb.io
CVE-2025-59681
HIGH · CVSS 7.1
EPSS exploitation probability: 0%
Published 2025-10-01T19:15:36.487 · Last modified 2026-06-17T09:46:30.740

Summary

An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).

Affected products

djangoproject — django

Does this affect you?

Add your gear to cvedb and we'll alert you only when djangoproject ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.