CVE-2026-13602: Django Session Mass Assignment

Writing arbitrary keys to the Django session dictionary from an external or dynamically generated dictionary without validation. This can lead to session mass-assignment, enabling an attacker to overwrite sensitive session variables such as user IDs or authentication credentials. Verify the source of the dictionary, and preferably set specific, statically st

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-13602-django-session-mass-assignment --engine opengrep

Description

Writing arbitrary keys to the Django session dictionary from an external or dynamically generated dictionary without validation. This can lead to session mass-assignment, enabling an attacker to overwrite sensitive session variables such as user IDs or authentication credentials. Verify the source of the dictionary, and preferably set specific, statically st