CVE-2026-44973: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go-git go-billy
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.
AI Analysis
Technical Summary
go-billy is a filesystem abstraction interface for Go. Before version 5.9.0, it contained multiple path traversal vulnerabilities due to improper limitation of pathnames to restricted directories (CWE-22). These issues stem from inconsistent path sanitization and boundary enforcement across built-in implementations, allowing crafted paths (e.g., using '..') to escape the intended base directory. Applications relying on go-billy for isolation may inadvertently expose unintended filesystem locations. The vulnerability is addressed in go-billy 5.9.0.
Potential Impact
Successful exploitation can allow an attacker with limited privileges (PR:L) to bypass directory restrictions and access or read files outside the intended directory boundaries, potentially leading to disclosure of sensitive information (high confidentiality impact) and integrity compromise. Availability is not impacted. No known active exploits have been reported.
Mitigation Recommendations
Upgrade to go-billy version 5.9.0 or later, where this path traversal vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is resolved in 5.9.0. No alternative mitigations are indicated.
CVE-2026-44973: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go-git go-billy
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.
CVSS v3.1
Score 8.1high
Affected software
pkg:golang/github.com/go-git/go-billyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
go-billy is a filesystem abstraction interface for Go. Before version 5.9.0, it contained multiple path traversal vulnerabilities due to improper limitation of pathnames to restricted directories (CWE-22). These issues stem from inconsistent path sanitization and boundary enforcement across built-in implementations, allowing crafted paths (e.g., using '..') to escape the intended base directory. Applications relying on go-billy for isolation may inadvertently expose unintended filesystem locations. The vulnerability is addressed in go-billy 5.9.0.
Potential Impact
Successful exploitation can allow an attacker with limited privileges (PR:L) to bypass directory restrictions and access or read files outside the intended directory boundaries, potentially leading to disclosure of sensitive information (high confidentiality impact) and integrity compromise. Availability is not impacted. No known active exploits have been reported.
Mitigation Recommendations
Upgrade to go-billy version 5.9.0 or later, where this path traversal vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is resolved in 5.9.0. No alternative mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-08T16:23:33.263Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a18bf3ae29bf47b50390f22
Added to database: 05/28/2026, 22:18:34 UTC
Last enriched: 06/05/2026, 21:01:08 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.