7.1

CVE-2026-40090: Zarf has a Path Traversal via Malicious Package Metadata.Name — Arbitrary File Write

Analyzed
AliasesGHSA-pj97-4p9w-gx3qGO-2026-5542
Published 14-04-2026Last modified 15-04-2026

Vulnerability summary

CVE-2026-40090 is a high (CVSS 7.1) vulnerability in lfprojects zarf. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 28.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 14-04-2026
    PublishedVulnerability first disclosed.
  2. 15-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/defenseunicorns1 product
  • zarf≥ 0.23.0 (No fix recorded)
Github.com/zarf-dev1 product
  • zarf≥ 0.23.0, < 0.74.2 | ≥ 0.37.0, < 0.74.2
Lfprojects1 product
  • zarf≥ 0.23.0, < 0.74.2
Zarf-dev1 product
  • zarf≥ 0.23.0, < 0.74.2

4 vendors · 4 products

References

4 links