CVE-2026-56860
JSON

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 packageVersionsReported by
net/urlbefore 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0-rc.3CVE 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.3Go 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.0Bitnami Vulnerability Database

All scores

CISA-ADP5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-407

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-56860 changed 2026-08-14CVE Terms of Use
Go Vulnerability DatabaseGO-2026-6218 changed 2026-11-25CC-BY-4.0
NVDCVE-2026-56860 changed 2026-09-03Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2026-56860 changed 2026-08-19Apache-2.0