Description
Billy is an interface filesystem abstraction for Go. Prior to 5.9.0, multiple path traversal issues exist across different components of go-billy. Insufficient path sanitization and boundary enforcement may allow crafted paths (e.g., using ..) to escape intended base directories. While go-billy was not originally designed to provide a strong security boundary, some of these issues were inconsistent across some of the built-in implementations. This results in scenarios where applications relying on go-billy for some level of isolation may inadvertently expose access to unintended filesystem locations. This vulnerability is fixed in 5.9.0.
Published: 2026-05-28
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Billy is an interface filesystem abstraction for Go. Prior to version 5.9.0, several components of go‑billy contain path traversal vulnerabilities that result from insufficient sanitization and boundary enforcement. Crafted paths containing directory traversal sequences such as '..' can escape the intended base directory, allowing read or write access to unintended filesystem locations. The CWE classification is 22. Because go‑billy was not originally engineered to provide a strong security boundary, applications that rely on it for isolation may inadvertently expose sensitive file system locations, enabling unauthorized data disclosure or modification.

Affected Systems

The affected product is go-git’s go‑billy filesystem abstraction. All releases prior to 5.9.0 are vulnerable; the advisory does not list specific sub‑versions, so any deployment using go‑billy before the 5.9.0 fix is at risk.

Risk and Exploitability

The CVSS score of 8.1 places this vulnerability in the high severity range, indicating serious potential impact on confidentiality, integrity, and availability. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog, meaning there is no confirmed exploitation record yet. Based on the description, it is inferred that if an attacker can influence the path input, crafted paths may escape the intended base directory. The likely attack vector depends on how the application exposes go‑billy; if user input is accepted without validation, the flaw could be exploited either locally or through a remote service that forwards path data. This inference is grounded solely in the stated lack of path sanitization.

Generated by OpenCVE AI on May 29, 2026 at 01:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to go‑billy version 5.9.0 or later to apply the vendor‑supplied fix.
  • If an upgrade is not immediately feasible, implement strict input validation or sanitization to reject or neutralize any path that contains directory traversal sequences before passing it to go‑billy.
  • Consider replacing go‑billy with a more secure filesystem abstraction that enforces boundaries, or redesign the application to avoid relying on go‑billy for isolation.

Generated by OpenCVE AI on May 29, 2026 at 01:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qw64-3x98-g7q2 go-billy has path traversal vulnerabilities
History

Fri, 29 May 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Go-git
Go-git go-billy
Vendors & Products Go-git
Go-git go-billy

Thu, 28 May 2026 22:15:00 +0000

Type Values Removed Values Added
Description Billy is an interface filesystem abstraction for Go. Prior to 5.9.0, multiple path traversal issues exist across different components of go-billy. Insufficient path sanitization and boundary enforcement may allow crafted paths (e.g., using ..) to escape intended base directories. While go-billy was not originally designed to provide a strong security boundary, some of these issues were inconsistent across some of the built-in implementations. This results in scenarios where applications relying on go-billy for some level of isolation may inadvertently expose access to unintended filesystem locations. This vulnerability is fixed in 5.9.0.
Title Billy: Path traversal vulnerabilities
Weaknesses CWE-22
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-28T21:26:35.183Z

Reserved: 2026-05-08T16:23:33.263Z

Link: CVE-2026-44973

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-05-28T22:16:59.937

Modified: 2026-05-29T16:32:14.400

Link: CVE-2026-44973

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T15:47:43Z

Weaknesses