nday
CVE-2026-61599 GHSA-7prp-2623-8g45

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

djust-org / djust

Fecha de divulgación: . Versión corregida: djust 1.0.7. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N, PR:N, UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
network
AV:N in 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 (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
PyPI
GHSA-7prp-2623-8g45: pip packages djust
etapa
PAT
divulgación
cvss
8.8 HIGH v4.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
09-16T22:11Z
PATparcheada
djust 1.0.7
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, 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 = "<any.importable.module>.AnyName" and cause the server to import — and execute the top-level code of — any importable Python module by name. Version 1.0.7 fixes the issue with 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). As a workaround, 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.)

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 8.8, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 19127,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-61599",
  "occurred_at": "2026-09-16T22:11:45.78Z",
  "observed_at": "2026-11-12T15:03:42.190415Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "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",
      "version": "4.0",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-09-17T13:21:13.251135Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-09-16T22:11:45.780Z",
    "assigner_short_name": "GitHub_M"
  }
}
se desconocela fuente no indica fecha
+PATparche registrado

Versión corregida según el aviso: djust 1.0.7. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-7prp-2623-8g45 · nday , importación masiva · en bruto
{
  "id": 18919,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-7prp-2623-8g45",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-7prp-2623-8g45",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 8.8,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Use of Externally-Controlled Input to Select Classes or Code",
        "cwe_id": "CWE-470"
      }
    ],
    "ghsa_id": "GHSA-7prp-2623-8g45",
    "packages": [
      {
        "name": "djust",
        "ecosystem": "pip",
        "first_patched_version": "1.0.7",
        "vulnerable_version_range": "< 1.0.7"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/djust-org/djust/security/advisories/GHSA-7prp-2623-8g45",
      "https://github.com/djust-org/djust/releases/tag/v1.0.7",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-61599",
      "https://github.com/djust-org/djust/commit/04985e2f6a69faf265fc512b323d28adaa15c3ff",
      "https://github.com/advisories/GHSA-7prp-2623-8g45",
      "https://github.com/djust-org/djust",
      "https://github.com/pypa/advisory-database/tree/main/vulns/djust/PYSEC-2026-4038.yaml",
      "https://pypi.org/project/djust"
    ],
    "fix_commit_urls": [
      "https://github.com/djust-org/djust/commit/04985e2f6a69faf265fc512b323d28adaa15c3ff"
    ],
    "github_reviewed_at": "2026-09-16T22:09:38Z",
    "advisory_updated_at": "2026-11-05T23:01:11Z",
    "source_code_location": "https://github.com/djust-org/djust",
    "advisory_published_at": "2026-09-16T22:09:38Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.