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

披露于 。已有补丁记录,修复版本是 djust 1.0.7。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 攻击途径远程未授权网络无需认证无需用户交互 软件包生态PyPI
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

远程未授权
编号分配方 GitHub_M 给出的 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)中的 AV:N、PR:N、UI:N
网络
编号分配方 GitHub_M 给出的 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)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 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)中的 PR:N
无需用户交互
编号分配方 GitHub_M 给出的 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)中的 UI:N
PyPI
GHSA-7prp-2623-8g45:pip 包 djust
当前阶段
PAT
披露
CVSS
8.8 HIGH v4.0

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
09-16T22:11Z
PAT补丁
djust 1.0.7
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

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.)

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:N
无:能否成功与目标的部署和运行条件无关
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

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 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 8.8,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "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"
  }
}
时间未知来源未给出时间
+PAT补丁发布

公告给出修复版本 djust 1.0.7。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa GHSA-7prp-2623-8g45 · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。