Servers and applications
GHSA-26fg-hrxq-h6v4
Compose `profiles` and `include` bypass the environment security settings for non-administrators
- Severity
- High 8.7
- Published
- 19 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 19 Nov 2026
- Fixed in
- 2.39.9, 2.45.4, 3.1.0
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- Project advisories (GitHub)
Description
Portainer lets non-administrator (Standard) users deploy Docker Compose stacks to an environment. A set of per-environment security settings, shown in the interface as Hide … for non-administrators — covering bind mounts, privileged mode, host namespaces, device mappings, sysctls, security options and container capabilities — restricts what those users may put in a stack, and the stack validator enforces them, together with the outbound-URL (SSRF) check, before deployment. The validator loads the Compose file separately from the component that later deploys it, and any authenticated user with stack-management access to a Docker environment can exploit differences between the two loads so that a service is deployed without ever being checked.
Portainer operates a shared-responsibility security model: administrators decide how permissive each environment's security settings are, and Portainer is responsible for enforcing those settings as configured.
Workarounds
Administrators who cannot immediately upgrade can reduce exposure by:
- Disable stack management for non-administrators. Enable "Hide the use of Stacks for non-administrators" on each Docker environment. This is enforced server-side, but Standard users can no longer deploy or manage stacks.
- Limit Standard-user access to Docker environments. Remove environment access from users who do not need it. The attack needs stack management rights on a Docker environment.
- Audit existing stacks.
Affected software
| Software | Affected versions |
|---|---|
PortainerServers and applications · github:portainer/portainer |
|
About Portainer
Open source software to manage Docker, docker swarm and Kubernetes
- Docker Hub pulls
- 1,590,442,292Docker Hub, 15 Nov 2026
- GitHub stars
- 38,831GitHub, 15 Nov 2026
- Forks
- 2,940GitHub, 15 Nov 2026
- Latest release
- 2.45.3GitHub, 15 Nov 2026
- Released
- 21 Oct 2026GitHub
- License
- ZlibGitHub
- First published on GitHub
- 19 May 2016GitHub
Website Source code Docker image
Vulnerabilities in Portainer
- In our list
- 48
- Published in the last 12 months
- 30
- Critical, last 12 months
- 2
- High, last 12 months
- 15
- Known exploited
- 0
- GHSA-45qw-5wc8-pw8vCached ECR registry authorization token exposed to standard users in registry API responsesHigh 7.1 19 Nov 2026
- GHSA-2fmf-33r2-5vqgDocker network connect and disconnect let users attach or detach containers they cannot accessMedium 5.3 19 Nov 2026
- GHSA-6c57-xm2f-23fgWebSocket attach and exec let users open a shell in containers they cannot accessMedium 6.5 19 Nov 2026
- GHSA-xfw5-xx3q-mch6Stored Git credentials can be sent to an attacker-chosen host by users with read-only accessHigh 7.1 19 Nov 2026
- GHSA-83xv-v98x-cc83Stack list exposes Public stacks and their environment variables to users without access to the environmentMedium 6.0 19 Nov 2026
- GHSA-7pww-qg5m-5vpvGit stack redeploy exposes stored environment variables of stacks on environments the user cannot accessMedium 6.1 19 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-26fg-hrxq-h6v4
- github.com https://github.com/portainer/portainer/security/advisories/GHSA-26fg-hrxq-h6v4