Exposure of Resource to Wrong Sphere Affecting djust package, versions [,1.0.7)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (27th 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 Exposure of Resource to Wrong Sphere vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJUST-20158897
  • published27 Sept 2026
  • disclosed16 Sept 2026
  • creditUnknown

Introduced: 16 Sep 2026

NewCVE-2026-61590  (opens in a new tab)
CWE-306  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade djust to version 1.0.7 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 Exposure of Resource to Wrong Sphere through the eval_handler process. An attacker can access live application state and execute remote method invocations by sending requests to network-exposed observability endpoints when the application is running with DEBUG enabled and the localhost restriction middleware is not installed. This is only exploitable if DEBUG is enabled and the localhost restriction middleware is omitted from the configuration.

Workaround

This vulnerability can be mitigated by setting DEBUG=False in production and restricting access to observability endpoints from untrusted networks.

CVSS Base Scores

version 4.0
version 3.1