{"id":"CVE-2026-24137","published":"2026-01-23T00:04:19Z","modified":"2026-01-23T19:55:42Z","title":"sigstore legacy TUF client allows for arbitrary file writes with target cache path traversal","vendor":"sigstore","product":"sigstore","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.34046,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/sigstore/sigstore/security/advisories/GHSA-fcv2-xgw5-pqxf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sigstore/sigstore/commit/8ec410a2993ea78083aecf0e473a85453039496e","tags":["x_refsource_MISC"]},{"url":"https://github.com/sigstore/sigstore/releases/tag/v1.10.4","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.81},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"sigstore","affectedVersions":[{"vendor":"sigstore","product":"sigstore","versions":["< 1.10.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-23T19:55:31.439546Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/sigstore/sigstore","vulnerableRanges":["<1.10.4"],"patched":["1.10.4"],"from":["GHSA-fcv2-xgw5-pqxf","GO-2026-4358"],"provenance":"source"}],"summary":{"text":"The sigstore Go library's legacy TUF client (pkg/tuf/client.go) fails to confine disk cache writes to the cache directory: it joins the cache base path with a target name taken from signed TUF metadata without checking that the result stays inside that directory, affecting sigstore/sigstore versions 1.10.3 and below. An attacker who can supply a malicious TUF repository, with the calling process's file permissions, can overwrite arbitrary files, but only in clients that use the legacy TUF client directly or run older Cosign, and disabling disk caching via SIGSTORE_NO_CACHE=true mitigates it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:25Z"},"euvd":{"id":"EUVD-2026-3781","exploited":false,"provenance":"source"}}