Incorrect Authorization Affecting github.com/portainer/portainer/api/http/proxy/factory/docker package, versions <2.33.8>=2.39.0 <2.39.2>=2.40.0 <2.41.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPORTAINERPORTAINERAPIHTTPPROXYFACTORYDOCKER-17710339
  • published30 Jun 2026
  • disclosed14 May 2026
  • creditUnknown

Introduced: 14 May 2026

CVE-2026-44850  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/portainer/portainer/api/http/proxy/factory/docker to version 2.33.8, 2.39.2, 2.41.0 or higher.

Overview

github.com/portainer/portainer/api/http/proxy/factory/docker is a management UI which allows to manage different Docker environments.

Affected versions of this package are vulnerable to Incorrect Authorization in the HostConfig.Mounts process. An attacker can gain unauthorized access to sensitive files and potentially modify data on the host system by submitting a crafted container creation request that leverages the uninspected Mounts field. This is only exploitable if a regular user has container-create rights on an environment where the bind-mount restriction is enabled.

Workaround

This vulnerability can be mitigated by revoking container-create rights from non-administrator accounts, auditing recent container creations for HostConfig.Mounts of Type: bind from non-admin users, and segregating tenants by environment.

CVSS Base Scores

version 4.0
version 3.1