Authorization Bypass Through User-Controlled Key Affecting django package, versions [,5.2.18)[6.0a1,6.0.9)[6.1a1,6.1.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-20825028
  • published11 Oct 2026
  • disclosed8 Oct 2026
  • creditSeonggwon Yoon

Introduced: 8 Oct 2026

NewCVE-2026-87975  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade Django to version 5.2.18, 6.0.9, 6.1.2 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through forged model formset submissions. An attacker can delete objects outside the formset’s limiting queryset by submitting POST data that supplies an editable primary key for a newly constructed instance and marks it for deletion. This lets an authenticated user with permission to submit the formset remove rows they are not authorized to target, while models with the default AutoField primary key are not affected.

CVSS Base Scores

version 4.0
version 3.1