CVE-2026-24686
MEDIUM 4.7CVSS 3.1go-tuf Path Traversal in TAP 4 Multirepo Client Allows Arbitrary File Write via Malicious Repository Names
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.
- Published
- 27 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-jqc5-w2xx-5vq4GO-2026-4377
- Sources
- NVDJSONOSV GHSA-jqc5-w2xx-5vq4JSONOSV GO-2026-4377JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | theupdateframework | go-tufcpe:2.3:a:theupdateframework:go-tuf:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.4.1 | 2.4.1 |
| OSV | Go | github.com/theupdateframework/go-tuf/v2 | < 2.4.1 | 2.4.1 |
References
- https://github.com/theupdateframework/go-tuf/commit/d361e2ea24e427581343dee5c7a32b485d79fcc0 · Patch, WEB, FIX
- https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-jqc5-w2xx-5vq4 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-24686 · ADVISORY
- https://github.com/theupdateframework/go-tuf · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jan 2026)