nday
CVE-2026-61725 GHSA-qh76-45cr-8xrc

sevenz-rust2: unchecked 7z entry paths permit traversal and absolute-path file overwrites

hasenbanck / sevenz-rust2

披露后第 22 天出现公开 PoC。已有补丁记录,修复版本是 sevenz-rust2 0.21.1。PoC 来源中 github 已收录(1/4)。尚未列入 CISA KEV。

标签 漏洞类型path traversal 攻击途径本地无需认证 软件包生态crates.io
这些标签的依据

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

path traversal
CWE-22(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-qh76-45cr-8xrc)CWE-23(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-qh76-45cr-8xrc)
本地
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L(CVSS 3.1)中的 AV:L
无需认证
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L(CVSS 3.1)中的 PR:N
crates.io
GHSA-qh76-45cr-8xrc:rust 包 sevenz-rust2
当前阶段
POC
披露
披露到公开 PoC
T+22d POC 为日精度
CVSS
6.1 MEDIUM v3.1

生命周期

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

摘要

sevenz-rust2 is a Rust-native 7z compressor and decompressor. Prior to 0.21.1, extracting an attacker-supplied 7z archive can write or overwrite files outside the destination directory. In src/util/decompress.rs, decompress_impl computes each destination with dest.join(entry.name()) without normalizing the archive's UTF-16 entry name or verifying containment, and default_entry_extract_fn writes to it with File::create. Parent-directory components escape the extraction root, and an absolute entry path makes the join discard the destination entirely. The convenience entry points decompress, decompress_file, decompress_with_password, and decompress_file_with_password all use this default path. Overwriting writable configuration, startup, cron, or build files can lead to code execution or persistence. The archive bytes are the attacker-controlled trust boundary, including for applications that automatically unpack uploaded or otherwise untrusted archives. This issue is fixed in version 0.21.1.

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

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:L
本地:需要本地或 SSH 会话,或诱使用户在本机上操作
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:R
需要:须有用户执行某个操作,例如打开文件或点击链接

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 6.1,中危。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 435821,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-61725",
  "occurred_at": "2026-10-30T22:10:55.526Z",
  "observed_at": "2026-11-13T05:39:59.948488Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L",
      "version": "3.1",
      "base_score": 6.1,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-02T14:45:51.198089Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T22:10:55.526Z",
    "assigner_short_name": "GitHub_M"
  }
}
来源未给时间,本站实时观测
+PAT补丁发布

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

来源 ghsa GHSA-qh76-45cr-8xrc · 本站 实时观测 · 原始记录
{
  "id": 498423,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-qh76-45cr-8xrc",
  "occurred_at": null,
  "observed_at": "2026-11-21T00:03:22.984947Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-qh76-45cr-8xrc",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.1,
        "vector_string": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Relative Path Traversal",
        "cwe_id": "CWE-23"
      }
    ],
    "ghsa_id": "GHSA-qh76-45cr-8xrc",
    "packages": [
      {
        "name": "sevenz-rust2",
        "ecosystem": "rust",
        "first_patched_version": "0.21.1",
        "vulnerable_version_range": "< 0.21.1"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/hasenbanck/sevenz-rust2/security/advisories/GHSA-qh76-45cr-8xrc",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-61725",
      "https://github.com/hasenbanck/sevenz-rust2/commit/ef760b61f3535ac8b93006212aef41bfebc237eb",
      "https://github.com/advisories/GHSA-qh76-45cr-8xrc"
    ],
    "fix_commit_urls": [
      "https://github.com/hasenbanck/sevenz-rust2/commit/ef760b61f3535ac8b93006212aef41bfebc237eb"
    ],
    "github_reviewed_at": "2026-11-20T23:33:14Z",
    "advisory_updated_at": "2026-11-20T23:33:15Z",
    "source_code_location": "https://github.com/hasenbanck/sevenz-rust2",
    "advisory_published_at": "2026-11-20T23:33:14Z"
  }
}
2026-11-21日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:googlesky/CVE-2026-61725。日期为仓库的创建日。

来源 github 1466027113 · 本站 实时观测 · 原始记录
{
  "id": 498456,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-61725",
  "occurred_at": "2026-11-21T00:15:28Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466027113",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-61725",
    "title": "googlesky/CVE-2026-61725",
    "precision": "day"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。