{"id":"CVE-2026-44885","state":"PUBLISHED","title":"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.","publishedAt":"2026-05-28T20:56:42.024Z","updatedAt":"2026-05-29T19:11:01.372Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["portainer portainer"],"affected":[{"vendor":"portainer","product":"portainer","versions":[{"version":">= 2.33.0, < 2.33.8","status":"affected"}]}],"references":["https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v","https://github.com/portainer/portainer-suite/pull/1875"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44885.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44885","state":"PUBLISHED","datePublished":"2026-05-28T20:56:42.024Z","dateUpdated":"2026-05-29T19:11:01.372Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-07T21:50:33.544Z"},"containers":{"cna":{"title":"Portainer: Path traversal in backup archive extraction allows arbitrary file write","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"portainer","product":"portainer","versions":[{"version":">= 2.33.0, < 2.33.8","status":"affected"}]}],"references":[{"url":"https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v","name":"https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/portainer/portainer-suite/pull/1875","name":"https://github.com/portainer/portainer-suite/pull/1875","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-28T20:56:57.555Z"},"source":{"advisory":"GHSA-m8fg-67j7-cx4v","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-29T19:08:51.068303Z","id":"CVE-2026-44885","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-29T19:11:01.372Z"}}]}}}