{"id":"GO-2026-5542","revision":"c45695f6aab140febec69314104d12cf","records":[{"revision":"c45695f6aab140febec69314104d12cf","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5542","aliases":["CVE-2026-40090","GHSA-pj97-4p9w-gx3q"],"title":"Path traversal via malicious package name in github.com/zarf-dev/zarf","description":"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.","state":0,"publishedAt":"2026-07-23T16:32:52+00:00","modifiedAt":"2026-07-23T17:00:24.6172467+00:00","affected":[{"ecosystem":"Go","name":"github.com/defenseunicorns/zarf","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.23.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/zarf-dev/zarf","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.37.0"},{"kind":"fixed","version":"0.74.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/zarf-dev/zarf/security/advisories/GHSA-pj97-4p9w-gx3q","https://github.com/zarf-dev/zarf/pull/4793"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5542","license":"OSV · upstream source license applies","key":"osv:GO-2026-5542","identifiers":["GO-2026-5542","CVE-2026-40090","GHSA-pj97-4p9w-gx3q"]},"retained":false,"historicalAffected":[]}],"coverage":[]}