vulns.co
/
GKData.io MCP and API Buy me a coffee

Django Software Foundation

Django: ORM alias metadata must not acquire query authority

Django's CVE-2026-1312 advisory describes column aliases being interpreted as SQL structure when combined with relation filtering and ordering. Exposure requires an application to accept untrusted alias definitions in that ORM workflow; using Django alone is not enough. The advisory establishes possible SQL injection, not a documented production compromise.

Open the referenceMaintainer AdvisoryReviewed 2026-10-03

How to use this reference

The official announcement identifies repaired releases 6.0.2, 5.2.11 and 4.2.28, issued February 3, 2026; release notes independently corroborate the 6.0.2 fix. Editorial lesson: distinguish query values from identifiers and structural metadata, constrain each according to its role, and preserve that contract when composing ORM features.

Before reading

  • ORM query composition and the distinction between bound values and SQL identifiers
  • Tracing application-controlled metadata across library interfaces

Context and limits

  • Solomon Kebede is the credited reporter; Jacob Walls authored the announcement. No bounty amount is established.
  • This resource covers CVE-2026-1312 only. Other issues in the same multi-issue announcement are not merged into its impact.
  • The reviewed announcement lists supported branches; it does not establish the status of every unsupported release.
  • No specific application data loss or universal remote exposure is demonstrated by the reviewed sources. Learning prerequisites and generalized design guidance are editorial.

Sources

  1. Django security releases issued: 6.0.2, 5.2.11, and 4.2.28Django Software Foundation · reviewed 2026-10-03
  2. Django 6.0.2 release notesDjango Software Foundation · reviewed 2026-10-03

Record reviewed 2026-10-03. Snapshot af2809c308fc. Open the complete JSON contract.

Library synced 2026-11-18 · cases last reviewed 2026-10-05

af2809c308fc · JSON exports & schemas · CC BY 4.0 content / MIT software