5.9medium
Avoid quadratic complexity in resolvePath in net/url
- Severity
- 5.9medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2026-6218BIT-GOLANG-2026-56860
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| net/url | before 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0-rc.3 | CVE List |
| stdlib (Go) | before 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0-rc.3 | Go Vulnerability Database |
| golang (Bitnami) | before 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Related
RHSA-2026:100485RHSA-2026:100718RHSA-2026:102514RHSA-2026:102524RHSA-2026:102526RHSA-2026:102529RHSA-2026:102708RHSA-2026:102902RHSA-2026:102905RHSA-2026:54835RHSA-2026:54836RHSA-2026:60304RHSA-2026:60305RHSA-2026:60306RHSA-2026:61882RHSA-2026:62404RHSA-2026:62405RHSA-2026:62406RHSA-2026:62407RHSA-2026:62577RHSA-2026:62578RHSA-2026:62602RHSA-2026:62631RHSA-2026:62753RHSA-2026:62754RHSA-2026:62803RHSA-2026:63022RHSA-2026:63119RHSA-2026:63124RHSA-2026:63127RHSA-2026:63130RHSA-2026:63136RHSA-2026:63163RHSA-2026:63332RHSA-2026:64777RHSA-2026:64786RHSA-2026:64788RHSA-2026:64818RHSA-2026:65116RHSA-2026:65117
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56860 changed 2026-08-14 | CVE Terms of Use |
| Go Vulnerability Database | GO-2026-6218 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-56860 changed 2026-09-03 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2026-56860 changed 2026-08-19 | Apache-2.0 |