# CVE-2026-44885: Portainer: Path traversal in backup archive extraction allows arbitrary file write

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T16:23:03.000Z
- Modified: 2026-07-21T10:10:00.103Z
- Also known as: GHSA-m8fg-67j7-cx4v, GO-2026-5498
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- portainer portainer: >= 2.33.0, < 2.33.8; from 2.33.0 before 2.33.8
- github.com/portainer/portainer (Go): from 2.33.0 before 2.33.8; all versions

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/portainer/portainer/security/advisories/GHSA-m8fg-67j7-cx4v> (exploit, advisory, third-party-advisory, web)
- <https://github.com/portainer/portainer-suite/pull/1875> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44885> (advisory)
- <https://github.com/portainer/portainer/commit/e02ae6b2fb69668d1cd7d07cb873dfcdd9cf1e42> (fix, web)
- <https://github.com/portainer/portainer> (package)
- <https://github.com/portainer/portainer/releases/tag/2.33.8> (web)

## Sources

- CVE List: [CVE-2026-44885](https://www.cve.org/CVERecord?id=CVE-2026-44885), CVE Terms of Use, modified 2026-05-29
- GitHub Advisory Database: [GHSA-m8fg-67j7-cx4v](https://github.com/advisories/GHSA-m8fg-67j7-cx4v), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5498](https://pkg.go.dev/vuln/GO-2026-5498), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-44885](https://nvd.nist.gov/vuln/detail/CVE-2026-44885), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-44885 · Whole record: https://cve.day/CVE-2026-44885.json · Rebuilt by cve.day 2026-11-25T22:59:23.239Z
