CVE-2026-44885

Source
https://cve.org/CVERecord?id=CVE-2026-44885
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44885.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-44885
Aliases
Downstream
Related
Published
2026-05-28T20:56:42Z
Modified
2026-08-12T03:51:09Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44885.json"
}
References

Affected packages

Git / github.com/portainer/portainer

Affected ranges

Type
GIT
Repo
https://github.com/portainer/portainer
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.33.0"
        },
        {
            "fixed": "2.33.8"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44885.json"