# CVE-2026-24686: go-tuf Path Traversal in TAP 4 Multirepo Client Allows Arbitrary File Write via Malicious Repository Names

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-26T23:49:55.000Z
- Modified: 2026-09-10T03:50:33.249Z
- Also known as: GHSA-jqc5-w2xx-5vq4, GO-2026-4377
- Related: CGA-hj3w-qhv4-jjc2
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- theupdateframework go-tuf: >= 2.0.0, < 2.4.1; from 2.0.0 before 2.4.1
- github.com/theupdateframework/go-tuf/v2 (Go): before 2.4.1

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-jqc5-w2xx-5vq4> (exploit, advisory, vendor-advisory, web)
- <https://github.com/theupdateframework/go-tuf/commit/d361e2ea24e427581343dee5c7a32b485d79fcc0> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24686> (advisory)
- <https://github.com/theupdateframework/go-tuf> (package)

## Sources

- CVE List: [CVE-2026-24686](https://www.cve.org/CVERecord?id=CVE-2026-24686), CVE Terms of Use, modified 2026-01-27
- GitHub Advisory Database: [GHSA-jqc5-w2xx-5vq4](https://github.com/advisories/GHSA-jqc5-w2xx-5vq4), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4377](https://pkg.go.dev/vuln/GO-2026-4377), CC-BY-4.0, modified 2026-02-26
- NVD: [CVE-2026-24686](https://nvd.nist.gov/vuln/detail/CVE-2026-24686), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24686 · Whole record: https://cve.day/CVE-2026-24686.json · Rebuilt by cve.day 2026-11-25T22:59:13.206Z
