CVE Catalog

CVE-2026-24137

MediumCVSS 5.8
Published: Updated: Translated: NVD NIST

Summary

The sigstore/sigstore library in versions 1.10.3 and below contains a vulnerability in the legacy TUF client that does not validate whether the target file path stays within the cache base directory. A malicious TUF repository can trigger arbitrary file overwriting limited to the permissions of the calling process.

Risk Assessment

Organizations using older Cosign versions or directly using the TUF client from sigstore/sigstore are exposed to file overwriting by a malicious TUF repository, which can compromise system integrity. Public Sigstore deployments are unaffected because TUF metadata is validated by a quorum of trusted collaborators.

Recommendation

Upgrade sigstore/sigstore to version 1.10.4 or later. As a workaround, disable disk caching by setting SIGSTORE_NO_CACHE=true in the environment, or migrate to sigstore-go/pkg/tuf.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS