CVE-2026-44973
ADVISORY - githubSummary
Impact
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.
The osfs.ChrootOS implementation is notably affected by this vulnerability and is now deprecated in v5, removed at v6. Users are recommended to move on to osfs.BoundOS instead: osfs.New(path, WithBoundOS()).
Users requiring stronger security boundary enforcement are recommended to upgrade to v6, where the osfs implementation are backed by the traversal-resistant primitive os.Root.
Patches
Users should upgrade to a patched version in order to mitigate this vulnerability. Versions prior to v5 are likely to be affected, users are recommended to upgrade to a supported go-billy version.
Credits
Thanks to @faran66 and @vnykmshr for finding and separately reporting this issue privately to the go-git project. 🙇
Common Weakness Enumeration (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
GitHub
2.8
CVSS SCORE
8.1high| Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
|---|---|---|---|---|---|
| github.com/go-git/go-billy/v5 | golang | - | - | <5.9.0 | 5.9.0 |
| github.com/go-git/go-billy/v5 | golang | - | - | <0.0.0-20260506101607-237e529bb8de | 0.0.0-20260506101607-237e529bb8de |
| github.com/go-git/go-billy/v6 | golang | - | - | <6.0.0-alpha.1 | 6.0.0-alpha.1 |
| github.com/go-git/go-billy/v6 | golang | - | - | <0.0.0-20260511055104-13ded9edf4ef | 0.0.0-20260511055104-13ded9edf4ef |
CVSS:3 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.
The vulnerable system can be exploited without interaction from any user.
An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.
There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any or all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.
There is no impact to availability within the impacted component.
NIST
2.8
CVSS SCORE
8.1highDebian
-
Ubuntu
-
CVSS SCORE
N/AmediumGoLang
-
Chainguard
CGA-w99c-3vgh-qrg5
-
minimos
MINI-22w9-f6jr-qjx9
-
minimos
MINI-22wp-x7jr-5cxj
-
minimos
MINI-244m-8hpr-mc45
-
minimos
MINI-25qr-m9j8-f448
-
minimos
MINI-285f-qq36-4948
-
minimos
MINI-297j-wxvv-p25x
-
minimos
MINI-29wr-gffg-5427
-
minimos
MINI-2m56-r4wj-gx76
-
minimos
MINI-2mp7-vj87-78pj
-
minimos
MINI-2ph5-8p8v-hcc3
-
minimos
MINI-2wv9-7767-42w5
-
minimos
MINI-32hx-mwj6-q3rv
-
minimos
MINI-32p9-v882-3rxq
-
minimos
MINI-376f-4p2r-6ggj
-
minimos
MINI-393v-7cpp-wpw2
-
minimos
MINI-3q4g-94r3-gcgp
-
minimos
MINI-3qgc-qrg7-r563
-
minimos
MINI-3rxg-mx5g-9qcq
-
minimos
MINI-3x98-fp6p-mrwj
-
minimos
MINI-3xcr-mphg-29r4
-
minimos
MINI-423p-w8wm-xrj2
-
minimos
MINI-445j-g3jp-55hc
-
minimos
MINI-445p-c3xp-5grm
-
minimos
MINI-464v-9qh7-qf57
-
minimos
MINI-468m-gjpv-39g5
-
minimos
MINI-46wm-c9rj-85w7
-
minimos
MINI-4qjv-9x76-q43q
-
minimos
MINI-4wvm-7v6q-vv32
-
minimos
MINI-576v-9j3g-qxj7
-
minimos
MINI-59x8-hhj4-cj96
-
minimos
MINI-5c34-vfwg-cf3q
-
minimos
MINI-5fh2-3m5q-wv3c
-
minimos
MINI-5fm3-xv2q-hfgj
-
minimos
MINI-5p2w-jhjg-7w3q
-
minimos
MINI-5rh7-gw82-6pc4
-
minimos
MINI-5vm4-v75x-2gcr
-
minimos
MINI-657p-mrrg-4fjr
-
minimos
MINI-68vf-fjp9-pjp3
-
minimos
MINI-6g2p-3fhm-r59h
-
minimos
MINI-6h6x-gj72-cj49
-
minimos
MINI-6j65-xgjg-p65f
-
minimos
MINI-6jjx-g8mx-h3gj
-
minimos
MINI-6m53-9rr5-wmm4
-
minimos
MINI-6r23-g6vx-7hfc
-
minimos
MINI-6wf5-hm88-5w7h
-
minimos
MINI-6x73-xh6f-h4v8
-
minimos
MINI-7267-3rh2-pgj2
-
minimos
MINI-77v4-f966-pjf4
-
minimos
MINI-7ghp-wf97-pw45
-
minimos
MINI-7j2g-jhg9-wjhv
-
minimos
MINI-7v9r-m976-cc67
-
minimos
MINI-833p-rcr2-jvp6
-
minimos
MINI-89p3-xhf6-2q3g
-
minimos
MINI-8g5w-p3gc-63f3
-
minimos
MINI-8mjw-335h-843g
-
minimos
MINI-8qr6-39wx-xqf3
-
minimos
MINI-8xwv-xjr2-36pm
-
minimos
MINI-9287-4939-rvvh
-
minimos
MINI-97qj-rh9x-mgfw
-
minimos
MINI-9c9f-pxpj-6h2q
-
minimos
MINI-9cjh-3vx5-qg3w
-
minimos
MINI-9grv-prqr-ch8x
-
minimos
MINI-9h43-5g5m-mr5j
-
minimos
MINI-9h69-j9gr-8g93
-
minimos
MINI-9m53-6xpv-7r8m
-
minimos
MINI-9q95-73gr-33x2
-
minimos
MINI-9rpg-6h85-gccj
-
minimos
MINI-9rxh-gv88-273q
-
minimos
MINI-cg4j-f6jx-xr9r
-
minimos
MINI-cp8h-cwhx-gxr2
-
minimos
MINI-f6f7-3q88-gq2j
-
minimos
MINI-f822-6cjv-3cxj
-
minimos
MINI-fm3g-5w5g-p6x6
-
minimos
MINI-fpg8-q2jq-7fwr
-
minimos
MINI-fpqx-2gm4-7j59
-
minimos
MINI-g2r4-m59m-jhh4
-
minimos
MINI-g2vh-wcpv-hgg8
-
minimos
MINI-g3ff-3964-p7cg
-
minimos
MINI-g4qm-cjx4-879g
-
minimos
MINI-g863-xcxv-m848
-
minimos
MINI-gcfq-cvjq-6h36
-
minimos
MINI-ggrh-w467-2p56
-
minimos
MINI-gj3c-q7cx-v47g
-
minimos
MINI-gm3p-2cc8-95wr
-
minimos
MINI-gmg7-6mgj-qhhr
-
minimos
MINI-h2mm-6m79-3vr5
-
minimos
MINI-h4cc-r8q4-6w5g
-
minimos
MINI-h6g6-q8pc-hh4f
-
minimos
MINI-hc9w-x8jw-qc75
-
minimos
MINI-hcrf-gvg9-xg6j
-
minimos
MINI-hf33-vjrw-j9jv
-
minimos
MINI-hf45-7p3q-c4r3
-
minimos
MINI-hg25-9r48-5w8v
-
minimos
MINI-hgjp-9j6h-8j8j
-
minimos
MINI-hjmq-4rpv-g68r
-
minimos
MINI-hqf4-2mc9-gjgj
-
minimos
MINI-hvm8-f9x7-vgv3
-
minimos
MINI-hvxp-gr8m-4q6x
-
minimos
MINI-hx47-mw98-g5vh
-
minimos
MINI-hx58-48m8-wj7m
-
minimos
MINI-j2h9-w953-mw2r
-
minimos
MINI-j4c9-f278-fr5w
-
minimos
MINI-j5x5-cr4g-vjr7
-
minimos
MINI-j69h-gpqp-75cp
-
minimos
MINI-j963-7qvv-c52x
-
minimos
MINI-jgm2-p6r5-7w87
-
minimos
MINI-jhvr-v6m2-rxf2
-
minimos
MINI-jq5f-8v9m-mwjh
-
minimos
MINI-jrc7-v9c8-cv4v
-
minimos
MINI-m5c8-hh6m-wcxx
-
minimos
MINI-m8ww-34v7-4pgc
-
minimos
MINI-m9vq-7vp6-886x
-
minimos
MINI-mffx-j4qv-wm3f
-
minimos
MINI-mg24-v755-pj27
-
minimos
MINI-mgq5-9qj7-mpc8
-
minimos
MINI-mgrc-jgfg-4h4j
-
minimos
MINI-mhmc-jjpv-6qxv
-
minimos
MINI-mhrf-fjq8-hvvq
-
minimos
MINI-mjmm-vp66-mxjc
-
minimos
MINI-mqp3-46f9-7p37
-
minimos
MINI-mw97-pr43-wwrw
-
minimos
MINI-p23m-p7m5-f3pm
-
minimos
MINI-p2r2-wxwh-pr5f
-
minimos
MINI-p53j-jqvp-4vxw
-
minimos
MINI-p823-g969-jpj2
-
minimos
MINI-p966-gh94-5f7v
-
minimos
MINI-pcf4-hfmv-jmc6
-
minimos
MINI-pgjw-gwxc-rm4g
-
minimos
MINI-pmh5-jr8j-5p9v
-
minimos
MINI-pp33-5xfh-ww86
-
minimos
MINI-ppvx-fq59-w5fg
-
minimos
MINI-q394-3cxh-qqgv
-
minimos
MINI-q3m3-hp37-mwrc
-
minimos
MINI-q48r-fwfm-x7xc
-
minimos
MINI-qc6w-6r7f-4g69
-
minimos
MINI-qcpm-4j9v-phj8
-
minimos
MINI-qfpp-6g3x-4rm7
-
minimos
MINI-qgpf-hv99-xcph
-
minimos
MINI-qjrp-2863-9xp9
-
minimos
MINI-qjxc-56fv-8xx8
-
minimos
MINI-qwh8-qqrc-mgc3
-
minimos
MINI-qx52-mhj3-2r42
-
minimos
MINI-r3jm-929m-mw9p
-
minimos
MINI-r6f8-8vgj-h623
-
minimos
MINI-r9j3-q452-7fx2
-
minimos
MINI-r9jm-f3v9-9499
-
minimos
MINI-r9xm-qmqq-v2q3
-
minimos
MINI-rc87-mgmr-cqwv
-
minimos
MINI-rv3f-j8rf-c25f
-
minimos
MINI-rxr4-x4cp-888x
-
minimos
MINI-v48q-9c95-47vx
-
minimos
MINI-v4hp-g83w-2232
-
minimos
MINI-v77p-8g43-hm73
-
minimos
MINI-v7pw-xrj6-9gmm
-
minimos
MINI-v8rv-v4fw-23hv
-
minimos
MINI-vf2q-474x-73wr
-
minimos
MINI-vfph-2jfx-fcx6
-
minimos
MINI-vpxj-wxc6-cr6q
-
minimos
MINI-vrmw-94gv-f5hq
-
minimos
MINI-vw32-p44w-ff38
-
minimos
MINI-w34w-5w5h-9cj3
-
minimos
MINI-w39c-wg63-fppr
-
minimos
MINI-w5gf-h4f6-rq5r
-
minimos
MINI-w75c-6746-66mg
-
minimos
MINI-w7p2-7829-qqr3
-
minimos
MINI-x3pq-p839-wcf6
-
minimos
MINI-x7m4-8p3h-v5v8
-
minimos
MINI-x8mf-vv94-9wp6
-
minimos
MINI-xc6f-4vwf-cfgj
-
minimos
MINI-xgfr-vcpj-gpcm
-
minimos
MINI-xq9p-gv5p-mr6g
-
minimos
MINI-xv26-rfv6-q3xq
-
minimos
MINI-xvwf-xh72-j2m8
-