nday
CVE-2026-7774

tarfile.data_filter path traversal bypass allows writing outside the extraction directory

Python Software Foundation / CPython

披露后第 140 天出现技术分析。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型path traversal 攻击途径网络无需认证 产品Python (CPython) 产品类型开源库/框架
这些标签的依据

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

path traversal
CWE-22(来源:编号分配方 PSF、NVD(转录自 [email protected]))
网络
编号分配方 PSF 给出的 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N(CVSS 4.0)中的 AV:N
无需认证
编号分配方 PSF 给出的 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N(CVSS 4.0)中的 PR:N
Python (CPython)
CVE 记录列出的受影响产品:Python Software Foundation · CPython
开源库/框架
CVE 记录列出的受影响产品:Python Software Foundation · CPythonnday 产品登记表中 Python (CPython) 的产品类型
当前阶段
ANA
披露
CVSS
6.9 MEDIUM v4.0

生命周期

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

摘要

tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.

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

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:N
无:能否成功与目标的部署和运行条件无关
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:A
主动:须有用户特意执行特定操作,例如安装或运行文件、忽略安全警告

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

CVSS 4.0 向量,来自 CVE 记录,由 CNA PSF 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 PSF。CVSS 6.9,中危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 399475,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-7774",
  "occurred_at": "2026-06-04T14:21:23.904Z",
  "observed_at": "2026-11-13T05:39:26.860387Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 6.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-06-04T17:27:23.917872Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-06-04T14:21:23.904Z",
    "assigner_short_name": "PSF"
  }
}
+ANA技术分析

oss-security 邮件列表发帖:“CPython: [CVE-2026-114583] tarfile.tar_filter path traversal bypass allows writing outside the extraction directory”。

来源 osssec 2026/q4/335 · 本站 实时观测 · 原始记录
{
  "id": 495830,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/335",
  "occurred_at": "2026-10-22T22:46:13Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/335",
  "detail": {
    "list": "oss-security",
    "author": "Alan Coopersmith",
    "subject": "CPython: [CVE-2026-114583] tarfile.tar_filter path traversal bypass allows writing outside the extraction directory",
    "is_reply": false
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。