{"id":"UBUNTU-CVE-2026-24686","details":"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.","modified":"2026-05-20T16:24:46.124359136Z","published":"2026-01-27T01:16:00Z","upstream":["CVE-2026-24686"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-24686"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-24686"},{"type":"REPORT","url":"https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-jqc5-w2xx-5vq4"},{"type":"REPORT","url":"https://github.com/theupdateframework/go-tuf/commit/d361e2ea24e427581343dee5c7a32b485d79fcc0"},{"type":"REPORT","url":"https://github.com/theupdateframework/go-tuf/commit/d361e2ea24e427581343dee5c7a32b485d79fcc0"}],"affected":[{"package":{"name":"golang-github-theupdateframework-go-tuf","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-5","0.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-theupdateframework-go-tuf-dev","binary_version":"0.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-24686.json"}},{"package":{"name":"golang-github-theupdateframework-go-tuf","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+0.7.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-theupdateframework-go-tuf-dev","binary_version":"2.0.2+0.7.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-24686.json"}},{"package":{"name":"golang-github-theupdateframework-go-tuf","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-theupdateframework-go-tuf?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+0.7.0-1","2.3.0+0.7.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-theupdateframework-go-tuf-dev","binary_version":"2.3.0+0.7.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-24686.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}