vulns.co
/
GKData.io MCP

Django Software Foundation · 1 min read

Django: ORM alias metadata must not acquire query authority

Django confirms CVE-2026-1312: application-controlled column aliases could cross from metadata into SQL structure when used across relation filtering and ordering. Exploitability requires an application to admit untrusted alias definitions into that ORM workflow; using Django alone does not establish exposure. The advisory establishes potential SQL injection, not observed production compromise.

Open the reference Maintainer 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 and provenance

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

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

GitHub snapshot 2026-10-04

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