{"id":"GHSA-qw64-3x98-g7q2","revision":"84f035146c604e7b9bff365b85409f2c","records":[{"revision":"84f035146c604e7b9bff365b85409f2c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-qw64-3x98-g7q2","aliases":["CVE-2026-44973","GO-2026-5597"],"title":"go-billy has path traversal vulnerabilities","description":"### Impact\nMultiple 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.\n\nWhile 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.\n\nThe `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())`.\n\nUsers 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).\n\n### Patches\nUsers 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.\n\n### Credits\nThanks to @faran66 and @vnykmshr for finding and separately reporting this issue privately to the go-git project. \uD83D\uDE47","state":0,"publishedAt":"2026-05-14T18:25:38+00:00","modifiedAt":"2026-09-10T03:50:55.2803548+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-git/go-billy/v5","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.9.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/go-git/go-billy/v6","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"6.0.0-alpha.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/go-git/go-billy/security/advisories/GHSA-qw64-3x98-g7q2","https://nvd.nist.gov/vuln/detail/CVE-2026-44973","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/v6.0.0-alpha.1"],"sourceUrl":"https://github.com/advisories/GHSA-qw64-3x98-g7q2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qw64-3x98-g7q2","identifiers":["GHSA-qw64-3x98-g7q2","CVE-2026-44973","GO-2026-5597"]},"retained":false,"historicalAffected":[]}],"coverage":[]}