{"id":"CVE-2026-44885","published":"2026-05-28T20:56:42Z","modified":"2026-05-29T19:11:01Z","title":"Portainer: Path traversal in backup archive extraction allows arbitrary file write","vendor":"portainer","product":"portainer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.008,"percentile":0.53266,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/portainer/portainer-suite/pull/1875","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":10.65},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"portainer","affectedVersions":[{"vendor":"portainer","product":"portainer","versions":[">= 2.33.0, < 2.33.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-29T19:08:51.068303Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/portainer/portainer","vulnerableRanges":[">=2.33.0, <2.33.8","all versions"],"patched":["2.33.8"],"from":["GHSA-m8fg-67j7-cx4v","GO-2026-5498"],"provenance":"source"}],"summary":{"text":"Portainer Community Edition, versions from 2.33.0 before 2.33.8, has a path traversal flaw in the backup restore feature's archive extraction function (ExtractTarGz in api/archive/targz.go), which builds output paths without preventing traversal sequences in tar entry names. An attacker who can supply a crafted .tar.gz archive for restore, which requires an authenticated account with high privileges, can write files to arbitrary locations on the server filesystem.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:06Z"},"euvd":{"id":"EUVD-2026-33057","exploited":false,"provenance":"source"}}