Missing Authentication for Critical Function Affecting djust package, versions [,1.0.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authentication for Critical Function vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJUST-20158900
  • published27 Sept 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

CVE-2026-55571  (opens in a new tab)
CWE-285  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade djust to version 1.0.4 or higher.

Overview

djust is a Phoenix LiveView-style reactive components for Django with Rust-powered performance. Real-time UI updates over WebSocket, no JavaScript build step required.

Affected versions of this package are vulnerable to Missing Authentication for Critical Function through the handle_event process. An attacker can execute unauthorized event handler methods by maintaining an open WebSocket connection after receiving a redirect frame, thereby bypassing authentication and authorization checks. This is only exploitable if a non-browser WebSocket client is used and the attacker knows or can enumerate the view path and event names.

Workaround

This vulnerability can be mitigated by ensuring every event handler on a gated LiveView independently verifies the request user is authenticated and authorized, or by overriding the consumer's handle_mount to close the connection after emitting an auth redirect.

CVSS Base Scores

version 4.0
version 3.1