Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-44973: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go-git go-billy

0
High
VulnerabilityCVE-2026-44973cvecve-2026-44973cwe-22
Published: 05/28/2026 (05/28/2026, 21:26:14 UTC)
Source: CVE Database V5
Vendor/Project: go-git
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

github.com/go-git/go-billy
pkg:golang/github.com/go-git/go-billy
Affected versions
<5.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/05/2026, 21:01:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses