Portainer has an endpoint security bypass via Swarm service create/update
Portainer enforces seven EndpointSecuritySettings restrictions that administrators configure to restrict the container configurations non-admin users can launch: privileged mode, host PID namespace, device mapping, capabilities, sysctls, security-opt (Seccomp / AppArmor), and bind mounts.
The vulnerability is exposed when a non-admin Portainer user (Standard User role, or any role granted endpoint-level access) has been given access to a Docker Swarm endpoint via Portainer RBAC. Admins and users without Swarm endpoint access are not affected.
These restrictions are enforced on the standard container creation path, but several of them are not applied on the Docker Swarm service API:
POST /services/create — 1 of 7 checks applied. CapabilityAdd, CapabilityDrop, Sysctls, and Privileges (Seccomp / AppArmor) are not parsed from the request body and are forwarded to the Docker daemon without validation.POST /services/{id}/update — 0 of 7 checks applied. The route dispatches to the generic restrictedResourceOperation, which validates RBAC ownership but does not inspect the request body or call fetchEndpointSecuritySettings().The EndpointSecuritySettings checks apply when the administrator has configured any of AllowContainerCapabilitiesForRegularUsers, AllowSysctlSettingForRegularUsers, AllowSecurityOptForRegularUsers, or AllowBindMountsForRegularUsers to restrict standard users.
A regular user with access to a Docker Swarm endpoint can:
CapabilityAdd: ["SYS_ADMIN", "NET_ADMIN", "SYS_PTRACE", …] or Privileges.Seccomp.Mode: "unconfined".CapabilityAdd: ["ALL"] plus a bind mount of /, scale to one replica, and access the host filesystem from the running container (e.g. via chroot /host).In addition, the partial Mounts[] struct used by the bind-mount check inspects only the top-level Type field. A mount with Type: "volume" and VolumeOptions.DriverConfig.Options: {type: "none", o: "bind", device: "<host path>"} is forwarded to the Docker daemon unchanged; the local volume driver then materialises it as a bind-equivalent mount, bypassing AllowBindMountsForRegularUsers. The same field path is accepted by the standalone POST /volumes/create endpoint, which never had any AllowBindMountsForRegularUsers check on any branch.
This undermines the administrator's configured security policy on Swarm-enabled endpoints.
The vulnerability exists in every Portainer release with Docker Swarm support — the service-creation path has never checked CapabilityAdd, CapabilityDrop, Sysctls, or Privileges, and the service-update path has never performed any EndpointSecuritySettings validation. The VolumeOptions.DriverConfig field has never been parsed by the partial service struct on any branch, so the volume-driver-bind variant (service create/update and direct /volumes/create) shares the same affected range.
Fixes are included in the next release of each supported branch:
| Branch | First vulnerable | Fixed in |
|---------------------|------------------|------------|
| 2.33.x (LTS) | 2.33.0 | 2.33.8 |
| 2.39.x (LTS) | 2.39.0 | 2.39.2 |
| 2.40.x (STS) | 2.40.0 | 2.41.0 |
Portainer LTS branches receive fixes for 6 months plus a 3-month overlap after the next LTS ships. STS releases are supported only until the next STS ships — the 2.40.x STS line ends with the 2.41.0 release. All releases prior to 2.33.0 are end-of-life and will not receive a fix; users on EOL versions should upgrade to a supported LTS branch.
Administrators who cannot immediately upgrade can reduce exposure with the following measures. None of these replaces the fix.
type: none / o: bind on untrusted endpoints via a daemon-side allowlist. This closes the volume-driver-bind variant until the patched release is deployed.Mounts inspected (1/7)```go
// api/http/proxy/factory/docker/services.go (pre-fix)
type PartialService struct {
TaskTemplate struct {
ContainerSpec struct {
Mounts []struct {
Type string
}
}
}
}
```
CapabilityAdd, CapabilityDrop, Sysctls, and `
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE-2026-44849 is classified as CWE-862: Missing Authorization. No authorisation check is performed before carrying out a restricted action.
CVE-2026-44849 is recorded against 2 packages.
Published on 25 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
github.com (Advisory)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com/portainer/portainer has other advisories on record. If you are patching this one, these are worth checking on the same host:
These advisories are the same class of weakness (CWE-862: Missing Authorization) in other software:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| github.com/portainer/portainer | — | — |
| portainer | — | — |
References
Similar Threats
Exploit Protection
CVE-2026-44849 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2026-44849 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.