Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 496
Alerts This Week
Warning Icon 1 496

Ubuntu 25.04: Django Important SQL Injection and Info Disclosure USN-7794-1

ubuntu
Calendar Grey October 1, 2025
Scroller Ubuntu
Critical updates for python-django in Ubuntu fix potential SQL injection and information disclosure. Act now!
Several security issues were fixed in Django.

Summary

Several security issues were fixed in Django.

Software Description:

- python-django: High-level Python web development framework

Details:

It was discovered that Django incorrectly handled special characters in the

QuerySet function calls. A remote attacker could possibly use this issue to

perform SQL injection attacks. (CVE-2025-59681)

It was discovered that Django incorrectly handled files with the same path

prefix when starting with a template. An attacker could possibly use this

issue to obtain sensitive information. (CVE-2025-59682)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 25.04
  python3-django                  3:4.2.18-1ubuntu1.5

Ubuntu 24.04 LTS
  python3-django                  3:4.2.11-1ubuntu1.11

Ubuntu 22.04 LTS
  python3-django                  2:3.2.12-2ubuntu1.22

Ubuntu 20.04 LTS
  python3-django                  2:2.2.12-1ubuntu0.29+esm4
                                  Available with Ubuntu Pro

Ubuntu 18.04 LTS
  python-django                   1:1.11.11-1ubuntu1.21+esm12
                                  Available with Ubuntu Pro
  python3-django                  1:1.11.11-1ubuntu1.21+esm12
                                  Available with Ubuntu Pro

Ubuntu 16.04 LTS
  python-django                   1.8.7-1ubuntu5.15+esm9
                                  Available with Ubuntu Pro
  python3-django                  1.8.7-1ubuntu5.15+esm9
                                  Available with Ubuntu Pro

Ubuntu 14.04 LTS
  python-django                   1.6.11-0ubuntu1.3+esm8
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-7794-1

CVE-2025-59681, CVE-2025-59682

Severity
important
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7794-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.