{"id":"CVE-2026-56860","state":"PUBLISHED","title":"Avoid quadratic complexity in resolvePath in net/url","description":"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.","publishedAt":"2026-08-13T21:58:53.731Z","updatedAt":"2026-08-14T16:14:39.166Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library net/url"],"affected":[{"vendor":"Go standard library","product":"net/url","packageName":"net/url","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.25.13","versionType":"semver"},{"version":"1.26.0-0","status":"affected","lessThan":"1.26.6","versionType":"semver"},{"version":"1.27.0-0","status":"affected","lessThan":"1.27.0-rc.3","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"resolvePath"},{"name":"URL.Parse"},{"name":"URL.ResolveReference"}]}],"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"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56860.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56860","state":"PUBLISHED","datePublished":"2026-08-13T21:58:53.731Z","dateUpdated":"2026-08-14T16:14:39.166Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2026-06-23T15:10:49.353Z"},"containers":{"cna":{"title":"Avoid quadratic complexity in resolvePath in net/url","descriptions":[{"lang":"en","value":"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":[{"vendor":"Go standard library","product":"net/url","packageName":"net/url","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.25.13","versionType":"semver"},{"version":"1.26.0-0","status":"affected","lessThan":"1.26.6","versionType":"semver"},{"version":"1.27.0-0","status":"affected","lessThan":"1.27.0-rc.3","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"resolvePath"},{"name":"URL.Parse"},{"name":"URL.ResolveReference"}]}],"references":[{"url":"https://go.dev/cl/803681"},{"url":"https://go.dev/issue/80494"},{"url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI"},{"url":"https://pkg.go.dev/vuln/GO-2026-6218"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-407: Inefficient Algorithmic Complexity"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2026-08-13T21:58:53.731Z"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.9,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T16:14:34.601382Z","id":"CVE-2026-56860","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","type":"CWE","lang":"en","description":"CWE-407 Inefficient Algorithmic Complexity"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-14T16:14:39.166Z"}}]}}}