Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-1312

30
FAUCET Score

CVE-2026-1312 is a SQL injection vulnerability affecting Django versions 6.0.x (before 6.0.2), 5.2.x (before 5.2.11), and 4.2.x (before 4.2.28). This flaw arises in .QuerySet.order_by() when column aliases containing periods are used with dictionary expansion in FilteredRelation. Rated Medium severity (CVSS 5.4), this vulnerability has a network attack vector and low attack complexity, allowing an authenticated attacker to achieve partial confidentiality and integrity impacts without user interaction. The FAUCET Risk Score is high at 82/100, indicating significant potential risk. Currently, there is no evidence of active exploitation, and no public exploit code (Metasploit, Nuclei, ExploitDB) is available. Despite this, the vulnerability has garnered some community discussion and media coverage, suggesting awareness within the cybersecurity community.

Impacted Technologies

VendorProductVersion(s)CPE
>= 4.2, < 4.2.28CPE matchmatch criteria
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 5.2, < 5.2.11CPE matchmatch criteria
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 6.0, < 6.0.2CPE matchmatch criteria
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.4MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
2.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.80%
Probability of exploitation in next 30 days
EPSS Percentile
52.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0080 is in the 50th percentile among its peer group of 1,162 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (13)

pippatch availablevia ghsa
Product: DjangoFixed in: 6.0.2
pippatch availablevia ghsa
Product: DjangoFixed in: 5.2.11
pippatch availablevia ghsa
Product: DjangoFixed in: 4.2.28
redhatpatch availablevia redhat_api
Product: Red Hat Discovery 2Fixed in: discovery/discovery-server-rhel9:sha256:cdf9b1062c961f67ee4f5dd3e23b26420517f884a51d2034efacff6847d47b5f
View patch
redhatno patchvia redhat_api
Product: Red Hat Satellite 6Fixed in: satellite/iop-advisor-backend-rhel9
redhatno patchvia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: automation-controller
redhatno patchvia redhat_api
Product: Red Hat OpenStack Platform 16.2Fixed in: python-django20
redhatno patchvia redhat_api
Product: Red Hat Satellite 6Fixed in: python-django
redhatno patchvia redhat_api
Product: Red Hat Satellite 6Fixed in: satellite-capsule:el8/python-django
redhatend of lifevia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: ansible-automation-platform-24/lightspeed-rhel8
redhatend of lifevia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: ansible-automation-platform-26/lightspeed-rhel9
redhatend of lifevia redhat_api
Product: Red Hat Update Infrastructure 4 for Cloud ProvidersFixed in: python-django
redhatend of lifevia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: ansible-automation-platform-25/lightspeed-rhel8

Vendor Advisories (2)

pipGHSA-6426-9fv3-65x8medium

Django has an SQL Injection issue

Feb 3, 2026
redhatCVE-2026-1312Important

Django: Django: SQL injection via crafted column aliases in QuerySet.order_by()

Feb 3, 2026

References

access.redhat.com / errata/RHSA-2026:14835
access.redhat.com / errata/RHSA-2026:2694
access.redhat.com / errata/RHSA-2026:3958
access.redhat.com / errata/RHSA-2026:3959
access.redhat.com / errata/RHSA-2026:3960
access.redhat.com / errata/RHSA-2026:3962
access.redhat.com / errata/RHSA-2026:5970
access.redhat.com / errata/RHSA-2026:5971
access.redhat.com / errata/RHSA-2026:6291
access.redhat.com / security/cve/CVE-2026-1312
bugzilla.redhat.com / show_bug.cgi
security.access.redhat.com / data/csaf/v2/vex/2026/cve-2026-1312.json
docs.djangoproject.com / en/dev/releases/security
PatchVendor Advisory
groups.google.com / g/django-announce
Release Notes
djangoproject.com / weblog/2026/feb/03/security-releases
PatchVendor Advisory