Skip to content

Update module github.com/go-git/go-billy/v5 to v5.9.0 [SECURITY] - #752

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-go-git-go-billy-v5-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-go-git-go-billy-v5-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/go-git/go-billy/v5 v5.6.0 → v5.9.0 age confidence

go-billy: Lack of depth and cycle detection in symlink resolution may lead to infinite loops and resource exhaustion

CVE-2026-44740 / GHSA-m3xc-h892-ggx6

More information

Details

Impact

Multiple components may improperly handle crafted or malformed input, resulting in panics, infinite loops, uncontrolled recursion, or excessive resource consumption.

These issues arise from insufficient validation and missing safety mechanisms such as cycle detection, recursion limits, or defensive handling of unexpected states when processing untrusted repository data and filesystem structures.

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 for finding and reporting this issue privately to the go-git project. 🙇

Severity

  • CVSS Score: 6.5 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


go-billy has path traversal vulnerabilities

CVE-2026-44973 / GHSA-qw64-3x98-g7q2

More information

Details

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. 🙇

Severity

  • CVSS Score: 8.1 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

go-git/go-billy (github.com/go-git/go-billy/v5)

v5.9.0

Compare Source

What's Changed

Full Changelog: go-git/go-billy@v5.8.0...v5.9.0

v5.8.0

Compare Source

What's Changed

Full Changelog: go-git/go-billy@v5.7.0...v5.8.0

v5.7.0

Compare Source

What's Changed

Full Changelog: go-git/go-billy@v5.6.2...v5.7.0

v5.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: go-git/go-billy@v5.6.1...v5.6.2

v5.6.1

Compare Source

What's Changed

Full Changelog: go-git/go-billy@v5.6.0...v5.6.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated

Details:

Package Change
golang.org/x/text v0.34.0 -> v0.36.0
github.com/cyphar/filepath-securejoin v0.3.2 -> v0.6.1
golang.org/x/crypto v0.47.0 -> v0.50.0
golang.org/x/net v0.49.0 -> v0.53.0
golang.org/x/sync v0.19.0 -> v0.20.0
golang.org/x/sys v0.40.0 -> v0.43.0

@github-actions

Copy link
Copy Markdown

Overview

Image reference ghcr.io/gatewayd-io/gatewayd:738b7a5 gatewaydio/gatewayd:latest
- digest a76a314ea821 a40a6b49f8e3
- tag 738b7a5 latest
- provenance bb73104
- vulnerabilities critical: 14 high: 34 medium: 24 low: 9 unspecified: 2 critical: 19 high: 72 medium: 45 low: 13 unspecified: 2
- platform linux/amd64 linux/amd64
- size 22 MB 20 MB (-2.6 MB)
- packages 149 145 (-4)
Base Image alpine:3.23
also known as:
• 3.23.6
alpine:3.23
also known as:
• 3
• latest
- vulnerabilities critical: 0 high: 1 medium: 1 low: 0 critical: 4 high: 22 medium: 8 low: 3
Packages and Vulnerabilities (24 package changes and 41 vulnerability changes)
  • ➖ 4 packages removed
  • ♾️ 20 packages changed
  • 125 packages unchanged
  • ❗ 41 vulnerabilities added
Changes for packages of type apk (15 changes)
Package Version
ghcr.io/gatewayd-io/gatewayd:738b7a5
Version
gatewaydio/gatewayd:latest
➖ alpine-base 3.23.6-r0
♾️ alpine-baselayout 3.7.2-r0 3.7.1-r8
♾️ alpine-baselayout-data 3.7.2-r0 3.7.1-r8
♾️ alpine-release 3.23.6-r0 3.23.3-r0
♾️ apk-tools 3.0.8-r0 3.0.3-r1
➖ ca-certificates 20260909-r0
♾️ ca-certificates-bundle 20260909-r0 20251003-r0
♾️ libapk 3.0.8-r0 3.0.3-r1
♾️ libcrypto3 3.5.8-r0 3.5.5-r0
♾️ libssl3 3.5.8-r0 3.5.5-r0
critical: 4 high: 20 medium: 0 low: 0
Added vulnerabilities (24):
  • critical : CVE--2026--63073
  • critical : CVE--2026--31789
  • critical : CVE--2026--75803
  • critical : CVE--2026--34182
  • high : CVE--2026--45447
  • high : CVE--2026--7383
  • high : CVE--2026--28387
  • high : CVE--2026--9076
  • high : CVE--2026--63076
  • high : CVE--2026--63075
  • high : CVE--2026--63072
  • high : CVE--2026--54874
  • high : CVE--2026--45445
  • high : CVE--2026--42764
  • high : CVE--2026--34183
  • high : CVE--2026--34180
  • high : CVE--2026--31790
  • high : CVE--2026--28390
  • high : CVE--2026--28389
  • high : CVE--2026--28388
  • high : CVE--2026--18798
  • high : CVE--2026--14457
  • high : CVE--2026--14456
  • high : CVE--2026--34181
♾️ musl 1.2.5-r23 1.2.5-r21
critical: 0 high: 1 medium: 0 low: 0
Added vulnerabilities (1):
  • high : CVE--2026--40200
♾️ musl-utils 1.2.5-r23 1.2.5-r21
➖ openssl 3.5.8-r0
➖ pax-utils 1.3.8-r2
♾️ zlib 1.3.2-r0 1.3.1-r2
critical: 0 high: 1 medium: 0 low: 0 critical: 0 high: 1 medium: 0 low: 0
Changes for packages of type golang (9 changes)
Package Version
ghcr.io/gatewayd-io/gatewayd:738b7a5
Version
gatewaydio/gatewayd:latest
♾️ github.com/cyphar/filepath-securejoin 0.6.1 0.3.2
♾️ github.com/gatewayd-io/gatewayd 0.0.0-20261016075146-738b7a5f6c38+dirty 0.11.1
♾️ github.com/go-git/go-billy/v5 5.9.0 5.6.0
critical: 0 high: 1 medium: 0 low: 0
Added vulnerabilities (1):
  • high : CVE--2026--44973
♾️ golang.org/x/crypto 0.50.0 0.47.0
critical: 7 high: 5 medium: 0 low: 0 critical: 7 high: 5 medium: 0 low: 0
♾️ golang.org/x/net 0.53.0 0.49.0
critical: 2 high: 5 medium: 0 low: 0 critical: 2 high: 6 medium: 0 low: 0
Added vulnerabilities (1):
  • high : CVE--2026--33814
♾️ golang.org/x/sync 0.20.0 0.19.0
♾️ golang.org/x/sys 0.43.0 0.40.0
♾️ golang.org/x/text 0.36.0 0.34.0
critical: 0 high: 1 medium: 0 low: 0 critical: 0 high: 1 medium: 0 low: 0
♾️ stdlib 1.25.14 1.25.7
critical: 2 high: 9 medium: 0 low: 0 critical: 3 high: 24 medium: 0 low: 0
critical: +1
Added vulnerabilities (16):
  • critical : CVE--2026--39821
  • high : CVE--2026--39822
  • high : CVE--2026--56862
  • high : CVE--2026--56859
  • high : CVE--2026--56853
  • high : CVE--2026--42504
  • high : CVE--2026--42499
  • high : CVE--2026--39836
  • high : CVE--2026--39820
  • high : CVE--2026--33818
  • high : CVE--2026--33814
  • high : CVE--2026--33811
  • high : CVE--2026--32283
  • high : CVE--2026--32281
  • high : CVE--2026--32280
  • high : CVE--2026--25679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants