Directory Traversal Affecting cosign-zsh-completion package, versions <3.0.5-150400.3.35.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-COSIGNZSHCOMPLETION-15371684
  • published4 Mar 2026
  • disclosed3 Mar 2026

Introduced: 3 Mar 2026

CVE-2026-24137  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 cosign-zsh-completion to version 3.0.5-150400.3.35.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cosign-zsh-completion package and not the cosign-zsh-completion package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

sigstore framework is a common go library shared across sigstore services and clients. In versions 1.10.3 and below, the legacy TUF client (pkg/tuf/client.go) supports caching target files to disk. It constructs a filesystem path by joining a cache base directory with a target name sourced from signed target metadata; however, it does not validate that the resulting path stays within the cache base directory. A malicious TUF repository can trigger arbitrary file overwriting, limited to the permissions that the calling process has. Note that this should only affect clients that are directly using the TUF client in sigstore/sigstore or are using an older version of Cosign. Public Sigstore deployment users are unaffected, as TUF metadata is validated by a quorum of trusted collaborators. This issue has been fixed in version 1.10.4. As a workaround, users can disable disk caching for the legacy client by setting SIGSTORE_NO_CACHE=true in the environment, migrate to https://github.com/sigstore/sigstore-go/tree/main/pkg/tuf, or upgrade to the latest sigstore/sigstore release.

CVSS Base Scores

version 3.1