CVE-2026-56860: 
Go vulnerability analysis and mitigation

Overview

CVE-2026-56860 is a denial-of-service vulnerability in the Go standard library's net/url package caused by quadratic time complexity during relative path resolution. When resolving paths containing parent directory (..) segments, the implementation performed string conversions and buffer rewrites on each step, leading to excessive CPU and memory consumption. Affected versions include Go net/url before 1.25.13, 1.26.0–1.26.5, and 1.27.0-rc.0 through 1.27.0-rc.2. It was published on August 13, 2026, with a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified under CWE-407 (Inefficient Algorithmic Complexity) and CWE-770 (Allocation of Resources Without Limits or Throttling). The vulnerable code path in net/url resolved relative URL paths by iterating over .. segments and performing string conversions and full buffer rewrites at each step, resulting in O(n²) time and memory complexity relative to the number of path segments. An attacker can craft a URL with a large number of .. segments and submit it to any Go application that processes user-supplied URLs via net/url, triggering resource exhaustion. The fix replaces the string-based approach with index-based backtracking on a byte buffer, eliminating the quadratic behavior (GitHub Advisory, Go Issue, Go CL).

Impact

Successful exploitation causes denial of service by exhausting CPU and memory resources on the affected server, potentially rendering the application or service unavailable. The impact is limited to availability — there is no confidentiality or integrity impact. Any Go application that processes attacker-controlled URLs using the standard library's net/url package is at risk, which includes a broad range of web services, proxies, and API servers built with Go (GitHub Advisory, Red Hat Bugzilla).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported. The NVD SSVC assessment rates exploitation as "none" and the attack as non-automatable due to high attack complexity. The EPSS score is approximately 0.185%, indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory).

Exploitation steps

  1. Identify target: Locate a Go-based web service or API that accepts user-supplied URLs or URL path components and processes them using the net/url standard library (versions before 1.25.13, 1.26.6, or 1.27.0-rc.3).
  2. Craft malicious URL: Construct a URL containing a very large number of .. path segments (e.g., http://example.com/a/../a/../a/../... repeated thousands of times) to maximize the quadratic processing overhead.
  3. Submit request: Send the crafted URL to the target application endpoint via HTTP or another supported protocol. No authentication is required if the endpoint is publicly accessible.
  4. Trigger resource exhaustion: The server's net/url path resolution processes each .. segment with O(n²) complexity, consuming excessive CPU cycles and memory, leading to service degradation or crash (GitHub Advisory, Go Issue).

Indicators of compromise

  • Network: Repeated HTTP requests to application endpoints containing URLs with an unusually large number of .. path segments; high request rates from a single source IP targeting URL-processing endpoints.
  • Logs: Application or web server logs showing requests with abnormally long URL paths composed of many .. segments; timeout or out-of-memory errors in Go application logs coinciding with such requests.
  • Process: Sudden spikes in CPU and memory usage by the Go application process without a corresponding increase in legitimate traffic; Go runtime out-of-memory (OOM) kills or process restarts.

Mitigation and workarounds

Upgrade to Go 1.25.13, 1.26.6, or 1.27.0-rc.3 or later, which replace the quadratic path resolution algorithm with an efficient index-based byte buffer approach. Red Hat has issued patches for RHEL 8 (RHSA-2026:60305), RHEL 9 (RHSA-2026:60304), and RHEL 10 (RHSA-2026:60306). SUSE has released updates (SUSE-SU-2026:3640-1, SUSE-SU-2026:3799-1, SUSE-SU-2026:3815-1, SUSE-SU-2026:3830-1). As a workaround where patching is not immediately possible, consider validating and rejecting user-supplied URLs with excessive path depth before passing them to net/url (Red Hat Bugzilla, GitHub Advisory).

Community reactions

The Go team announced the fix via the golang-announce mailing list and the vulnerability was discussed on oss-security. A Mastodon post from user @lambdawatchdog noted the issue. Coverage has been limited to routine security advisory aggregation by vendors such as Red Hat, SUSE, openSUSE, and security news outlets like pro-linux.de (golang-announce, oss-sec).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

golang-1.19

Affected

sid

golang-1.27: 1.27~rc3-1

Fixed

trixie

golang-1.24

Affected

Ubuntu

Unknown

bionic (esm-apps)

golang-1.8

Unknown

bionic (esm-infra)

golang-1.10

Unknown

devel

golang-1.24

Unknown

focal (esm-apps)

golang-1.16

Unknown

focal (esm-infra)

golang-1.13

Unknown

jammy

golang-1.13

Unknown

jammy (esm-apps)

golang-1.13

Unknown

noble

golang-1.21

Unknown

RHEL / CentOS

Fixed

OpenShift

el8:cri-o/cri-o-0:1.25.5-37.rhaos4.12.git2e7f657.el8

Fixed

RHEL 8

:appstream:container-tools:rhel8/buildah/buildah

Fixed

RHEL 9

:appstream:delve-0:1.26.1-1.el9_2.1.src

Fixed

RHEL 10

delve-0:1.26.1-2.el10_0.src

Fixed

Source: This report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-56865HIGH8.4
  • Go logoGo
  • dapr-operator-1.17
NoYesAug 13, 2026
CVE-2026-56864HIGH7.5
  • Go logoGo
  • trivy
NoYesAug 13, 2026
CVE-2026-56862HIGH7.5
  • Go logoGo
  • hcloud
NoYesAug 13, 2026
CVE-2026-56859HIGH7.5
  • Go logoGo
  • custom-pod-autoscaler-operator-fips
NoYesAug 13, 2026
CVE-2026-56860MEDIUM5.9
  • Go logoGo
  • x509-certificate-exporter-fips
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management