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.
Published: 2026-01-27
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write
Action: Patch
AI Analysis

Impact

A path‑traversal flaw in the TAP 4 Multirepo Client of the go‑tuf library lets an attacker supply a repository name containing directory traversal sequences such as "../escaped-repo". When the library processes such a name it treats it as a filesystem path component and writes the root metadata file outside the intended LocalMetadataDir cache base, creating arbitrary files with the process’s permissions. This can compromise local files and, if executed with elevated privileges, lead to privilege escalation or code execution.

Affected Systems

The Update Framework (go‑tuf) is affected. Vulnerable versions start at 2.0.0 and are fixed in version 2.4.1. Any installation of go‑tuf between these releases that accepts map files from untrusted sources is at risk.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, but the EPSS score of less than 1 % signals a very low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. Attackers would need to supply a malicious map file to the application or otherwise control the repoName value; thus the attack vector is contingent on the application’s trust model, ranging from local to remote depending on how map files are obtained.

Generated by OpenCVE AI on April 18, 2026 at 02:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the go‑tuf library to 2.4.1 or later, where the vulnerability is patched.
  • Validate or restrict map files obtained from external sources so that only trusted repositories are processed by TAP 4. Multirepo Client.
  • Sanitize or reject repository names that contain path‑traversal characters before passing them to the library.

Generated by OpenCVE AI on April 18, 2026 at 02:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jqc5-w2xx-5vq4 go-tuf Path Traversal in TAP 4 Multirepo Client Allows Arbitrary File Write via Malicious Repository Names
History

Tue, 24 Feb 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:theupdateframework:go-tuf:*:*:*:*:*:*:*:*

Thu, 29 Jan 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 27 Jan 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 27 Jan 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Theupdateframework
Theupdateframework go-tuf
Vendors & Products Theupdateframework
Theupdateframework go-tuf

Tue, 27 Jan 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Title go-tuf Path Traversal in TAP 4 Multirepo Client Allows Arbitrary File Write via Malicious Repository Names
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Theupdateframework Go-tuf
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-27T14:40:01.511Z

Reserved: 2026-01-23T20:40:23.389Z

Link: CVE-2026-24686

cve-icon Vulnrichment

Updated: 2026-01-27T14:39:48.632Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-27T01:16:02.790

Modified: 2026-02-24T19:08:46.017

Link: CVE-2026-24686

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-01-27T00:45:43Z

Links: CVE-2026-24686 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T02:45:27Z

Weaknesses