Advisory

GHSA-f795-p5jw-j6g2

Also known as: CVE-2026-61592, PYSEC-2026-4043

Summary

djust: SSE sessions are not bound to the authenticated user; the client-chosen session_id is the sole authorization capability (session hijack)

Details

Impact
SSE sessions were keyed solely by a client-chosen session_id with no binding to the authenticated user — a control the WebSocket transport has but that was dropped on SSE. An attacker who learns (or a victim who leaks) a session_id could connect to the message endpoint and dispatch event handlers that execute with the victim's identity and state.

Patches
Fixed in djust 1.0.7. Each SSE session is bound to its owning principal at creation and cross-principal access is rejected; SSE session creation is additionally capped per principal.

Workarounds
Disable the SSE transport short of upgrading.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-16 21:53 UTC
Modified
2026-10-01 17:56 UTC

Affected packages and fixes

djust

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.7 (ecosystem)

Fixed versions

1.0.7

Fix

  • Fixed version 1.0.7
    pip install --upgrade djust==1.0.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences