CVE-2026-56860: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/url
CVE-2026-56860 is an inefficient algorithmic complexity issue in the Go standard library's net/url package. The vulnerability arises from resolving relative paths containing parent directory ('..') segments, which previously caused quadratic time complexity and high memory allocation due to repeated string conversions and buffer rewrites. The issue has been addressed by changing the path resolution to operate on a byte buffer with index-based backtracking, eliminating the quadratic complexity and reducing memory usage.
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
CVE-2026-56860 is an inefficient algorithmic complexity issue in the Go standard library's net/url package. The vulnerability arises from resolving relative paths containing parent directory ('..') segments, which previously caused quadratic time complexity and high memory allocation due to repeated string conversions and buffer rewrites. The issue has been addressed by changing the path resolution to operate on a byte buffer with index-based backtracking, eliminating the quadratic complexity and reducing memory usage.
Affected software
Run 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
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7e412ebf8831d539e0512b
Added to database: 08/13/2026, 22:11:58 UTC
Last enriched: 08/13/2026, 22:27:38 UTC
Last updated: 08/13/2026, 23:21:40 UTC
Views: 5
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.