CVE-2026-40090

Source
https://cve.org/CVERecord?id=CVE-2026-40090
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40090.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40090
Aliases
Published
2026-04-14T23:46:18.804Z
Modified
2026-07-08T08:12:33.686466753Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L CVSS Calculator
Summary
Zarf has a Path Traversal via Malicious Package Metadata.Name — Arbitrary File Write
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40090.json"
}
References

Affected packages

Git / github.com/zarf-dev/zarf

Affected ranges

Type
GIT
Repo
https://github.com/zarf-dev/zarf
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.23.0"
        },
        {
            "fixed": "0.74.2"
        }
    ],
    "cpe": "cpe:2.3:a:lfprojects:zarf:*:*:*:*:*:*:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

Other
nightly
v0.*
v0.23.0
v0.23.1
v0.23.2
v0.23.3
v0.23.4
v0.23.5
v0.23.6
v0.24.0
v0.24.0-rc1
v0.24.0-rc4
v0.24.0-rc5
v0.24.1
v0.24.2
v0.24.3
v0.25.0
v0.25.0-rc1
v0.25.0-rc2
v0.25.1
v0.25.2
v0.26.0
v0.26.1
v0.26.2
v0.26.3
v0.26.4
v0.27.0
v0.27.1
v0.28.0
v0.28.1
v0.28.2
v0.28.3
v0.28.4
v0.29.0
v0.29.1
v0.29.2
v0.30.0
v0.30.0-rc1
v0.30.0-rc2
v0.30.1
v0.31.0
v0.31.0-rc1
v0.31.1
v0.31.2
v0.31.3
v0.31.4
v0.32.0
v0.32.0-rc1
v0.32.1
v0.32.2
v0.32.3
v0.32.4
v0.32.5
v0.32.6
v0.33.0
v0.33.1
v0.33.2
v0.34.0
v0.35.0
v0.36.0
v0.36.1
v0.37.0
v0.38.0
v0.38.1
v0.38.2
v0.38.3
v0.39.0
v0.40.0
v0.40.1
v0.41.0
v0.42.0
v0.42.1
v0.42.2
v0.43.0
v0.43.1
v0.44.0
v0.45.0
v0.46.0
v0.47.0
v0.48.0
v0.48.1
v0.49.0
v0.49.1
v0.50.0
v0.51.0
v0.52.0
v0.52.1
v0.53.0
v0.54.0
v0.55.0
v0.55.1
v0.55.2
v0.55.3
v0.55.4
v0.55.5
v0.55.6
v0.56.0
v0.57.0
v0.58.0
v0.58.0-rc1
v0.59.0
v0.60.0
v0.60.0-rc1
v0.61.0
v0.61.0-rc1
v0.61.1
v0.61.2
v0.62.0
v0.63.0
v0.63.0-rc1
v0.64.0
v0.65.0
v0.65.0-rc1
v0.65.1
v0.66.0
v0.67.0
v0.67.0-rc1
v0.68.0
v0.68.1
v0.69.0
v0.69.0-rc1
v0.70.0
v0.70.1
v0.71.0
v0.71.1
v0.72.0
v0.72.0-rc1
v0.73.0
v0.73.1
v0.73.1-rc1
v0.74.0
v0.74.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40090.json"