SCA: security update for github.com/portainer/portainer (GHSA-m8fg-67j7-cx4v)

medium Tenable Cloud Security Plugin ID 441863

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44885)

Solution

Update the github.com/portainer/portainer library and its related packages to version 2.33.8 or later.

See Also

https://github.com/advisories/GHSA-m8fg-67j7-cx4v

Plugin Details

Severity: Medium

ID: 441863

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/14/2026

Updated: 6/5/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 52.03

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:L/Au:M/C:N/I:C/A:P

CVSS Score Source: CVE-2026-44885

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2026

Vulnerability Publication Date: 5/14/2026

Reference Information

CVE: CVE-2026-44885

cwe: CWE-22