KEVWire

Security intelligence, with context.

Response snapshot Nov 6, 2026, 00:56 UTC

Back to the wire
Permalink
VulnerabilityCVE-2026-61599

djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path

The djust live transport resolves the LiveView to mount from a client-supplied dotted path by calling import(module_path, ...)

At a glance

Exploited
Not known
Severity
8.8 High (CVSS 4.0)
Chance of exploitation
Not estimated
Sources
1 source

What to do

GitHub lists first patched versions: djust: 1.0.7. Confirm the affected range and upgrade guidance in the exact advisory.

Read GitHub-reviewed advisory GHSA-7prp-2623-8g45 (opens a new tab)

What happened

Impact

The djust live transport resolves the LiveView to mount from a client-supplied dotted path by calling import(module_path, ...) The module is imported — running its top-level code (import side effects) — *before* the framework checks that the resolved object is a LiveView subclass and *before* any per-view authentication.

The LIVEVIEW_ALLOWED_MODULES allowlist that should contain this is fail-open (if allowed_modules: — skipped when the setting is unset, the framework default) and uses loose startswith matching.

An unauthenticated WebSocket client (the WS handshake does not require auth; per-view auth runs only after import + instantiate) can therefore send a mount / live_redirect_mount / url_change frame (or an SSE mount) with view = " .AnyName" and cause the server to import — and execute the top-level code of — any importable Python module by name.

Continue reading

Consequences: server-side execution of arbitrary importable modules' import-time side effects by an unauthenticated client (effectively RCE-by-proxy on any host that has a side-effectful importable module), denial of service (import bombs / expensive dependency trees), and a module/class enumeration oracle via distinct error strings.

Reproduced end-to-end: an unauthenticated WebsocketCommunicator mount frame with the allowlist unset imported and executed a sentinel non-LiveView module before the "not a LiveView subclass" rejection.

Affected code

- python/djust/websocket.py handle_mount (import of the client view) - python/djust/runtime.py ViewRuntime.dispatch_mount / _instantiate_view (SSE + url_change path) - python/djust/sse.py SSE mount

Threat-model entry T4 (docs/audits/websocket-auth-2026-06.md) previously noted the default-open allowlist but understated the impact as mere LiveView-class probing; the real primitive is arbitrary-module import + top-level code execution, independent of whether the target is a LiveView.

Patches

Fixed by a fail-closed resolution gate (djust._view_resolution.is_view_import_allowed): a client view path resolves only if (a) its module is already loaded (sys.modules — so resolving runs no new code; URL-routed views loaded by URLconf at startup keep working with zero config) or (b) it matches LIVEVIEW_ALLOWED_MODULES on a module-segment boundary (explicit opt-in for lazily-imported views).

The gate runs before import at all three sinks (+ defense-in-depth inside _instantiate_view).

Workarounds

Set LIVEVIEW_ALLOWED_MODULES to the narrow list of modules that contain your mountable LiveView classes. (Note: pre-patch the allowlist is startswith-matched and the import still precedes the subclass check, so this is mitigation, not a complete fix.)

References

Reproducer + finding writeup retained privately by the maintainer.

Affected package ranges reported by GitHub: djust: < 1.0.7

Scores and how they were measured

CVSS base severity

8.8

Version 4.0As of

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Measurement source (opens a new tab)

How bad it is if exploited. Not a prediction of exploitation or proof you are exposed.

EPSS probability

Not available

A model's estimate of exploitation in the next 30 days, not certainty or your own risk.

Related technology

Sources

  1. Primary source

    GitHub-reviewed advisory GHSA-7prp-2623-8g45 (opens a new tab)

    The public advisory supplies the description, affected package/version ranges, and any listed CVSS metric. GitHub review is not local review.

    Published Checked

  2. Primary source

    GitHub public advisory API page (opens a new tab)

    The API page supplied GHSA-7prp-2623-8g45, its actual identifiers, source dates, and structured metrics.

    Published Date not suppliedChecked

Cite this record

For factual claims, cite the primary sources above; cite KEVWire for its compilation, dates, and classifications.

APA

KEVWire. (2026, November 5). djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path (CVE-2026-61599). https://kevwire.com/record/CVE-2026-61599

MLA

"djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path (CVE-2026-61599)." KEVWire, 5 Nov. 2026, kevwire.com/record/CVE-2026-61599.

Chicago

KEVWire. "djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path (CVE-2026-61599)." Last modified November 5, 2026. https://kevwire.com/record/CVE-2026-61599.

Evidence summary (plain text)

djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path (Sep 16, 2026).
The djust live transport resolves the LiveView to mount from a client-supplied dotted path by calling import(module_path, ...). The module is imported — running its top-level code (import side effects) — *before* the framework checks that the resolved object is a LiveView subclass and *before* any per-view authentication. The LIVEVIEW_ALLOWED_MODULES allowlist that should contain this is fail-open (if allowed_modules: — skipped when the setting is unset, the framework default) and uses loose startswith matching.
CVSS 8.8 (version 4.0; evidence as of Nov 5, 2026; https://github.com/advisories/GHSA-7prp-2623-8g45).
Sources:
GitHub-reviewed advisory GHSA-7prp-2623-8g45: https://github.com/advisories/GHSA-7prp-2623-8g45
GitHub public advisory API page: https://api.github.com/advisories?type=reviewed&per_page=100&sort=updated&direction=desc
Record ID: CVE-2026-61599.
Record origin: Ingested record.
AI evidence: Not assessed.
Known exploitation: Not assessed.
Zero-day status: Not assessed. KEV membership alone does not establish zero-day status.
About this data

This record was ingested from a data source. Retrieved: Nov 6, 2026, 00:35 UTC. Ingestion is not an independent editorial investigation.

A CISA KEV listing documents known exploitation, not necessarily a zero-day; absence from the catalog does not prove a vulnerability has never been exploited.

Technology tags indicate possible relevance, not verified exposure. Confirm the affected product, version, and configuration against your own inventory; KEVWire does not scan your systems.

A personal reading checklist on this device, not verified remediation.

Record JSON

Your account

Email alerts

Email alerts are coming as part of KEVWire Premium: join the waitlist. To follow your stack today, use its RSS feed, which honors your filters, or connect an AI agent through the API.

Suggest an improvement

Ideas, missing sources, corrections, and bugs are all welcome. No account needed. Suggestions are reviewed by a person before anything changes.

Record details

Record detail