VersionDrift
Product

Portainer 2.45.0 → 2.45.4

4 releases · 16 breaking changes · 33 security fixes · 0 advisories fixed

33security16breaking2deprecated11feature24fix

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. Upgraded installs keep their existing kubectl shell image until it is updated with --kubectl-shell-image (or KUBECTL_SHELL_IMAGE) or… in 2.45.4
  • 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.45.4
  • breaking In-app updates pull a specific version. In-app updates on Docker standalone and Swarm used to pull the latest tag, which on Kubernetes could report success without changing anything. They now pull the exact Portainer version tag, for example portainer/portainer-ee:2.45.4. Installs that pull images… in 2.45.4
  • breaking GitOps source connection tests need write access. A user with only read access to a GitOps source could run its connection test against a different repository URL, which sent the source's stored credentials there. In CE and BE, POST /gitops/sources/{id}/test now requires write access to the source… in 2.45.4
  • breaking Kubernetes permissions follow each user's role (since 2.45.0). Portainer used to carry out some Kubernetes actions with the agent's cluster-wide permissions, so a user's role wasn't always enforced. It now uses each user's own ServiceAccount, limited to the namespaces their role covers. in 2.45.4
  • breaking Who is affected: users other than administrators and environment administrators. in 2.45.4
  • breaking What fails: these actions now fail with a Kubernetes "forbidden" error if they include cluster-scoped resources, custom resources that Portainer's roles don't grant (for example a cert-manager Certificate), or resources in namespaces the user can't access: in 2.45.4
  • breaking manifest stack deploys, updates and removals in 2.45.4
  • breaking Git and webhook redeploys in 2.45.4
  • breaking application rolling restarts in 2.45.4
  • breaking Helm charts deployed from Git. in 2.45.4
  • breaking Stacks created before the upgrade are affected when they're updated or redeployed. in 2.45.4
  • breaking Access outside their namespaces: Operators, Helpdesk, Read-only and Standard users also lose access they previously had outside their namespaces, including to system namespaces. in 2.45.4
  • breaking Read-only and Helpdesk users can no longer view secret values in the UI or the API, or read secrets with kubectl or a kubeconfig. Helm release values, manifests and notes are hidden from them, and the helm CLI no longer works to list releases. in 2.45.4
  • breaking What to do: for deployments that fail with “forbidden”, have an administrator deploy those resources, or grant the extra permissions in the cluster. For Read-only and Helpdesk users who need to read secrets, give them a role that allows it in that namespace, such as Standard user or Operator. See… in 2.45.4
  • breaking Removed unused non-FIPS code paths from FIPS builds in 2.45.1

Security changes

  • security Fixed GET /stacks returning stacks from environments the user cannot access. Non-admin users could list Public stacks, including their stored environment variables and Git configuration, on any environment; the list is now filtered by environment access as well as stack access control in 2.45.4
  • 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.45.4
  • 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.45.4
  • 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 environment the stack already belongs to, so users can no longer update, re-source or redeploy stacks on… in 2.45.4
  • security Fixed Git stack redeploy disclosing another environment’s stored stack environment variables. PUT /stacks/{id}/git/redeploy now rejects an endpointId that differs from the environment the stack already belongs to, so a user can no longer redeploy a stack they cannot access and read its stored Env… in 2.45.4
  • 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.45.4
  • 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.45.4
  • 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.45.4
  • 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.45.4
  • 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.45.4
  • 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.45.4
  • 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.45.4
  • security Fixed a flaw letting a user with only read access to a GitOps source point its connection test at an attacker-controlled repository URL, sending the source's stored git credentials there. Testing a source now requires write access to send any field other than name and interval in 2.45.4
  • security Restricted GitOps workflows to environments and namespaces the user can access. GET /gitops/workflows, /gitops/workflows/summary, /gitops/workflows/{id} and source workflow counts no longer show workflows on inaccessible environments (including through the default namespace fallback) and… in 2.45.4
  • security Prevented deleting or demoting the last administrator. Delete and update now return 409, in BE OAuth and LDAP role sync keeps the administrator role, and concurrent user changes can no longer be lost in 2.45.4
  • 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.45.4
  • 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.45.3
  • 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.45.3
  • security Updated the Go toolchain 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 CVE-2026-97030 in 2.45.3
  • security Removed the eMudhra emSign root certificates from the CA bundle in Linux images, and rejected certificate chains that contain the compromised eMudhra intermediates (CVE-2026-111943). See this FAQ for details. in 2.45.3
  • security Updated golang.org/x/net to 0.60.0, fixing CVE-2026-78663 (Critical), CVE-2026-97032, CVE-2026-78669, CVE-2026-78660 and CVE-2026-78659 (all High) in 2.45.3
  • security Updated helm in the kubectl shell image to v4.3.1, taking its Go toolchain to 1.27.2 and oras.land/oras-go/v2 to 2.6.2, fixing CVE-2026-39821 (Critical) and CVE-2026-50163 (High) in 2.45.3
  • security Restricted kubeconfig tokens to the /api/endpoints/{id}/kubernetes proxy, so they are rejected with a 403 on every other API route, including admin-only routes and the Docker proxy. Kubeconfigs downloaded after upgrading carry a separate token per environment, limited to that environment in 2.45.3
  • 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 or env_file), and include is disabled for them. in 2.45.2
  • security Fixed a denied, failed or dry-run Kubernetes namespace deletion still removing Portainer's namespace access policies, stack records and registry bindings. These records are now removed only after Kubernetes accepts the deletion in 2.45.2
  • security Fixed in-cluster HTTPS connections to the Kubernetes API server skipping TLS certificate verification during stack deploy and removal, on both the server and the agent in 2.45.2
  • security Hardened outbound requests against SSRF. Helm chart resolution and Git HTTP/HTTPS operations now go through the SSRF-aware transport, and the static rules that enforce this now match by type rather than by import alias, so an aliased import can no longer slip past them in 2.45.1
  • security Updated golang.org/x/mod to 0.40.0, fixing CVE-2026-56865 and CVE-2026-56864 in 2.45.1
  • security Updated golang.org/x/crypto to 0.56.0, fixing CVE-2026-56854 (High), CVE-2026-78662 and CVE-2026-56855 in 2.45.1
  • security Updated google.golang.org/grpc to 1.83.2, fixing CVE-2026-84304 in 2.45.1
  • security Updated kubectl in the kubectl shell image to v1.37.0, which removes golang.org/x/net 0.49.0 entirely — fixing CVE-2026-39821 (Critical) along with 2 High and 5 Medium findings in 2.45.1
  • security Updated helm in the kubectl shell image to v4.2.4, taking golang.org/x/net to 0.56.0 and fixing CVE-2026-46600 (High) in 2.45.1
  • security Upgraded the Alpine packages in the kubectl shell image, taking openssl/libssl3 to 3.5.8-r0, libcurl to 8.22.0-r0 and jq to 1.8.2-r0. Clears 2 Critical findings (CVE-2026-63073 and CVE-2026-75803) plus 9 High, 11 Medium and 1 Low in 2.45.1

Deprecations

  • deprecated None in 2.45.2
  • deprecated None in 2.45.1

Every release in between

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. Upgraded installs keep their existing kubectl shell image until it is updated with --kubectl-shell-image (or KUBECTL_SHELL_IMAGE) or…
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…
breakingIn-app updates pull a specific version. In-app updates on Docker standalone and Swarm used to pull the latest tag, which on Kubernetes could report success without changing anything. They now pull the exact Portainer version tag, for example portainer/portainer-ee:2.45.4. Installs that pull images…
breakingGitOps source connection tests need write access. A user with only read access to a GitOps source could run its connection test against a different repository URL, which sent the source's stored credentials there. In CE and BE, POST /gitops/sources/{id}/test now requires write access to the source…
breakingKubernetes permissions follow each user's role (since 2.45.0). Portainer used to carry out some Kubernetes actions with the agent's cluster-wide permissions, so a user's role wasn't always enforced. It now uses each user's own ServiceAccount, limited to the namespaces their role covers.
breakingWho is affected: users other than administrators and environment administrators.
breakingWhat fails: these actions now fail with a Kubernetes "forbidden" error if they include cluster-scoped resources, custom resources that Portainer's roles don't grant (for example a cert-manager Certificate), or resources in namespaces the user can't access:
breakingmanifest stack deploys, updates and removals
breakingGit and webhook redeploys
breakingapplication rolling restarts
breakingHelm charts deployed from Git.
breakingStacks created before the upgrade are affected when they're updated or redeployed.
breakingAccess outside their namespaces: Operators, Helpdesk, Read-only and Standard users also lose access they previously had outside their namespaces, including to system namespaces.
breakingRead-only and Helpdesk users can no longer view secret values in the UI or the API, or read secrets with kubectl or a kubeconfig. Helm release values, manifests and notes are hidden from them, and the helm CLI no longer works to list releases.
breakingWhat to do: for deployments that fail with “forbidden”, have an administrator deploy those resources, or grant the extra permissions in the cluster. For Read-only and Helpdesk users who need to read secrets, give them a role that allows it in that namespace, such as Standard user or Operator. See…
securityFixed GET /stacks returning stacks from environments the user cannot access. Non-admin users could list Public stacks, including their stored environment variables and Git configuration, on any environment; the list is now filtered by environment access as well as stack access control
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 environment the stack already belongs to, so users can no longer update, re-source or redeploy stacks on…
securityFixed Git stack redeploy disclosing another environment’s stored stack environment variables. PUT /stacks/{id}/git/redeploy now rejects an endpointId that differs from the environment the stack already belongs to, so a user can no longer redeploy a stack they cannot access and read its stored Env…
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…
securityFixed a flaw letting a user with only read access to a GitOps source point its connection test at an attacker-controlled repository URL, sending the source's stored git credentials there. Testing a source now requires write access to send any field other than name and interval
securityRestricted GitOps workflows to environments and namespaces the user can access. GET /gitops/workflows, /gitops/workflows/summary, /gitops/workflows/{id} and source workflow counts no longer show workflows on inaccessible environments (including through the default namespace fallback) and…
securityPrevented deleting or demoting the last administrator. Delete and update now return 409, in BE OAuth and LDAP role sync keeps the administrator role, and concurrent user changes can no longer be lost
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
fixFixed stack webhooks silently doing nothing for inactive (stopped) Git stacks since 2.44.0. Invoking a webhook now redeploys the stack even when it is stopped, while scheduled automatic updates still skip inactive stacks
fixFixed Helm chart installs by a standard user failing when the release namespace already existed, because Helm's automatic namespace creation tried to patch it despite the user lacking permission. Namespace creation is now skipped whenever the namespace already exists
fixFixed the Atomic option being ignored on a Helm chart's first install. A failed first install with Atomic set is now rolled back and removed instead of being left in a failed state, and its default timeout is raised from 15 to 30 minutes as for upgrades [BE-13621]
fixTeam leaders can no longer remove themselves from, or change their own role in, a team they lead. DELETE and PUT /team_memberships/{id} return 403 for a non-admin's own membership, and their own row hides the Remove button
fixFixed the Users list never loading for team leaders, caused by a call to the admin-only settings endpoint
fixThe Users page's New User form, row selection and bulk delete are now shown to administrators only, not to team leaders who can't use them
fixFixed the git auto-update toggle on a Workflow or stack edit page showing enabled just because a poll interval was set, even with no webhook configured. Fixed the displayed webhook URL always using the regular stack endpoint, including for Edge Stacks, which need the Edge Stack webhook URL instead
+5 more items in the release notes
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
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…
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 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 CVE-2026-97030
securityRemoved the eMudhra emSign root certificates from the CA bundle in Linux images, and rejected certificate chains that contain the compromised eMudhra intermediates (CVE-2026-111943). See this FAQ for details.
securityUpdated golang.org/x/net to 0.60.0, fixing CVE-2026-78663 (Critical), CVE-2026-97032, CVE-2026-78669, CVE-2026-78660 and CVE-2026-78659 (all High)
securityUpdated helm in the kubectl shell image to v4.3.1, taking its Go toolchain to 1.27.2 and oras.land/oras-go/v2 to 2.6.2, fixing CVE-2026-39821 (Critical) and CVE-2026-50163 (High)
securityRestricted kubeconfig tokens to the /api/endpoints/{id}/kubernetes proxy, so they are rejected with a 403 on every other API route, including admin-only routes and the Docker proxy. Kubeconfigs downloaded after upgrading carry a separate token per environment, limited to that environment
fixFixed starting a container with an empty request body failing with a 400 error on Docker standalone and Swarm agent environments
fixFixed GitOps sources starting a new poll while the previous one was still running, which could pile up overlapping redeploys on slow repositories. A poll that is still running now causes the next scheduled poll to be skipped
fixFixed GitOps workflows showing the Git reference and file path status as unknown after a stack was manually redeployed from Git. A manual redeploy now records these statuses for the stack's workflow artifact
fixFixed the YAML tab on the Kubernetes node details page going blank after switching tabs or refocusing the browser, and restored the missing gap between the tab content and the Applications table
fixFixed DockerHub pull rate limits and agent version detection failing on Docker engines newer than API 1.47, and, in BE, non-admin users with environment access getting 403 errors on /agent/docker and /agent/host routes, which left Swarm node selectors empty
fixFixed the search box on the Authentication logs page not filtering events by username
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
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 or env_file), and include is disabled for them.
securityFixed a denied, failed or dry-run Kubernetes namespace deletion still removing Portainer's namespace access policies, stack records and registry bindings. These records are now removed only after Kubernetes accepts the deletion
securityFixed in-cluster HTTPS connections to the Kubernetes API server skipping TLS certificate verification during stack deploy and removal, on both the server and the agent
featureAdded a Node group column to the Kubernetes cluster node list for clusters using EKS, GKE, AKS, Karpenter or kops node pools, plus optional Instance type, Labels and Taints columns that can be turned on from the column menu
fixFixed the GitOps Sources page failing to load with "Object not found inside the database (bucket=workflows)" when a stack referenced a deleted workflow. Orphaned references are now skipped, and deleting a stack now unlinks it from its workflow in the same save
fixFixed deleting a Kubernetes stack with a namespace leaving behind objects whose manifest names no namespace
fixFixed Kubernetes Edge agents retrying removal of workload-less Edge stacks forever, which delayed new deployments and check-ins
fixFix the issue where the Docker dashboard volume count excludes volumes that restricted users have access to
fixFix the issue where the Async Edge dashboard includes container statistics for resources that Standard users cannot access
fixFix the issue where Compose stack undeploy operations do not respect the overall deployment timeout or cancellation context
fixFixed the default Unassigned environment group being renameable. It is now read-only, and a group that was already renamed can be reset to "Unassigned"
deprecatedNone
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
securityHardened outbound requests against SSRF. Helm chart resolution and Git HTTP/HTTPS operations now go through the SSRF-aware transport, and the static rules that enforce this now match by type rather than by import alias, so an aliased import can no longer slip past them
otherCertificate-based authentication for Azure Blob backups is now disabled in FIPS mode
featureAdded build-time static analysis that catches FIPS violations before they ship
breakingRemoved unused non-FIPS code paths from FIPS builds
securityUpdated golang.org/x/mod to 0.40.0, fixing CVE-2026-56865 and CVE-2026-56864
securityUpdated golang.org/x/crypto to 0.56.0, fixing CVE-2026-56854 (High), CVE-2026-78662 and CVE-2026-56855
securityUpdated google.golang.org/grpc to 1.83.2, fixing CVE-2026-84304
securityUpdated kubectl in the kubectl shell image to v1.37.0, which removes golang.org/x/net 0.49.0 entirely — fixing CVE-2026-39821 (Critical) along with 2 High and 5 Medium findings
securityUpdated helm in the kubectl shell image to v4.2.4, taking golang.org/x/net to 0.56.0 and fixing CVE-2026-46600 (High)
securityUpgraded the Alpine packages in the kubectl shell image, taking openssl/libssl3 to 3.5.8-r0, libcurl to 8.22.0-r0 and jq to 1.8.2-r0. Clears 2 Critical findings (CVE-2026-63073 and CVE-2026-75803) plus 9 High, 11 Medium and 1 Low
otherSimplified the stat cards on the environment list
otherRenamed the GitOps “Edit git settings” button to “Edit stack settings”, which reflects what it actually changes
otherThe --secret-key-name help text now documents the BE secret path as well as the CE one
fixFixed the Swarm network list failing to render, showing “Cannot read properties of undefined (reading 'NodeRole')” and staying empty even after a network was created
fixFixed the node details Applications section listing pods that are not running on that node
fixFixed a registry personal access token continuing to be used after it was changed. The Helm registry cache is now flushed when credentials change
fixFixed the Edge Updater status page failing to load because of a broken status sort
featureAdded an info box to Edge stacks explaining that the GitOps source polling interval does not apply to them
deprecatedNone
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status