# GHSA-F795-P5JW-J6G2: 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

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-09-16
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-61592](https://cve.now/CVE-2026-61592.md): djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance

## Also published as

- [PYSEC-2026-4043](https://cve.now/PYSEC-2026-4043.md) (PyPA)

## Affected versions

- djust (PyPI): fixed in 1.0.7

## Description

### 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.

## References

- https://github.com/djust-org/djust/security/advisories/GHSA-f795-p5jw-j6g2
- https://github.com/djust-org/djust
- https://github.com/djust-org/djust/releases/tag/v1.0.7

Page: https://cve.now/GHSA-F795-P5JW-J6G2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
