SCA: security update for github.com/zarf-dev/zarf (GHSA-pj97-4p9w-gx3q)

high Tenable Cloud Security Plugin ID 440400

Description

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

- Zarf is an Airgap Native Packager Manager for Kubernetes. Versions 0.23.0 through 0.74.1 contain an
arbitrary file write vulnerability in the zarf package inspect sbom and zarf package inspect documentation
subcommands. These subcommands output file paths are constructed by joining a user-controlled output
directory with the package's Metadata.Name field read directly from the untrusted package's zarf.yaml
manifest. Although Metadata.Name is validated against a regex on package creation, an attacker can
unarchive a package to modify the Metadata.Name field to contain path traversal sequences such as
../../etc/cron.d/malicious or absolute paths like /home/user/.ssh/authorized_keys, along with the
corresponding files inside SBOMS.tar. This allows writing attacker-controlled content to arbitrary
filesystem locations within the permissions of the user running the inspect command. This issue has been
fixed in version 0.74.2. (CVE-2026-40090)

Solution

Update the github.com/zarf-dev/zarf library and its related packages to version 0.74.2 or later.

See Also

https://github.com/advisories/GHSA-pj97-4p9w-gx3q

Plugin Details

Severity: High

ID: 440400

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/15/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 52.04

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-40090

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/14/2026

Vulnerability Publication Date: 4/14/2026

Reference Information

CVE: CVE-2026-40090

cwe: CWE-22