CVE-2026-56860: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/url
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.
AI Analysis
Technical Summary
This vulnerability involves inefficient algorithmic complexity (CWE-407) in the Go standard library's net/url package when resolving relative paths with '..' segments. The original implementation performed string conversions and buffer rewrites at each step, resulting in quadratic time complexity and excessive memory allocations. The updated implementation uses a byte buffer and index-based backtracking to improve performance and reduce memory overhead.
Potential Impact
The inefficient algorithmic complexity could lead to performance degradation and high memory consumption when processing certain relative paths. There is no indication of direct security impact such as code execution or data leakage. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time.
CVE-2026-56860: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/url
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.
CVSS v3.1
Score 5.9medium
Affected software
Go standard library
net/url
pkg:golang/net/urlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves inefficient algorithmic complexity (CWE-407) in the Go standard library's net/url package when resolving relative paths with '..' segments. The original implementation performed string conversions and buffer rewrites at each step, resulting in quadratic time complexity and excessive memory allocations. The updated implementation uses a byte buffer and index-based backtracking to improve performance and reduce memory overhead.
Potential Impact
The inefficient algorithmic complexity could lead to performance degradation and high memory consumption when processing certain relative paths. There is no indication of direct security impact such as code execution or data leakage. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-06-23T15:10:49.353Z
- State
- PUBLISHED
Threat ID: 6a7e412ebf8831d539e0512b
Added to database: 08/13/2026, 22:11:58 UTC
Last enriched: 08/13/2026, 22:27:38 UTC
Last updated: 09/28/2026, 17:52:51 UTC
Views: 59
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.