Skip to main content

Go net/url CVE-2026-56860

| EUVDEUVD-2026-58515 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
5.9
CVSS 3.1 · Vendor
Share

Severity by source

Vendor (CNA) PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
7.5 HIGH

Network-reachable URL parsing requires no privileges or user interaction; impact is purely availability via resource exhaustion with no confidentiality or integrity loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 14, 2026 - 17:22 NVD
5.9 (MEDIUM)
Patch available
Aug 13, 2026 - 23:04 EUVD
Analysis Generated
Aug 13, 2026 - 22:18 vuln.today
CVE Published
Aug 13, 2026 - 20:40 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

AnalysisAI

Quadratic time complexity in Go's standard library net/url package exposes Go-based web services to denial of service through crafted URL paths. Applications running on Go versions before 1.26.6 or 1.25.13 that resolve attacker-supplied relative URL paths containing many parent-directory segments are affected, with CPU and memory consumption growing quadratically with input size. No active exploitation or public proof-of-concept has been identified at time of analysis; the fix is confirmed available in Go 1.26.6 and Go 1.25.13, released August 13, 2026.

Technical ContextAI

The vulnerability exists in the resolvePath function within Go's standard library net/url package (Go issue #80494). When resolving relative URL paths containing '..' (parent directory) segments, the prior implementation performed string conversions and full buffer rewrites on each traversal step, producing O(n²) time complexity and proportionally high heap allocation overhead as the number of segments grows. This is consistent with CWE-407 (Inefficient Algorithmic Complexity) - a class of vulnerability where unbounded input drives superlinear resource consumption. The upstream fix replaces the algorithm with a byte-buffer and index-based backtracking approach operating in O(n) linear time, eliminating the quadratic growth. No CPE strings were provided in the input data; affected components are all Go toolchain distributions shipping the net/url package before the patched releases.

RemediationAI

Upgrade to Go 1.26.6 or Go 1.25.13, released August 13, 2026, which contain the corrected O(n) resolvePath implementation as documented in the Go release notes (https://seclists.org/oss-sec/2026/q3/487) and Go issue #80494 (https://go.dev/issue/80494). After upgrading the Go toolchain, all affected binaries must be recompiled and redeployed, as the fix is in the standard library source and is not applied dynamically. As a compensating control where immediate toolchain upgrade is not feasible, application-level input validation that enforces a maximum URL path length or limits the count of '..' segments before passing input to net/url can reduce exposure; however, this approach requires code changes, may introduce its own bugs, and does not fully substitute for the upstream fix. Rate-limiting requests at the load balancer or WAF layer can reduce the impact of high-rate DoS attempts but will not prevent a single well-crafted long path from triggering the quadratic behavior.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

Share

CVE-2026-56860 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy