Portainer 2.39.7 → 2.39.9
2 releases · 2 breaking changes · 31 security fixes · 0 advisories fixed
31security2breaking1deprecated4feature1fix
Breaking changes
- breaking curl removed from the kubectl shell image. curl and its libraries were removed from the kubectl shell image to cut the OS-package vulnerabilities they brought in. Anyone who runs commands or scripts in the kubectl shell that call curl now gets curl: not found. Use wget instead, which is still… in 2.39.9
- breaking Stacks can only use networks the user has access to. Non-administrators could previously attach containers and stacks to Docker networks they had no access to, which bypassed network access control. Now, a non-administrator's Compose or Swarm stack that uses such a network (as external, through… in 2.39.9
Security changes
- security Portainer no longer trusts TLS certificates issued by eMudhra (emSign), following the compromise of eight eMudhra intermediate CAs (CVE-2026-111943). Connections to services that present an affected certificate, including OAuth/OIDC and LDAPS providers, registries and Git hosts, will fail after… in 2.39.9
- security Fixed non-administrators being able to mount the Docker socket through the Compose use_api_socket option. The stack validator now rejects it when bind mounts are disabled for regular users in 2.39.9
- security Fixed the Compose stack validator skipping services that use profiles: and not checking include:. Non-administrator stack restrictions now apply to every service whatever its profile and include is rejected when bind mounts are disabled for regular users; in BE, the SSRF policy checks on… in 2.39.9
- security Fixed stack updates authorizing against a caller-chosen environment. PUT /stacks/{id}, POST /stacks/{id}/git and PUT /stacks/{id}/git/redeploy now return 403 when endpointId differs from the stack's own environment, so users can no longer update, re-source or redeploy stacks on environments they… in 2.39.9
- security Restricted joining Docker networks to users with access to them. Non-administrators can no longer attach to a network they cannot access through container create (HostConfig.NetworkMode, NetworkingConfig.EndpointsConfig), service create and update, image build (networkmode), or Compose and Swarm… in 2.39.9
- security Fixed Docker network connect and disconnect checking only the network in the URL. Non-administrators now also need access to the container named in the request body, so they can no longer connect or disconnect containers they cannot access in 2.39.9
- security Fixed Docker network authorization ignoring EndpointSettings.NetworkID. Container create and network connect now also check the network named by NetworkID, so non-administrators can no longer use it to join a network they cannot access in 2.39.9
- security Fixed Docker proxy access checks using the wrong resource ID when the URL has extra path segments. Container, network (including connect and disconnect) and volume requests with a slash in the ID, and config and secret updates, are now authorized against the full ID instead of being skipped or… in 2.39.9
- security Fixed the /websocket/attach and /websocket/exec endpoints bypassing container access control. Non-administrators can now attach to or exec into only the containers they can access, and are refused with a 403 otherwise in 2.39.9
- security Fixed PUT /endpoints/{id}/forceupdateservice skipping the service's resource control. Non-administrators can now force-update only the Swarm services they can access, and get a 404 for both inaccessible and missing services in 2.39.9
- security Fixed stack start and stop acting on a different environment from the one authorized. POST /stacks/{id}/start and POST /stacks/{id}/stop now return 403 when endpointId is not the stack's own environment, except for administrators (in BE, also edge administrators) acting on orphaned stacks, so… in 2.39.9
- security Stopped registry responses returning the stored access token Portainer holds for ECR. Every registry list, inspect, create and update response and the environment registries list now clear it, including for administrators, and non-administrators no longer receive AccessTokenExpiry either in 2.39.9
- security Fixed a bypass of the Hide bind mounts for non-administrators setting. When it is enabled, Compose files deployed by non-administrators can no longer reference host files outside the stack directory, for example in configs, secrets, env_file, build contexts or extends in 2.39.9
- security Rejected Compose and Swarm stacks using volumes_from when non-administrators create, update, start or redeploy them with Hide bind mounts for non-administrators enabled, which let them inherit another container's host bind mounts in 2.39.9
- security Updated the Go toolchain from 1.25.14 to 1.26.10, fixing CVE-2026-56857 and CVE-2026-78663 (both Critical), along with CVE-2026-111943, CVE-2026-97032, CVE-2026-97031, CVE-2026-94440, CVE-2026-94439, CVE-2026-78669, CVE-2026-78667, CVE-2026-78660, CVE-2026-78659, CVE-2026-56866, CVE-2026-94448 and… in 2.39.9
- security Updated golang.org/x/net to 0.62.0, fixing CVE-2026-78663 (Critical), CVE-2026-97032, CVE-2026-78669, CVE-2026-78661, CVE-2026-78660, CVE-2026-78659 and CVE-2026-97045 in 2.39.9
- security Updated golang.org/x/crypto to 0.58.0, fixing CVE-2026-78662 and CVE-2026-56855 in 2.39.9
- security Updated google.golang.org/grpc to 1.83.2, fixing CVE-2026-84304 (High), CVE-2026-84445 (High) and CVE-2026-84303 in 2.39.9
- security Updated github.com/containerd/containerd to 1.7.36 and github.com/containerd/containerd/v2 to 2.2.10, fixing CVE-2026-95837 (High), CVE-2026-53493, CVE-2026-53495 and CVE-2026-95838 in 2.39.9
- security Updated github.com/klauspost/compress to 1.20.3, github.com/moby/sys/user to 0.4.1 and go.opentelemetry.io/otel to 1.45.0, fixing CVE-2026-116591 (High), CVE-2026-61801 and CVE-2026-81870 in 2.39.9
- security Updated the kubectl shell image to Alpine 3.24.4, kubectl v1.37.1 and helm v4.3.1 (CVEs cleared to be confirmed with Docker Scout during the build) in 2.39.9
- security CVE-2026-39821 in 2.39.8
- security CVE-2026-56862 in 2.39.8
- security CVE-2026-56859 in 2.39.8
- security CVE-2026-56853 in 2.39.8
- security CVE-2026-33818 in 2.39.8
- security CVE-2026-56858 in 2.39.8
- security CVE-2026-56860 in 2.39.8
- security CVE-2026-56865 in 2.39.8
- security CVE-2026-56864 in 2.39.8
- security Upgraded kubectl in the kubectl shell image from 1.36.2 to 1.37.0, which is built with Go stdlib 1.26.6 and vendors golang.org/x/net 0.57.0, clearing 2 Critical findings (including CVE-2026-39821), 7 High and 7 Medium in 2.39.8
Deprecations
- deprecated None in 2.39.8
Every release in between
otherOn Async Edge environments, an invalid update schedule date can be displayed when browsing a snapshot
otherPodman environments aren't supported by auto-onboarding script
featureIt's not possible to add Podman environments via socket, when running a Portainer server on Docker (and vice versa)
featureSupport for only CentOS 9, Podman 5 rootful
breakingcurl removed from the kubectl shell image. curl and its libraries were removed from the kubectl shell image to cut the OS-package vulnerabilities they brought in. Anyone who runs commands or scripts in the kubectl shell that call curl now gets curl: not found. Use wget instead, which is still…
breakingStacks can only use networks the user has access to. Non-administrators could previously attach containers and stacks to Docker networks they had no access to, which bypassed network access control. Now, a non-administrator's Compose or Swarm stack that uses such a network (as external, through…
securityPortainer no longer trusts TLS certificates issued by eMudhra (emSign), following the compromise of eight eMudhra intermediate CAs (CVE-2026-111943). Connections to services that present an affected certificate, including OAuth/OIDC and LDAPS providers, registries and Git hosts, will fail after…
securityFixed non-administrators being able to mount the Docker socket through the Compose use_api_socket option. The stack validator now rejects it when bind mounts are disabled for regular users
securityFixed the Compose stack validator skipping services that use profiles: and not checking include:. Non-administrator stack restrictions now apply to every service whatever its profile and include is rejected when bind mounts are disabled for regular users; in BE, the SSRF policy checks on…
securityFixed stack updates authorizing against a caller-chosen environment. PUT /stacks/{id}, POST /stacks/{id}/git and PUT /stacks/{id}/git/redeploy now return 403 when endpointId differs from the stack's own environment, so users can no longer update, re-source or redeploy stacks on environments they…
securityRestricted joining Docker networks to users with access to them. Non-administrators can no longer attach to a network they cannot access through container create (HostConfig.NetworkMode, NetworkingConfig.EndpointsConfig), service create and update, image build (networkmode), or Compose and Swarm…
securityFixed Docker network connect and disconnect checking only the network in the URL. Non-administrators now also need access to the container named in the request body, so they can no longer connect or disconnect containers they cannot access
securityFixed Docker network authorization ignoring EndpointSettings.NetworkID. Container create and network connect now also check the network named by NetworkID, so non-administrators can no longer use it to join a network they cannot access
securityFixed Docker proxy access checks using the wrong resource ID when the URL has extra path segments. Container, network (including connect and disconnect) and volume requests with a slash in the ID, and config and secret updates, are now authorized against the full ID instead of being skipped or…
securityFixed the /websocket/attach and /websocket/exec endpoints bypassing container access control. Non-administrators can now attach to or exec into only the containers they can access, and are refused with a 403 otherwise
securityFixed PUT /endpoints/{id}/forceupdateservice skipping the service's resource control. Non-administrators can now force-update only the Swarm services they can access, and get a 404 for both inaccessible and missing services
securityFixed stack start and stop acting on a different environment from the one authorized. POST /stacks/{id}/start and POST /stacks/{id}/stop now return 403 when endpointId is not the stack's own environment, except for administrators (in BE, also edge administrators) acting on orphaned stacks, so…
securityStopped registry responses returning the stored access token Portainer holds for ECR. Every registry list, inspect, create and update response and the environment registries list now clear it, including for administrators, and non-administrators no longer receive AccessTokenExpiry either
securityFixed a bypass of the Hide bind mounts for non-administrators setting. When it is enabled, Compose files deployed by non-administrators can no longer reference host files outside the stack directory, for example in configs, secrets, env_file, build contexts or extends
securityRejected Compose and Swarm stacks using volumes_from when non-administrators create, update, start or redeploy them with Hide bind mounts for non-administrators enabled, which let them inherit another container's host bind mounts
securityUpdated the Go toolchain from 1.25.14 to 1.26.10, fixing CVE-2026-56857 and CVE-2026-78663 (both Critical), along with CVE-2026-111943, CVE-2026-97032, CVE-2026-97031, CVE-2026-94440, CVE-2026-94439, CVE-2026-78669, CVE-2026-78667, CVE-2026-78660, CVE-2026-78659, CVE-2026-56866, CVE-2026-94448 and…
securityUpdated golang.org/x/net to 0.62.0, fixing CVE-2026-78663 (Critical), CVE-2026-97032, CVE-2026-78669, CVE-2026-78661, CVE-2026-78660, CVE-2026-78659 and CVE-2026-97045
securityUpdated golang.org/x/crypto to 0.58.0, fixing CVE-2026-78662 and CVE-2026-56855
securityUpdated google.golang.org/grpc to 1.83.2, fixing CVE-2026-84304 (High), CVE-2026-84445 (High) and CVE-2026-84303
securityUpdated github.com/containerd/containerd to 1.7.36 and github.com/containerd/containerd/v2 to 2.2.10, fixing CVE-2026-95837 (High), CVE-2026-53493, CVE-2026-53495 and CVE-2026-95838
securityUpdated github.com/klauspost/compress to 1.20.3, github.com/moby/sys/user to 0.4.1 and go.opentelemetry.io/otel to 1.45.0, fixing CVE-2026-116591 (High), CVE-2026-61801 and CVE-2026-81870
securityUpdated the kubectl shell image to Alpine 3.24.4, kubectl v1.37.1 and helm v4.3.1 (CVEs cleared to be confirmed with Docker Scout during the build)
otherOn Async Edge environments, an invalid update schedule date can be displayed when browsing a snapshot
otherPodman environments aren't supported by auto-onboarding script
featureIt's not possible to add Podman environments via socket, when running a Portainer server on Docker (and vice versa)
featureSupport for only CentOS 9, Podman 5 rootful
otherUpgraded the Go toolchain from 1.25.12 to 1.25.14 to address the following CVEs:
securityCVE-2026-39821
securityCVE-2026-56862
securityCVE-2026-56859
securityCVE-2026-56853
securityCVE-2026-33818
securityCVE-2026-56858
securityCVE-2026-56860
otherUpgraded golang.org/x/mod to 0.40.0 to address the following CVEs:
securityCVE-2026-56865
securityCVE-2026-56864
otherUpgraded golang.org/x/crypto to 0.55.0 in Portainer CE and compose-unpacker, which had lagged behind the other modules, to address GO-2026-6303
securityUpgraded kubectl in the kubectl shell image from 1.36.2 to 1.37.0, which is built with Go stdlib 1.26.6 and vendors golang.org/x/net 0.57.0, clearing 2 Critical findings (including CVE-2026-39821), 7 High and 7 Medium
otherUpgraded the Alpine packages in the kubectl shell image, moving openssl/libssl3 to 3.5.8-r0 and jq to 1.8.2-r0, clearing a further 9 High, 10 Medium and 1 Low findings
fixFixed the Portainer updater reporting a container as healthy when its health-check command had never actually run, which could cause a failed upgrade to skip its rollback. The updater now waits for the exec session to complete before reading its exit code
deprecatedNone