CVE-2026-1287 is a SQL injection vulnerability in Django affecting FilteredRelation alias handling. In Django 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28, control characters in a suitably crafted dictionary can be injected into column aliases when that dictionary is expanded as **kwargs into QuerySet methods including annotate(), aggregate(), extra(), values(), values_list(), and alias(). The flaw allows attacker-controlled input to influence generated SQL through column alias construction in FilteredRelation-related query generation. Unsupported Django branches such as 5.0.x, 4.1.x, and 3.2.x were not evaluated and may also be affected.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The reference identifies a network-accessible vulnerability with potentially high confidentiality and integrity impacts. It does not describe the underlying flaw or identify an affected product. The CVSS v3 and v4 vectors disagree on required privileges and availability impact.
A SQL injection vulnerability in Django via crafted column aliases.
A SQL injection vulnerability in Django via crafted column aliases.
A Django SQL injection vulnerability in `FilteredRelation` caused by crafted column aliases using control characters passed through dictionary-expanded `**kwargs` to multiple `QuerySet` methods.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.