{"id":"CVE-2026-24686","published":"2026-01-27T00:45:43Z","modified":"2026-01-27T14:40:01Z","title":"go-tuf Path Traversal in TAP 4 Multirepo Client Allows Arbitrary File Write via Malicious Repository Names","vendor":"theupdateframework","product":"go-tuf","tier":"tail","description":{"text":"go-tuf is a Go implementation of The Update Framework (TUF). go-tuf's TAP 4 Multirepo Client uses the map file repository name string (`repoName`) as a filesystem path component when selecting the local metadata cache directory. Starting in version 2.0.0 and prior to version 2.4.1, if an application accepts a map file from an untrusted source, an attacker can supply a `repoName` containing traversal (e.g., `../escaped-repo`) and cause go-tuf to create directories and write the root metadata file outside the intended `LocalMetadataDir` cache base, within the running process's filesystem permissions. Version 2.4.1 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00231,"percentile":0.14273,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-jqc5-w2xx-5vq4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/theupdateframework/go-tuf/commit/d361e2ea24e427581343dee5c7a32b485d79fcc0","tags":["x_refsource_MISC"]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":2.85},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"theupdateframework","affectedVersions":[{"vendor":"theupdateframework","product":"go-tuf","versions":[">= 2.0.0, < 2.4.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T14:39:18.006561Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/theupdateframework/go-tuf/v2","vulnerableRanges":["<2.4.1"],"patched":["2.4.1"],"from":["GHSA-jqc5-w2xx-5vq4","GO-2026-4377"],"provenance":"source"}],"summary":{"text":"The go-tuf library's TAP 4 Multirepo Client, in versions 2.0.0 up to 2.4.1, uses the repository name from a map file as a filesystem path component when choosing its local metadata cache directory, without restricting it to that base directory. An attacker who can supply a map file to an application that accepts input from an untrusted source, with the request processed under the running process's filesystem permissions, can use traversal sequences in the repository name to create directories and write root metadata files outside the intended cache location.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:30Z"},"euvd":{"id":"EUVD-2026-4837","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-47534","published":"2024-10-01","fixed":"2.0.1","kev":false},{"cve":"CVE-2026-23991","published":"2026-01-22","fixed":"2.3.1","kev":false},{"cve":"CVE-2026-23992","published":"2026-01-22","fixed":"2.3.1","kev":false,"link":{"from":"CVE-2026-23992","to":"CVE-2026-24686","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/theupdateframework/go-tuf/v2","fromFixed":"2.3.1","toFixed":"2.4.1","daysApart":5}]}},{"cve":"CVE-2026-24686","published":"2026-01-27","fixed":"2.4.1","kev":false}],"package":"Go:github.com/theupdateframework/go-tuf/v2"}}