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.
Weakness
- CWE-59: Improper Link Resolution Before File Access
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-29 |
Timeline
- 2026-05-14GitHub advisory published (GHSA-rpgq-m5fp-32wr)14 days before publication
- 2026-05-28Published by the CNA21:11 UTC
- 2026-05-29CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-rpgq-m5fp-32wr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/portainer/portainer | from 2.33.0 before 2.33.8 | 2.33.8 |
| Go github.com/portainer/portainer | from 2.39.0 before 2.39.2 | 2.39.2 |
| Go github.com/portainer/portainer | from 2.40.0 before 2.41.0 | 2.41.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| portainer portainer | from 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 listed | 2.33.82.39.2not listed |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-44881'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-44881'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-44881'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-44881'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).