CVE-2026-44881
Portainer: Arbitrary File Read via Git Symlink Injection in Stack Auto-Update
Also known as GHSA-rpgq-m5fp-32wr, GO-2026-5633
Mitigation
- Upgrade github.com/portainer/portainer to one of 2.33.8, 2.39.2, 2.41.0 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/portainer/portainer (>= 2.33.0, < 2.33.8)
- Anyone running portainer >= 2.33.0, < 2.33.8; >= 2.39.0, < 2.39.2; >= 2.40.0, < 2.41.0
Vulnerability facts
- Affected
- github.com/portainer/portainer >= 2.33.0, < 2.33.8
- Fixed in
- 2.33.8, 2.39.2, 2.41.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.5 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 0.58% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-59, CWE-200
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/portainer/portainer | >= 2.33.0, < 2.33.8 | 2.33.8, 2.39.2, 2.41.0 | osv |
| portainer | >= 2.33.0, < 2.33.8; >= 2.39.0, < 2.39.2; >= 2.40.0, < 2.41.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-44881. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-44881.md Affected: github.com/portainer/portainer >= 2.33.0, < 2.33.8 Fixed in: 2.33.8, 2.39.2, 2.41.0 Steps: 1. Search this machine and project for github.com/portainer/portainer (Go), portainer: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-44881 being exploited?
There is no confirmed exploitation: CVE-2026-44881 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-44881?
High: CVSS 8.5 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-44881?
github.com/portainer/portainer >= 2.33.0, < 2.33.8.
Is there a fix for CVE-2026-44881?
Yes. Fixed in 2.33.8, 2.39.2, 2.41.0. Upgrade github.com/portainer/portainer to one of 2.33.8, 2.39.2, 2.41.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-44881?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.