{"id":"CVE-2026-44885","summary":"Portainer: Path traversal in backup archive extraction allows arbitrary file write","details":"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.","aliases":["GHSA-m8fg-67j7-cx4v","GO-2026-5498"],"modified":"2026-08-12T03:51:09.803083146Z","published":"2026-05-28T20:56:42.024Z","related":["openSUSE-SU-2026:21483-1"],"database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44885.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44885.json"},{"type":"ADVISORY","url":"https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44885"},{"type":"FIX","url":"https://github.com/portainer/portainer-suite/pull/1875"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/portainer/portainer","events":[{"introduced":"0d8802c6d1365588c75793ba891a92268db852d1"},{"fixed":"245f90550729f0269bc7e362f9d282e34788fb7c"}],"database_specific":{"extracted_events":[{"introduced":"2.33.0"},{"fixed":"2.33.8"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44885.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L"}]}