PYSEC-2026-631

    Dashboard / Vulnerabilities / PYSEC-2026-631

    PYSEC-2026-631

    Published: 2 Jul 2026Last Modified: 6 Jul 2026

    Summary: Open Redirect in django-spirit

    Details: django-spirit prior to version 0.12.3 is vulnerable to open redirect. In the /user/login endpoint, it doesn't check the value of the next parameter when the user is logged in and passes it directly to redirect which result to open redirect. This also affects /user/logout, /user/register, /user/login, /user/resend-activation.

    Affected packages

    Package

    Name: django-spirit

    Purl: pkg:pypi/django-spirit

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.12.3

    Affected versions

    0.1
    0.1.0-1
    0.1.1
    0.1.2
    0.1.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2026-631 | CVE-DB