chore(deps): update module github.com/go-git/go-billy/v5 from v5.8.0 to v5.9.0 [security] #2

Merged
webmatix-renovate merged 1 commit from renovate/go-github.com-go-git-go-billy-v5-vulnerability into main 2026-07-26 02:01:31 +02:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/go-git/go-billy/v5 indirect minor v5.8.0v5.9.0

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

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 OSV and the GitHub Advisory Database (CC-BY 4.0).


go-billy has path traversal vulnerabilities

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

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 OSV and the GitHub Advisory Database (CC-BY 4.0).


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

More information

Details

Go-billy: Symlink resolution lack of cycle detection leads to infinite loop in github.com/go-git/go-billy

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Go-billy has path traversal vulnerabilities in github.com/go-git/go-billy

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

More information

Details

Go-billy has path traversal vulnerabilities in github.com/go-git/go-billy

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability 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: https://github.com/go-git/go-billy/compare/v5.8.0...v5.9.0


Configuration

📅 Schedule: (in timezone Europe/Vienna)

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy) | indirect | minor | `v5.8.0` → `v5.9.0` | --- ### go-billy: Lack of depth and cycle detection in symlink resolution may lead to infinite loops and resource exhaustion [CVE-2026-44740](https://nvd.nist.gov/vuln/detail/CVE-2026-44740) / [GHSA-m3xc-h892-ggx6](https://github.com/advisories/GHSA-m3xc-h892-ggx6) / [GO-2026-5490](https://pkg.go.dev/vuln/GO-2026-5490) <details> <summary>More information</summary> #### 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 @&#8203;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 - [https://github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6](https://github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6) - [https://nvd.nist.gov/vuln/detail/CVE-2026-44740](https://nvd.nist.gov/vuln/detail/CVE-2026-44740) - [https://github.com/go-git/go-billy](https://github.com/go-git/go-billy) - [https://github.com/go-git/go-billy/releases/tag/v5.9.0](https://github.com/go-git/go-billy/releases/tag/v5.9.0) - [https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1](https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-m3xc-h892-ggx6) and the [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md)). </details> --- ### go-billy has path traversal vulnerabilities [CVE-2026-44973](https://nvd.nist.gov/vuln/detail/CVE-2026-44973) / [GHSA-qw64-3x98-g7q2](https://github.com/advisories/GHSA-qw64-3x98-g7q2) / [GO-2026-5597](https://pkg.go.dev/vuln/GO-2026-5597) <details> <summary>More information</summary> #### 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](https://go.dev/blog/osroot) primitive [os.Root](https://pkg.go.dev/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 @&#8203;faran66 and @&#8203;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 - [https://github.com/go-git/go-billy/security/advisories/GHSA-qw64-3x98-g7q2](https://github.com/go-git/go-billy/security/advisories/GHSA-qw64-3x98-g7q2) - [https://nvd.nist.gov/vuln/detail/CVE-2026-44973](https://nvd.nist.gov/vuln/detail/CVE-2026-44973) - [https://github.com/go-git/go-billy](https://github.com/go-git/go-billy) - [https://github.com/go-git/go-billy/releases/tag/v5.9.0](https://github.com/go-git/go-billy/releases/tag/v5.9.0) - [https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1](https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-qw64-3x98-g7q2) and the [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md)). </details> --- ### Go-billy: Symlink resolution lack of cycle detection leads to infinite loop in github.com/go-git/go-billy [CVE-2026-44740](https://nvd.nist.gov/vuln/detail/CVE-2026-44740) / [GHSA-m3xc-h892-ggx6](https://github.com/advisories/GHSA-m3xc-h892-ggx6) / [GO-2026-5490](https://pkg.go.dev/vuln/GO-2026-5490) <details> <summary>More information</summary> #### Details Go-billy: Symlink resolution lack of cycle detection leads to infinite loop in github.com/go-git/go-billy #### Severity Unknown #### References - [https://github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6](https://github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6) - [https://github.com/go-git/go-billy/pull/203](https://github.com/go-git/go-billy/pull/203) - [https://github.com/go-git/go-billy/releases/tag/v5.9.0](https://github.com/go-git/go-billy/releases/tag/v5.9.0) This data is provided by [OSV](https://osv.dev/vulnerability/GO-2026-5490) and the [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license)). </details> --- ### Go-billy has path traversal vulnerabilities in github.com/go-git/go-billy [CVE-2026-44973](https://nvd.nist.gov/vuln/detail/CVE-2026-44973) / [GHSA-qw64-3x98-g7q2](https://github.com/advisories/GHSA-qw64-3x98-g7q2) / [GO-2026-5597](https://pkg.go.dev/vuln/GO-2026-5597) <details> <summary>More information</summary> #### Details Go-billy has path traversal vulnerabilities in github.com/go-git/go-billy #### Severity Unknown #### References - [https://github.com/go-git/go-billy/security/advisories/GHSA-qw64-3x98-g7q2](https://github.com/go-git/go-billy/security/advisories/GHSA-qw64-3x98-g7q2) - [https://github.com/go-git/go-billy/pull/205](https://github.com/go-git/go-billy/pull/205) - [https://github.com/go-git/go-billy/releases/tag/v5.9.0](https://github.com/go-git/go-billy/releases/tag/v5.9.0) This data is provided by [OSV](https://osv.dev/vulnerability/GO-2026-5597) and the [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license)). </details> --- ### Release Notes <details> <summary>go-git/go-billy (github.com/go-git/go-billy/v5)</summary> ### [`v5.9.0`](https://github.com/go-git/go-billy/releases/tag/v5.9.0) [Compare Source](https://github.com/go-git/go-billy/compare/v5.8.0...v5.9.0) #### What's Changed - Use path.Clean instead of filepath.Clean in iofs.Open by [@&#8203;puerco](https://github.com/puerco) in [#&#8203;197](https://github.com/go-git/go-billy/pull/197) - Deprecate ChrootOS in favour of BoundOS by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;201](https://github.com/go-git/go-billy/pull/201) - General Improvements by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;203](https://github.com/go-git/go-billy/pull/203) - osfs: ChrootOS eval baseDir on creation by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;205](https://github.com/go-git/go-billy/pull/205) - Run go-git tests as part of integration tests by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;206](https://github.com/go-git/go-billy/pull/206) **Full Changelog**: <https://github.com/go-git/go-billy/compare/v5.8.0...v5.9.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Vienna) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODAuNCIsInVwZGF0ZWRJblZlciI6IjQzLjI4MC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
webmatix-renovate scheduled this pull request to auto merge when all checks succeed 2026-07-26 02:01:31 +02:00
Author
Collaborator

ℹ️ 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):

  • 4 additional dependencies were updated

Details:

Package Change
github.com/cyphar/filepath-securejoin v0.4.1 -> v0.6.1
golang.org/x/crypto v0.45.0 -> v0.50.0
golang.org/x/net v0.47.0 -> v0.53.0
golang.org/x/sys v0.38.0 -> v0.43.0
### ℹ️ 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): - 4 additional dependencies were updated Details: | **Package** | **Change** | | :-------------------------------------- | :--------------------- | | `github.com/cyphar/filepath-securejoin` | `v0.4.1` -> `v0.6.1` | | `golang.org/x/crypto` | `v0.45.0` -> `v0.50.0` | | `golang.org/x/net` | `v0.47.0` -> `v0.53.0` | | `golang.org/x/sys` | `v0.38.0` -> `v0.43.0` |
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
webmatix/dotrig!2
No description provided.