{"id":"CVE-2026-44973","aliases":["CVE-2026-44973","GHSA-qw64-3x98-g7q2","GO-2026-5597"],"related":["CGA-w99c-3vgh-qrg5"],"kind":"vulnerability","state":"published","title":"Billy: Path traversal vulnerabilities","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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. 🙇","format":"markdown","source":"ghsa"},{"lang":"en","text":"Go-billy has path traversal vulnerabilities in github.com/go-git/go-billy","format":"markdown","source":"go"},{"lang":"es","text":"Billy es una abstracción de interfaz de sistema de archivos para Go. Antes de 5.9.0, existen múltiples problemas de salto de ruta en diferentes componentes de go-billy. Una sanitización de rutas y una aplicación de límites insuficientes pueden permitir que rutas manipuladas (por ejemplo, usando ..) escapen de los directorios base previstos. Aunque go-billy no fue diseñado originalmente para proporcionar un límite de seguridad robusto, algunos de estos problemas eran inconsistentes en algunas de las implementaciones integradas. Esto da lugar a escenarios en los que las aplicaciones que dependen de go-billy para cierto nivel de aislamiento pueden exponer inadvertidamente el acceso a ubicaciones del sistema de archivos no deseadas. Esta vulnerabilidad está corregida en 5.9.0.","source":"nvd"}],"published":"2026-05-14T18:25:38.000Z","modified":"2026-09-10T03:50:55.280Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 5.9.0","status":"affected"}],"vendor":"go-git","product":"go-billy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.9.0"}],"ecosystem":"Go","package":"github.com/go-git/go-billy/v5","purl":"pkg:golang/github.com/go-git/go-billy/v5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.0.0-alpha.1"}],"ecosystem":"Go","package":"github.com/go-git/go-billy/v6","purl":"pkg:golang/github.com/go-git/go-billy/v6","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.9.0"}],"ecosystem":"Go","package":"github.com/go-git/go-billy/v5","purl":"pkg:golang/github.com/go-git/go-billy/v5","source":"go"}],"references":[{"url":"https://github.com/go-git/go-billy/security/advisories/GHSA-qw64-3x98-g7q2","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44973","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/go-git/go-billy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/go-git/go-billy/releases/tag/v5.9.0","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/go-git/go-billy/pull/205","tags":["fix"],"sources":["go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-01T18:40:39.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44973","url":"https://www.cve.org/CVERecord?id=CVE-2026-44973","licence":"CVE Terms of Use","modified":"2026-06-01T18:41:01.788Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qw64-3x98-g7q2","url":"https://github.com/advisories/GHSA-qw64-3x98-g7q2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:55.280Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5597","url":"https://pkg.go.dev/vuln/GO-2026-5597","licence":"CC-BY-4.0","modified":"2026-08-08T21:41:53.102Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44973","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44973","licence":"Public domain","modified":"2026-07-21T10:10:00.103Z"}],"updatedAt":"2026-11-25T22:59:23.240Z","epss":{"score":0.0031,"percentile":0.25732,"date":"2026-12-02T12:00:21.000Z"}}