podman v5.8.2 版本更新介绍
发布日期: 2026-04-14
版本号: v5.8.2
本次更新修复了安全漏洞CVE-2026-33414,该漏洞影响Windows上使用Hyper-V后端的
podman machine init --image命令,可能导致在PowerShell会话中执行用户指定图像路径中的转义命令。同时解决了多个问题:包括启用podman-restart.service后设置了unless-stopped重启策略的容器在重启后无法自动启动、Quadlet配置文件中设置空Entrypoint=""无法清除容器入口点、包含双引号的HealthCmd命令导致健康检查失效,以及FreeBSD系统上检查使用host网络模式创建的容器时可能引发系统崩溃。API方面修复了Libpod系统检查端点返回400错误后仍使用错误数据操作、远程附加API因罕见竞争条件导致崩溃,以及使用shell驱动创建密钥时因默认驱动选项干扰导致功能异常的问题。此外,更新了Buildah至v1.43.1、containers/common库至v0.67.1和containers/image库至v5.39.2。
更新内容 (中文)
安全
- 本次版本修复了CVE-2026-33414漏洞:在Windows系统使用Hyper-V后端运行
podman machine init --image命令时,攻击者可通过用户指定的镜像路径在PowerShell会话中执行经过转义的命令(GHSA-hc8w-h2mf-hp59)。
错误修复
- 修复了当
podman-restart.service启用时,使用unless-stopped重启策略的容器在系统重启后无法自动重启的问题(#28152)。 - 修复了在Quadlet
.container文件中设置Entrypoint=""时未能清除容器入口点的问题(#28213)。 - 修复了在Quadlet
.container文件中将HealthCmd设置为包含双引号(")的命令时,因解析问题导致健康检查失效的问题(#28409)。 - 修复了FreeBSD系统检查使用
host网络模式创建的容器时可能出现系统崩溃的问题(#28289)。
API
- 修复了Libpod系统检查端点在返回400错误后仍可能使用错误数据执行操作的问题(#28350)。
- 修复了容器远程连接API(Libpod和Compat)可能因罕见的竞态条件导致崩溃的问题(#28277)。
- 修复了Secret创建API因错误添加默认驱动选项而无法使用
shell驱动创建有效密钥的问题。
杂项
- 将Buildah更新至v1.43.1版本
- 将containers/common库更新至v0.67.1版本
- 将containers/image库更新至v5.39.2版本
更新内容 (原始)
Security
- This release addresses CVE-2026-33414, where the
podman machine init --imagecommand when run on Windows using the Hyper-V backend can run PowerShell-escaped commands from the user-specified image path on in a PowerShell session on the host (GHSA-hc8w-h2mf-hp59).
Bugfixes
- Fixed a bug where containers with the
unless-stoppedrestart policy would not restart after a reboot whenpodman-restart.servicewas enabled (#28152). - Fixed a bug where setting
Entrypoint=""in a Quadlet.containerfile did not clear the container’s entrypoint (#28213). - Fixed a bug where setting a
HealthCmdin a Quadlet.containerfile to a command that included double-quotes (") would result in a nonfunctional healthcheck due to a parsing issue (#28409). - Fixed a bug where FreeBSD systems could panic when inspecting containers created with the
hostnetwork mode (#28289).
API
- Fixed a bug where the Libpod System Check endpoint could perform operations with bad data after returning a 400 error (#28350).
- Fixed a bug where the remote attach API for containers (Libpod & Compat) could panic due to a rare race condition (#28277).
- Fixed a bug where the Secret Create API could not create functional secrets using the
shelldriver due to options from the default driver being improperly added.
Misc
- Updated Buildah to v1.43.1
- Updated the containers/common library to v0.67.1
- Updated the containers/image library to v5.39.2
下载链接
- podman-5.8.2-setup.exe
- podman-installer-macos-amd64.pkg
- podman-installer-macos-arm64.pkg
- podman-installer-macos-universal.pkg
- podman-installer-windows-amd64.exe
- podman-installer-windows-amd64.msi
- podman-installer-windows-arm64.exe
- podman-installer-windows-arm64.msi
- podman-remote-release-darwin_amd64.zip
- podman-remote-release-darwin_arm64.zip
- podman-remote-release-windows_amd64.zip
- podman-remote-release-windows_arm64.zip
- podman-remote-static-linux_amd64.tar.gz
- podman-remote-static-linux_arm64.tar.gz
- shasums