{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-44885","id":"CVE-2026-44885","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 outp","descriptionLong":"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.","published":"2026-05-28T20:56:42.024Z","updated":"2026-10-28T02:30:57.506575029Z","reserved":"2026-05-07T21:50:33.544Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["portainer"],"affectedProducts":[{"vendor":"portainer","product":"portainer","defaultStatus":null,"versions":[{"version":">= 2.33.0, < 2.33.8","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":[">=2.33.0 <2.33.8","all versions"],"fixed":["2.33.8"],"advisory":"GHSA-m8fg-67j7-cx4v"}],"cwes":["CWE-22"],"aliases":["GHSA-m8fg-67j7-cx4v","GO-2026-5498"],"references":[{"url":"https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v","tags":["x_refsource_CONFIRM","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/portainer/portainer-suite/pull/1875","tags":["x_refsource_MISC","Broken Link","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44885.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44885","tags":["advisory"]},{"url":"https://github.com/portainer/portainer/commit/e02ae6b2fb69668d1cd7d07cb873dfcdd9cf1e42","tags":["web","fix"]},{"url":"https://github.com/portainer/portainer","tags":["package"]},{"url":"https://github.com/portainer/portainer/releases/tag/2.33.8","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00606,"epssPercentile":0.49817,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-44885","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44885","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-44885","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m8fg-67j7-cx4v","ok":true,"note":"GHSA-m8fg-67j7-cx4v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-44885","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}