Path Resolution Vulnerability in Go Programming Language
CVE-2026-56860

5.9MEDIUM

Key Information:

Status
Vendor
CVE Published:
13 August 2026

What is CVE-2026-56860?

A vulnerability in the Go programming language's path resolution process has been identified, which previously relied on string conversions and buffer rewrites for handling relative paths containing parent directory segments ('..'). This method introduced inefficient quadratic time complexity and excessive memory allocation. The path resolution has since been optimized to operate directly on a byte buffer, utilizing index-based backtracking for '..' segments. This adjustment improves performance by eliminating the earlier quadratic time complexity and dramatically reducing memory overhead, thereby enhancing the overall efficiency of path resolution within the language.

Affected Version(s)

net/url 0 < 1.25.13

net/url 1.26.0-0 < 1.26.6

net/url 1.27.0-0 < 1.27.0-rc.3

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.