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-2021-35042

67
FAUCET Score

CVE-2021-35042 is a critical SQL injection vulnerability affecting Django versions 3.1.x before 3.1.13 and 3.2.x before 3.2.5, specifically within the QuerySet.order_by function when handling untrusted client input. With a CVSS score of 9.8, this vulnerability allows unauthenticated attackers to execute arbitrary SQL commands, leading to full compromise of confidentiality, integrity, and availability. Despite its severity and high EPSS score, there is currently no evidence of active exploitation, publicly available exploit code, or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.1, < 3.1.13CPE matchmatch criteria
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 3.2, < 3.2.5CPE matchmatch criteria
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
34CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

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

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

Exploit Intelligence

EPSS Score
44.37%
Probability of exploitation in next 30 days
EPSS Percentile
98.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
Nuclei: CVE-2021-35042 · Dec 23, 2025
This CVE's current EPSS score of 0.4437 is in the 96th percentile among its peer group of 36,897 CVEs.

Social Chatter

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

Media Mentions

No media coverage found for this CVE.

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

Remediation

Patch Available

Vendor Patches (2)

pippatch availablevia ghsa
Product: DjangoFixed in: 3.2.5
pippatch availablevia ghsa
Product: DjangoFixed in: 3.1.13

Vendor Advisories (2)

pipGHSA-xpfp-f569-q3p2critical

SQL Injection in Django

Sep 22, 2021
redhatCVE-2021-35042Important

django: potential SQL injection via unsanitized QuerySet.order_by() input

Jul 1, 2021

References

docs.djangoproject.com / en/3.2/releases/security
PatchVendor Advisory
groups.google.com / forum
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y
security.netapp.com / advisory/ntap-20210805-0008
Third Party Advisory
djangoproject.com / weblog/2021/jul/01/security-releases
PatchVendor Advisory
openwall.com / lists/oss-security/2021/07/02/2
Mailing ListPatchThird Party Advisory