Go standard library · Go · published 2026-08-13
CVE-2026-56860Avoid quadratic complexity in resolvePath in net/url
Routine No exploitation evidence; EPSS 0.5%.
CVE-2026-56860 is not known to be exploited in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 46% of all CVEs. This Go vulnerability: CVSS 5.9 (v3.1). Fixed upstream in Go 1.26.6, 1.25.13. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Go 1.26.6, 1.25.13.
Patch events
Language runtimeGo
Go security releases: 1.26.6, 1.25.13
Upgrade to
1.26.61.25.13Why: CVE-2026-39821: EPSS 1.8% with high severity (CVSS 9.6).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.5% (47th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 5.9 (v3.1)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Go standard library net/url
0to before1.25.13(affected)1.26.0-0to before1.26.6(affected)1.27.0-0to before1.27.0-rc.3(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.