github.com/defenseunicorns/zarf
Affected
- introduced
0.23.0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: CVE-2026-40090, GHSA-pj97-4p9w-gx3q
Path traversal via malicious package name in github.com/zarf-dev/zarf
A path traversal vulnerability in Zarf allows an attacker to write arbitrary files on the host system by providing a malicious package name in the package metadata. This occurs when Zarf generates SBOM or documentation outputs, or when creating a package, as it fails to properly sanitize the package name before using it in a file path.
Not rated by the source.
0.23.0 (semver)None listed
No fixed version is listed.
0.37.0, fixed 0.74.2 (semver)0.74.2
0.74.2go get github.com/zarf-dev/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0