CVE-2026-44885 Details
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, Portainer's backup restore feature accepts a .tar.gz archive and extracts it to a target directory on the server. The extraction function (ExtractTarGz in api/archive/targz.go) constructed output paths using filepath.Clean(filepath.Join(outputDirPath, header.Name)). This combination does not prevent directory traversal — a tar entry named ../../etc/cron.d/evil resolves to a path outside the extraction root, so a crafted archive can write files to arbitrary locations on the server filesystem. This vulnerability is fixed in 2.33.8.
A path traversal vulnerability has been identified in Portainer Community Edition versions 2.33.0 prior to 2.33.8. The issue arises in the backup restore feature, which accepts .tar.gz archives and extracts them to a target directory on the server. The extraction function improperly constructs output paths, allowing a crafted archive to write files to arbitrary locations on the server filesystem, outside the intended extraction root. Exploitation requires administrative access to Portainer's backup restore endpoint.
Users should upgrade to Portainer version 2.33.8 or 2.39.0 and later, as these versions include the necessary fix. For those unable to upgrade immediately, it is advised to only restore archives from trusted sources and to use Portainer's optional backup encryption feature.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v | [email protected] | ExploitThird Party Advisory |
| https://github.com/portainer/portainer-suite/pull/1875 | [email protected] | Broken Link |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| portainer portainer | >= 2.33.0, < 2.33.8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | New CVE Received | [email protected] |