CVE-2026-56860
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Go standard library | net/url | 0 < 1.25.13 | affected |
| Go standard library | net/url | 1.26.0-0 < 1.26.6 | affected |
| Go standard library | net/url | 1.27.0-0 < 1.27.0-rc.3 | affected |
Weaknesses
- CWE-407: Inefficient Algorithmic Complexity
References
- https://go.dev/cl/803681
- https://go.dev/issue/80494
- https://groups.google.com/g/golang-announce/c/94pEornpRlI
- https://pkg.go.dev/vuln/GO-2026-6218
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.