CVE-2026-44885
Portainer: Path traversal in backup archive extraction allows arbitrary file write
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.
INFO
Published Date :
May 28, 2026, 10:16 p.m.
Last Modified :
July 21, 2026, 10:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE |
Solution
- Update Portainer CE to version 2.33.8 or later.
- Verify archive extraction security settings.
- Remove any unauthorized cron jobs.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-44885.
| URL | Resource |
|---|---|
| https://github.com/portainer/portainer-suite/pull/1875 | Broken Link |
| https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-44885 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-44885
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-44885 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-44885 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 21, 2026
Action Type Old Value New Value Added Translation Title: Portainer Community Edition, Description: Portainer Community Edition es una plataforma ligera de entrega de servicios para aplicaciones en contenedores que puede utilizarse para gestionar entornos Docker, Swarm, Kubernetes y ACI. Desde la versión 2.33.0 hasta antes de la 2.33.8, la función de restauración de copias de seguridad de Portainer acepta un archivo .tar.gz y lo extrae a un directorio de destino en el servidor. La función de extracción (ExtractTarGz en api/archive/targz.go) construía rutas de salida utilizando filepath.Clean(filepath.Join(outputDirPath, header.Name)). Esta combinación no evita el salto de directorio — una entrada tar llamada ../../etc/cron.d/evil se resuelve en una ruta fuera de la raíz de extracción, por lo que un archivo malicioso puede escribir archivos en ubicaciones arbitrarias del sistema de archivos del servidor. Esta vulnerabilidad se corrige en la versión 2.33.8. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'portainer', 'product': 'portainer', 'versions': [{'status': 'affected', 'version': '>= 2.33.0, < 2.33.8'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-44885', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-29T19:08:51.068303Z'} -
Initial Analysis by [email protected]
Jun. 01, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:* versions from (including) 2.33.0 up to (excluding) 2.33.8 Added Reference Type GitHub, Inc.: https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v Types: Exploit, Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/portainer/portainer-suite/pull/1875 Types: Broken Link -
New CVE Received by [email protected]
May. 28, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L Added CWE CWE-22 Added Reference https://github.com/portainer/portainer-suite/pull/1875 Added Reference https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v