CVE-2026-44881

Description

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33.8, 2.39.2, and 2.41.0, Portainer supports deploying stacks from Git repositories. When a Git-backed stack is created or updated, Portainer clones the repository using go-git v5, which translates Git blob entries with mode 0o120000 (symlink) into real OS symlinks on the host filesystem via os.Symlink. The only entry blocked from becoming a symlink is .gitmodules; every other path is created as a symlink without validation. Portainer's GET /api/stacks/{id}/file endpoint then reads the stack entry point with os.ReadFile, which follows OS symlinks transparently. A repository containing docker-compose.yml as a symlink to an arbitrary filesystem path causes the symlink target's contents to be returned verbatim in the HTTP response. Any authenticated user with rights to create or update a Git-backed stack — the default configuration in Portainer CE — can read arbitrary files accessible to the Portainer process. This vulnerability is fixed in 2.33.8, 2.39.2, and 2.41.0.

Severity
CRITICAL
CVSS v3
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · source nvd
CVSS v4
8.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H · source cna
Exploit chance (EPSS)
0.510%
chance of exploitation in the next 30 days
higher than 44.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2026-05-29

Timeline

  1. 2026-05-14GitHub advisory published (GHSA-rpgq-m5fp-32wr)14 days before publication
  2. 2026-05-28Published by the CNA21:11 UTC
  3. 2026-05-29CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-rpgq-m5fp-32wr, affected packages:

PackageVulnerable versionsFixed in
Go github.com/portainer/portainerfrom 2.33.0 before 2.33.82.33.8
Go github.com/portainer/portainerfrom 2.39.0 before 2.39.22.39.2
Go github.com/portainer/portainerfrom 2.40.0 before 2.41.02.41.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
portainer portainerfrom 2.33.0 before 2.33.8fixed in 2.33.8from 2.34.0 before 2.39.2fixed in 2.39.22.40.0no fix listed2.33.82.39.2not listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources