Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-56860— Avoid quadratic complexity in resolvePath in net/url

Quick assessment

Affected
Go standard library net/url
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Google Go是美国Google公司开源的一款支持并发编程的脚本语言。 Google Go 1.25.13之前版本、1.26.6之前版本和1.27.0-rc.3之前版本存在资源管理错误漏洞,该漏洞源于net/url在解析包含父目录('..')的相对路径时执行字符串转换和缓冲区重写,导致二次时间复杂度和高内存分配开销。

AI Predicted 5.3 Difficulty: Trivial EPSS 0.44% · P37

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 3

VendorProduct Version RangeStatus
Go standard library net/url < 1.25.13 affected
1.26.0-0< 1.26.6 affected
1.27.0-0< 1.27.0-rc.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56860

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Avoid quadratic complexity in resolvePath in net/url
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Google Go 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google Go是美国Google公司开源的一款支持并发编程的脚本语言。 Google Go 1.25.13之前版本、1.26.6之前版本和1.27.0-rc.3之前版本存在资源管理错误漏洞,该漏洞源于net/url在解析包含父目录('..')的相对路径时执行字符串转换和缓冲区重写,导致二次时间复杂度和高内存分配开销。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Go standard library net/url 0 ~ 1.25.13 -

II. Public POCs for CVE-2026-56860

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56860

登录查看更多情报信息。

Vendor Advisories for CVE-2026-56860 (3)

Same Patch Batch · Go standard library · 2026-08-13 · 6 CVEs total

CVE-2026-56862 Limit handshake messages we are willing to accept post-handshake in crypto/tls
CVE-2026-56859 Add recursion depth guard during decode in encoding/xml
CVE-2026-56858 Fix Javascript regexp context tracking in html/template
CVE-2026-56853 Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
CVE-2026-33818 Enforce maximum recursion depth in encoding/asn1

IV. Related Vulnerabilities

V. Comments for CVE-2026-56860

No comments yet


Leave a comment