{"id":"CVE-2026-56860","published":"2026-08-13T21:58:53Z","modified":"2026-08-14T16:14:39Z","title":"Avoid quadratic complexity in resolvePath in net/url","vendor":"Go standard library","product":"net/url","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00533,"percentile":0.38453,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://go.dev/cl/803681","tags":[]},{"url":"https://go.dev/issue/80494","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6218","tags":[]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":7.69},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/url","versions":["< 1.25.13",">= 1.26.0-0, < 1.26.6",">= 1.27.0-0, < 1.27.0-rc.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T16:14:34.601382Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.13",">=1.26.0-0, <1.26.6",">=1.27.0-0, <1.27.0-rc.3"],"patched":["1.25.13","1.26.6","1.27.0-rc.3"],"from":["GO-2026-6218"],"provenance":"source"}],"summary":{"text":"The flaw is in the resolvePath function of the net/url package in the Go standard library, where resolving relative paths containing '..' segments caused quadratic time complexity and high memory allocation overhead. An attacker with network access and no authentication or user interaction can trigger this through a crafted relative path, but only under a high-complexity condition, and the resulting impact is availability degradation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:51Z"},"euvd":{"id":"EUVD-2026-58515","exploited":false,"provenance":"source"}}