Source: python-django
Version: 3:5.2.19-1
X-Debbugs-CC: [email protected]
Severity: grave
Tags: security upstream

Hi,

The following vulnerabilities were published for python-django.

CVE-2026-115868[0]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20. The `truncatechars_html` template
| filter and the `django.utils.text.Truncator.chars()` method (with
| `html=True`) are subject to a potential cross-site scripting (XSS)
| attack when certain inputs whose text length matches the truncation
| length are processed and rendered in an HTML attribute. Earlier,
| unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not
| evaluated and may also be affected. Django would like to thank
| JoeCyberTech for reporting this issue.


CVE-2026-119642[1]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20. The admin changelist allows staff
| users with view permission on a registered model with a custom
| `OneToOneField` primary key to enumerate related model data via
| repeated lookup searches using the "pk" alias in the query string.
| Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x)
| were not evaluated and may also be affected. Django would like to
| thank JoeCyberTech for reporting this issue.


CVE-2026-124827[2]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20.
| `django.contrib.gis.db.models.RasterField` allows the creation of
| files at attacker-controlled locations via the `name` parameter of a
| data definition. Depending on the raster driver, this could enable
| remote code execution. Earlier, unsupported Django series (such as
| 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be
| affected. Django would like to thank Mohammed Fathy for reporting
| this issue.


CVE-2026-125673[3]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20.
| `django.middleware.cache.UpdateCacheMiddleware` and
| `django.views.decorators.cache.cache_page()` are affected by a bug
| in `django.http.HttpRequest.build_absolute_uri()`, which incorrectly
| normalizes request paths containing `.` or `..` segments.  Under
| certain deployment and URL configurations, this allows an
| unauthenticated attacker to poison the cache, causing cached
| responses to be served for unintended URLs. Earlier, unsupported
| Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated
| and may also be affected. Django would like to thank 4drez for
| reporting this issue.


CVE-2026-127929[4]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20. The admin changelist allows staff
| users with view permission on a registered model to enumerate model
| values via repeated lookup searches using crafted query strings that
| reference reverse relations. Exploitation requires knowledge of
| related model names or `ForeignKey.related_query_name` overrides.
| Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x)
| were not evaluated and may also be affected. Django would like to
| thank OpenAI for reporting this issue.


CVE-2026-132092[5]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20. The `range` and `in` lookups are
| subject to SQL injection in a query involving aliases or key
| transforms containing percent signs. Earlier, unsupported Django
| series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may
| also be affected. Django would like to thank Cristian Panaro for
| reporting this issue.


CVE-2026-132809[6]:
| An issue was discovered in Django 6.1 before 6.1.4, 6.0 before
| 6.0.11, and 5.2 before 5.2.20.
| `django.contrib.gis.gdal.OGRGeometry.wkb` allocates an undersized
| buffer for geometries larger than 4GB on 64-bit platforms, which can
| cause service degradation when GDAL subsequently writes  to it.
| Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x)
| were not evaluated and may also be affected. Django would like to
| thank Zhixi "Jace" Sun for reporting this issue.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-115868
    https://www.cve.org/CVERecord?id=CVE-2026-115868
[1] https://security-tracker.debian.org/tracker/CVE-2026-119642
    https://www.cve.org/CVERecord?id=CVE-2026-119642
[2] https://security-tracker.debian.org/tracker/CVE-2026-124827
    https://www.cve.org/CVERecord?id=CVE-2026-124827
[3] https://security-tracker.debian.org/tracker/CVE-2026-125673
    https://www.cve.org/CVERecord?id=CVE-2026-125673
[4] https://security-tracker.debian.org/tracker/CVE-2026-127929
    https://www.cve.org/CVERecord?id=CVE-2026-127929
[5] https://security-tracker.debian.org/tracker/CVE-2026-132092
    https://www.cve.org/CVERecord?id=CVE-2026-132092
[6] https://security-tracker.debian.org/tracker/CVE-2026-132809
    https://www.cve.org/CVERecord?id=CVE-2026-132809
[7] https://www.djangoproject.com/weblog/2026/dec/02/security-releases/

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to