6.5 CVE-2026-35192

Enriched by CISA
 

An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. Response headers do not vary on cookies if a session is not modified, but `SESSION_SAVE_EVERY_REQUEST` is `True`. A remote attacker can steal a user's session after that user visits a cached public page. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Cantina for reporting this issue.
https://nvd.nist.gov/vuln/detail/CVE-2026-35192

Categories

CWE-539 : Use of Persistent Cookies Containing Sensitive Information
Cookies are small bits of data that are sent by the web application but stored locally in the browser. This lets the application use the cookie to pass information between pages and store variable information. The web application controls what information is stored in a cookie and how it is used. Typical types of information stored in cookies are session identifiers, personalization and customization information, and in rare cases even usernames to enable automated logins. There are two different types of cookies: session cookies and persistent cookies. Session cookies just live in the browser's memory and are not stored anywhere, but persistent cookies are stored on the browser's hard drive. This can cause security and privacy issues depending on the information stored in the cookie and how it is accessed.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
djangoproject Django
  • 6.0 < 6.0.5 [affected]
  • 6.0.5 [unaffected]
  • 5.2 < 5.2.14 [affected]
  • 5.2.14 [unaffected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end
Configuration 1
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* >= 5.2 < 5.2.14
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* >= 6.0 < 6.0.5


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
21 Exploitation of Trusted Identifiers
High
31 Accessing/Intercepting/Modifying HTTP Cookies
High
39 Manipulating Opaque Client-based Data Tokens
Medium
59 Session Credential Falsification through Prediction
High
60 Reusing Session IDs (aka Session Replay)
High


MITRE


Techniques

id description
T1134 Access Token Manipulation
T1134.001 Access Token Manipulation:Token Impersonation/Theft
T1528 Steal Application Access Token
T1539 Steal Web Session Cookie
T1550.004 Use Alternate Authentication Material:Web Session Cookie
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

Mitigations

id description
M1018 An adversary must already have administrator level access on the local system to make full use of this technique; be sure to restrict users and accounts to the least privileges they require.
M1018 An adversary must already have administrator level access on the local system to make full use of this technique; be sure to restrict users and accounts to the least privileges they require.
M1017 Users need to be trained to not authorize third-party applications they don’t recognize. The user should pay particular attention to the redirect URL: if the URL is a misspelled or convoluted sequence of words related to an expected service or SaaS application, the website is likely trying to spoof a legitimate service. Users should also be cautious about the permissions they are granting to apps. For example, offline access and access to read emails should excite higher suspicions because adversaries can utilize SaaS APIs to discover credentials and other sensitive communications.
M1017 Train users to identify aspects of phishing attempts where they're asked to enter credentials into a site that has the incorrect domain for the application they are logging into. Additionally, train users not to run untrusted JavaScript in their browser, such as by copying and pasting code or dragging and dropping bookmarklets.
M1054 Configure browsers or tasks to regularly delete persistent cookies.
© 2022 The MITRE Corporation. Esta obra se reproduce y distribuye con el permiso de The MITRE Corporation.