CVE-2026-40090: zarf · Path Traversal
Affects zarfSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 0.74.2 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.74.2, 0.74.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 14 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade zarf to 0.74.2; zarf-dev/zarf to 0.74.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| zarf-devzarf | Affected
| Fixed in
|
GitHubzarf-dev/zarfpkg:github/zarf-dev/zarfOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in zarf version 0.74.2. Users should upgrade to version 0.74.2 or later to remediate this issue. Patch status is not explicitly stated in the vendor advisory, but the fix is included in the specified version. Until upgrading, avoid running the vulnerable subcommands on untrusted packages or in environments where arbitrary file writes could cause harm.
Description
Zarf versions 0.23.0 through 0.74.1 contain a path traversal vulnerability in the 'zarf package inspect sbom' and 'zarf package inspect documentation' subcommands. These subcommands construct output file paths by joining a user-controlled output directory with the package's Metadata. Name field, which can be manipulated by an attacker after unarchiving a package. This allows writing arbitrary files to locations on the filesystem accessible by the user running the command. The vulnerability is fixed in version 0.74.