Django -- multiple vulnerabilities
· CVE-2025-59681, CVE-2025-59682 · VuXML entry
Django reports: CVE-2025-59681: Potential SQL injection in QuerySet.annotate(), alias(), aggregate(), and extra() on MySQL and MariaDB. CVE-2025-59682: Potential partial directory-traversal via archive.extract().
Affected versions
- py39-django42, py310-django42, py311-django42 < 4.2.25
- py310-django51, py311-django51 < 5.1.13
- py310-django52, py311-django52 < 5.2.7
By system
2 still vulnerable, 0 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | www/py-django42 | 4.2.23 | vulnerable since 2025-10-02 | |
| MidnightBSD | www/py-django42 | 4.2.16_1 | in range, by version | |
| DragonFly | www/py-django51 | 5.1.11 | vulnerable since 2025-10-02 |