Live threats

All CVEs / Lfprojects

CVE-2026-40090Lfprojects Zarf

High 7.1 No auth needed

Priority
58
CVSS 3.1
7.1
EPSS
—
Auth required
No
Published
Apr 15, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Zarf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/defenseunicorns/zarf ≥ 0.23.0 no fixed version —
Go github.com/zarf-dev/zarf ≥ 0.23.0 < 0.74.2 0.74.2 go get github.com/zarf-dev/zarf@v0.74.2
Go github.com/zarf-dev/zarf ≥ 0.37.0 < 0.74.2 0.74.2 go get github.com/zarf-dev/zarf@v0.74.2

Per OSV / GitHub Advisories (GO-2026-5542, GHSA-pj97-4p9w-gx3q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lfprojectszarf≥ 0.23.0 < 0.74.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.