Vulnerability Report: GO-2026-6218
- CVE-2026-56860
- Affects: net/url
- Published: Aug 13, 2026
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocations.
Affected Packages
-
PathVersionsSymbols
-
before go1.25.13, from go1.26.0-0 before go1.26.6, from go1.27.0-0 before go1.27.0-rc.3
Aliases
References
- https://go.dev/cl/803681
- https://go.dev/issue/80494
- https://groups.google.com/g/golang-announce/c/94pEornpRlI
- https://vuln.go.dev/ID/GO-2026-6218.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.