GO-2026-6218
Dashboard / Vulnerabilities / GO-2026-6218
GO-2026-6218
Published: 13 Aug 2026Last Modified: 11 Sept 2026
Summary: Avoid quadratic complexity in resolvePath in net/url
Details: 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.
References: https://go.dev/cl/803681, https://go.dev/issue/80494, https://groups.google.com/g/golang-announce/c/94pEornpRlI
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.25.13
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
