Skip to main content

Portainer CVE-2026-44850

HIGH
Incorrect Authorization (CWE-863)
2026-05-14 https://github.com/portainer/portainer GHSA-7fw3-x4r2-g7wc
8.5
CVSS 3.1 · Vendor: https://github.com/portainer/portainer
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Portainer API
  2. Delivery
    Craft container-create request with HostConfig.Mounts bind entry
  3. Exploit
    Bypass incomplete validation check
  4. Install
    Docker daemon creates container with host path mounted
  5. C2
    Access sensitive host files or Docker socket
  6. Execute
    Execute commands as daemon user (root)
  7. Impact
    Establish persistence or pivot to adjacent containers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must possess an authenticated Portainer account with regular (non-administrator) user privileges and explicit container-create rights on a Docker environment where the 'Disable bind mounts for non-administrators' security setting is enabled. This security setting is configured per-environment via Portainer's environment management interface and is not enabled by default, meaning only organizations that explicitly activated this control as a tenant isolation measure are vulnerable. Exploitation also requires network access to the Portainer API (AV:N from CVSS vector) but no user interaction (UI:N) and low attack complexity (AC:L), as the attacker simply submits a modified JSON payload in the container-create request. Environments that never enabled the bind-mount restriction, deployments where non-admin users lack container-create permissions, and single-tenant Portainer instances where all users are trusted administrators are not at risk. The vulnerability does NOT affect Swarm service creation (which correctly validates Mounts) or Compose stack deployments (which bypass this proxy path). Docker daemon must be the container runtime - Kubernetes environments managed through Portainer are unaffected as they do not use the Docker container-create proxy path.

Impact

Real-world risk is context-dependent but potentially severe for multi-tenant Portainer deployments. CVSS 8.5 (AV:N/AC:L/PR:L/UI:N/S:C) accurately captures the technical characteristics: network-accessible, low complexity, requires only low-privilege authentication, no user interaction, and changed scope (compromise extends beyond Portainer to the underlying Docker host). The Changed scope metric is critical here - a compromised container can pivot to full host control via /var/run/docker.sock bind mount or write persistence to host filesystem paths like /root/.ssh/authorized_keys. However, exploitation is gated by two prerequisites: the attacker must have an authenticated Portainer account with container-create rights, AND the environment must have enabled the 'Disable bind mounts for non-administrators' restriction. Environments that never enabled this control are unaffected. Seven independent researcher reports between March and April 2026 indicate the vulnerability is well-understood by the security community, though no EPSS score is provided and CISA KEV status is not indicated, suggesting no evidence of mass exploitation campaigns. The vendor classifies severity as High rather than Critical specifically because this is a defense-in-depth bypass rather than privilege escalation - affected users already had container-create rights, which inherently carries significant risk. For organizations using this control as their primary tenant isolation mechanism in shared environments, this should be treated as Critical. For single-tenant deployments or environments with network segmentation and reduced container-create permissions, the risk is substantially lower. Patch availability across all supported branches (2.33.8, 2.39.2, 2.41.0) with clean backports reduces remediation friction.

Exploit ScenarioDerived

An attacker with a regular Portainer user account on a shared Docker environment sends a container-create API request through Portainer with a bind-type entry under HostConfig.Mounts instead of HostConfig.Binds, specifying /var/run/docker.sock as the source path. Portainer's incomplete validation logic checks only the legacy Binds array, finds it empty, and forwards the request to the Docker daemon. The daemon creates the container with full access to the Docker socket, granting the attacker unrestricted Docker API control equivalent to root on the host. From inside the container, the attacker uses the mounted socket to spawn a privileged container with host PID namespace and /etc bind-mounted, then writes an SSH public key to /root/.ssh/authorized_keys for persistent access. Seven independent researchers reported functional exploits between March and April 2026, demonstrating the technique's reliability and ease of discovery.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Authenticated regular users with container-creation rights in Portainer can mount arbitrary host filesystem paths into their containers by bypassing the 'Disable bind mounts for non-administrators' security control via HostConfig.Mounts instead of HostConfig.Binds, enabling root-level access to sensitive host files, Docker socket takeover, and container escape on shared Docker environments. The vulnerability is confirmed actively exploited based on seven independent security researcher reports, with vendor-released patches available across all supported branches (2.33.8, 2.39.2, 2.41.0). CVSS 8.5 reflects network exploitation with low complexity and changed scope impact, though real-world risk depends heavily on whether multi-tenant environments rely on this control as their primary container isolation mechanism.

RemediationAI

Upgrade immediately to Portainer 2.33.8 (for 2.33.x deployments), 2.39.2 (for 2.39.x deployments), or 2.41.0 (for 2.40.x/2.41.x deployments). All three releases include byte-equivalent fixes that add HostConfig.Mounts field validation mirroring the existing Swarm service-create logic. Release binaries and container images are available from the official Portainer GitHub releases page (https://github.com/portainer/portainer/releases). If immediate patching is impossible, implement these compensating controls with noted trade-offs: Revoke container-create permissions from all non-administrator accounts on environments where the bind-mount restriction is enabled - this breaks legitimate stack and service deployment workflows for those users until patching is complete, but closes the vulnerability surface entirely. Audit recent container creations by inspecting Docker daemon logs and running 'docker inspect' on all containers created by non-admin Portainer users since March 2026; flag any container with Type: bind entries in Mounts array for incident investigation. Migrate multi-tenant workloads to separate Portainer environments rather than relying on the per-environment bind-mount toggle, providing stronger isolation that persists after upgrade. None of these workarounds are substitutes for patching - the underlying authorization gap remains until the code fix is deployed. Versions prior to 2.33.0 are end-of-life; organizations running EOL versions must upgrade to a supported LTS branch (2.33.8 or 2.39.2 minimum).

Affected Packages

go github.com/portainer/portainer fix: 2.33.8, 2.39.2, 2.41.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Portainer is a container management platform that mediates Docker API access through authorization proxies. The vulnerability exists in the container-create proxy path (POST /containers/create) within decorateContainerCreationOperation function in containers.go. Docker's container-create API accepts bind mount definitions through two interchangeable fields: the legacy HostConfig.Binds string array and the modern HostConfig.Mounts object array. The PartialContainer struct used to deserialize and validate incoming requests only included the Binds field, leaving Mounts completely uninspected. Both fields produce identical bind mounts at the Docker daemon runtime level, so validating only one creates a complete bypass. This is a textbook CWE-863 (Incorrect Authorization) failure where the security control checks only one of two equivalent inputs. The Swarm service-create path correctly validates TaskTemplate.ContainerSpec.Mounts, demonstrating that the vendor understood the requirement but failed to apply it consistently across API surfaces. The affected code exists in the Go codebase identified by CPE pkg:go/github.com_portainer_portainer.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/portainer/portainer) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
SUSE HIGH

Primary rating from Vendor (https://github.com/portainer/portainer).

CVSS VectorVendor: https://github.com/portainer/portainer

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

Portainer offers an environment-level Disable bind mounts for non-administrators security setting that blocks regular users from binding host paths into containers they create through the Portainer-mediated Docker API. The check that enforces this setting only inspected the legacy HostConfig.Binds array on the container-create proxy and never looked at the equivalent HostConfig.Mounts array. Any authenticated user with rights to create containers on a Docker environment where the restriction is enabled could submit a bind-typed entry under HostConfig.Mounts and mount any host path into their container.

The two fields are interchangeable on the Docker daemon - both produce real bind mounts at runtime - so a check that inspects only one is functionally equivalent to no check at all. The same primitive is correctly enforced on Swarm service create against TaskTemplate.ContainerSpec.Mounts; the gap was specific to the POST /containers/create proxy path.

Exploitation requires a regular user with container-create rights on an environment that has the restriction enabled. Such a user can mount any host path read-write or read-only into a container they own and use the resulting view of the host filesystem to read or write anything the Docker daemon's user can - typically root. Bind-mount restriction is the primary defence against host filesystem exposure on shared environments where regular users are otherwise permitted to deploy containers.

Severity

High

The vulnerability is exploitable over the network with low attack complexity, no attack requirement, and no user interaction. It requires a low-privilege authenticated session - any regular user with container-create rights on an environment where the bind-mount restriction is enabled. The vulnerable system (the Portainer container-create proxy) suffers a confidentiality and integrity breach by virtue of the bypass itself, but the dominant impact is on the subsequent system: the Docker host's filesystem and any container running alongside the attacker's. This is a restriction bypass rather than a cross-authority escalation - the user already had container-create rights, and the bind-mount restriction is a defence-in-depth control on top of that capability - which is the reason the rating is held at High rather than promoted to Critical despite the host-level reach.

Affected Versions

The vulnerability has existed since the AllowBindMountsForRegularUsers security setting was introduced. The HostConfig.Mounts field has never been inspected by the container-create proxy on any release line.

Fixes are included in the following releases:

BranchFirst vulnerableFixed in
2.33.x (LTS)2.33.02.33.8
2.39.x (LTS)2.39.02.39.2
2.41.x (STS)all prior2.41.0

Portainer 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.

Workarounds

Administrators who cannot immediately upgrade can reduce exposure by:

  • Revoke container-create rights from non-administrator accounts on affected environments. If the bind-mount restriction is being relied on as a hard guarantee, audit which non-administrator accounts have container-create rights on environments where it is set, and downgrade those accounts to roles that lack container-create until the patched release is deployed. Stack and service deployment that depends on container-create will stop working for those users until the patched release is in place.
  • Audit recent container creations for HostConfig.Mounts of Type: bind from non-admin Portainer users. Inspect Docker daemon logs and docker inspect output on affected environments. Any non-admin-created container with a bind-typed Mounts entry should be treated as a potential incident.
  • Segregate tenants by environment. Where the per-environment toggle was being used to share an environment between tenants of different trust levels, splitting the workloads onto separate environments is a stronger control than the toggle and remains in place after upgrade.

None of these replace the fix.

Affected Code

The enforcement lives in decorateContainerCreationOperation in package/server-ce/api/http/proxy/factory/docker/containers.go. The PartialContainer struct used to deserialise the request body for inspection only contained HostConfig.Binds:

// package/server-ce/api/http/proxy/factory/docker/containers.go
type PartialContainer struct {
    HostConfig struct {
        Privileged bool           `json:"Privileged"`
        PidMode    string         `json:"PidMode"`
        Devices    []any          `json:"Devices"`
        Sysctls    map[string]any `json:"Sysctls"`
        CapAdd     []string       `json:"CapAdd"`
        CapDrop    []string       `json:"CapDrop"`
        Binds      []string       `json:"Binds"`
    } `json:"HostConfig"`
}

if !securitySettings.AllowBindMountsForRegularUsers && len(partialContainer.HostConfig.Binds) > 0 {
    for _, bind := range partialContainer.HostConfig.Binds {
        if strings.HasPrefix(bind, "/") {
            return forbiddenResponse, ErrBindMountsForbidden
        }
    }
}

The fix adds a Mounts field to PartialContainer and a parallel check that rejects any entry whose Type equals bind, mirroring the existing logic on the Swarm service-create proxy. The container-update path is unaffected - the Docker daemon does not accept mount changes via container update - and Swarm service create was already covered. Compose-stack deployment is not in scope of this advisory; the bind-mount restriction is a daemon-mediated container-create control, and Compose deployment runs Docker through a separate path that is not currently subject to the same restriction.

The same change applies cleanly on each LTS branch - the surrounding code shape on release/2.33 and release/2.39 is identical to develop on the points the patch touches, so the LTS backports are byte-equivalent additions of the Mounts field and the parallel check.

Impact

A regular user who has been explicitly restricted from using bind mounts can bypass the restriction and:

  • Read or write any path on the Docker host filesystem. The mount runs as the daemon user (typically root), so any path is reachable. Sensitive examples include /etc/shadow, host SSH keys under /root/.ssh and /home/*/.ssh, and TLS material under /etc/docker.
  • Compromise other containers on the same host. The host's /var/lib/docker (or equivalent) is reachable from within the bound mount, exposing the layers, volumes, and live state of every container the daemon manages.
  • Reach the Docker socket. Mounting /var/run/docker.sock into the attacker's container hands them full Docker API access on the host, regardless of any authorisation enforced by Portainer above the proxy.
  • Write persistence to the host. Without ReadOnly, the attacker can drop SSH keys into authorized_keys, install systemd units, or modify cron, achieving persistence outside of any container the daemon supervises.

The bind-mount restriction was the primary defence against this class of host exposure for non-administrator container creators; bypassing it removes the only enforcement point above the daemon for tenants who were granted container-create rights.

Timeline

  • 2026-03-04: Reported via GitHub Security Advisory by offensiveee (Assaf Alassaf).
  • 2026-03-04 - 2026-04-17: Six further independent reports of the same primitive received via GitHub Security Advisory (alexwaira, ffulbtech, Proscan-one, jeroengui, AyushParkara, marduc812) and consolidated against this advisory.
  • 2026-04-18: Fix merged to develop.
  • 2026-06-04: Backports merged to release/2.33 and release/2.39.
  • 2026-04-29: 2.41.0 released with fix.
  • 2026-05-07: 2.33.8, 2.39.2, released with fix.

Credit

  • offensiveee (Assaf Alassaf) - initial report identifying the HostConfig.Mounts bypass on container create and the divergence from the Swarm service-create check.
  • alexwaira - independently reported the same HostConfig.Mounts bypass on container create.
  • ffulbtech - independently reported the same HostConfig.Mounts bypass on container create.
  • Proscan-one - independently reported the same HostConfig.Mounts bypass on container create.
  • jeroengui - independently reported the same HostConfig.Mounts bypass on container create.
  • AyushParkara - independently reported the same HostConfig.Mounts bypass on container create.
  • marduc812 - independently reported the same HostConfig.Mounts bypass on container create.

Executive ViewAI

Why It Matters

Portainer versions prior to 2.33.8, 2.39.2, or 2.41.0 contain a critical authentication bypass that allows authenticated users with container-creation permissions to circumvent bind-mount restrictions, gaining unauthorized access to host filesystem and Docker sockets. In multi-tenant environments, this directly undermines container isolation and enables lateral movement to the host system, potentially compromising all workloads and infrastructure managed by Portainer.

Business Impact: Severe
Compensating Controls

Vendor-released patch: Portainer 2.33.8, 2.39.2, 2.41.0. If immediate patching is not feasible, restrict container-creation permissions in Portainer RBAC to trusted administrators only; disable non-administrator user access to container-creation APIs; implement kernel-level seccomp and AppArmor policies on the Docker host to restrict mount system calls; isolate Portainer management network from untrusted user networks. These controls reduce but do not eliminate risk; patching is mandatory.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

pkg:go/github.com_portainer_portainer
pkg:go/github.com_portainer_portainer
pkg:go/github.com_portainer_portainer

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy