CVE-2026-24686Theupdateframework Go-tuf
Medium 4.7
Follow: this CVE · Theupdateframework · Theupdateframework Go-tuf We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.7
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 27, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go-tuf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/theupdateframework/go-tuf/v2 |
< 2.4.1 |
2.4.1 |
go get github.com/theupdateframework/go-tuf/v2@v2.4.1 |
| Go | github.com/theupdateframework/go-tuf/v2 |
< 2.4.1 |
2.4.1 |
go get github.com/theupdateframework/go-tuf/v2@v2.4.1 |
Per OSV / GitHub Advisories (GHSA-jqc5-w2xx-5vq4, GO-2026-4377). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| theupdateframework | go-tuf | ≥ 2.0.0 < 2.4.1 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- kyverno-1.18.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10664-1 · May 1, 2026 High
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0757-1 · Mar 3, 2026 Critical
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory