目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-129919— Kunai挂载命名空间缓存TOCTOU漏洞

一分钟漏洞结论

影响对象
kunai-project Kunai
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Kunai 是一款安全监控工具,其挂载命名空间(mnt ns)缓存逻辑中存在一个“检查时间到使用时间”(TOCTOU,Time-of-Check to Time-of-Use)竞态条件漏洞。 在解析引用特定进程 PID 和预期挂载命名空间的安全事件时, 函数会读取 以确定目标命名空间,并将结果缓存到预期命名空间的键下,但并未验证实际解析出的命名空间是否与预期的命名空间一致。 拥有本地访问权限的攻击者可以通过以下两种方式利用该漏洞: 1. 在 Kunai 解析之前,安排被引用的 PID 被另一个位于不同命名空间(例如

CVSS 2.0 · Low

可能的 ATT&CK 技术 1 AI

T1562.008

影响版本矩阵 1

厂商产品 版本范围状态
kunai-project Kunai ≤ 0.6.2 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-129919 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Kunai Mount Namespace Cache TOCTOU Allows Incorrect Event Resolution Against Host Files
来源: CVE Program / CVE List V5
Vulnerability Description
Kunai, a security monitoring tool, contains a time-of-check to time-of-use (TOCTOU) race condition in its mount namespace (mnt ns) caching logic. When resolving a security event that references a specific process PID and an expected mount namespace, the Switcher::new function read /proc/<pid>/ns/mnt to determine the target namespace and cached the result under the expected namespace key without verifying that the resolved namespace actually matched the expected one. An attacker with local access could exploit this by either (1) arranging for the referenced PID to be reused by a process in a different namespace (e.g., the host namespace) before Kunai resolves it, or (2) calling unshare or setns on the target process after the event is generated but before the namespace is resolved. In either case, the wrong namespace (potentially the host's own namespace) would be cached under the container's namespace key. The security impact is that subsequent container security events would be resolved against host filesystem paths rather than container paths. This undermines the integrity of the security monitoring data: container activity could be misattributed to the host, host activity could be misattributed to a container, and file-path-based detections or alerts would reference incorrect paths. An attacker could potentially use this to obscure malicious activity within a container by making it appear as benign host activity, or to generate misleading security alerts. The vulnerability requires local access to the system and a specific timing window between event generation and namespace resolution. No remote attack vector or user interaction is required.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
kunai-project Kunai 0 ~ 0.6.2 cpe:2.3:a:kunai-project:kunai:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-129919 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-129919 的情报信息

请登录查看更多情报信息。

CVE-2026-129919 补丁与修复 (1)

IV. Related Vulnerabilities