Live threats

All CVEs / Go standard library

CVE-2026-56860Go standard library net/url

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Aug 13, 2026
Updated
Sep 3, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-407
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for net/url.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.25.13 1.25.13 go get stdlib@v1.25.13
Go stdlib ≥ 1.26.0-0 < 1.26.6 1.26.6 go get stdlib@v1.26.6
Go stdlib ≥ 1.27.0-0 < 1.27.0-rc.3 1.27.0-rc.3 go get stdlib@v1.27.0-rc.3

Per OSV / GitHub Advisories (GO-2026-6218). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: Red Hat (+146), SUSE (+19)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.