CVE-2026-40090: lfprojects zarf Path Traversal
Vulnerability summary
CVE-2026-40090 is a high (CVSS 7.1) Path Traversal vulnerability in lfprojects zarf. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 14-04-2026PublishedVulnerability first disclosed.
- 15-04-2026Last 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- OSV · GoEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
+0.07 pp
From 0.32% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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- github.com/zarf-dev/zarf/security/advisories/GHSA-pj97-4p9w-gx3qX Refsource CONFIRMWEBAdvisoryPatchVendor Advisory
- github.com/zarf-dev/zarfPACKAGE