CVE-2026-24686
MEDIUM4.7EPSS 0.01%Path traversal in TAP 4 multirepo client allows arbitrary file write via repo names in github.com/theupdateframework/go-tuf
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.
Affected packages (3)
- Debian/golang-github-theupdateframework-go-tuffrom 0
- Go/github.com/theupdateframework/go-tuf/v2from 0, < 2.4.1
- Go/github.com/theupdateframework/go-tuf/v2from 0, < 2.4.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-24686
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-24686
- PATCHhttps://github.com/theupdateframework/go-tuf
- WEBhttps://github.com/theupdateframework/go-tuf/commit/d361e2ea24e427581343dee5c7a32b485d79fcc0
- WEBhttps://github.com/theupdateframework/go-tuf/security/advisories/GHSA-jqc5-w2xx-5vq4