# PYSEC-2026-4043: 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: PyPA
- Published: 2026-10-01
- 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

- [GHSA-F795-P5JW-J6G2](https://cve.now/GHSA-F795-P5JW-J6G2.md) (GitHub)

## 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
- https://pypi.org/project/djust
- https://github.com/advisories/GHSA-f795-p5jw-j6g2
- https://nvd.nist.gov/vuln/detail/CVE-2026-61592

Page: https://cve.now/PYSEC-2026-4043

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