Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56860: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/url

0
Medium
VulnerabilityCVE-2026-56860cvecve-2026-56860cwe-407
Published: 08/13/2026 (08/13/2026, 21:58:53 UTC)
Source: CVE Database V5
Vendor/Project: Go standard library
Product: 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

net/url
pkg:golang/net/url
Affected versions
<1.25.13>=1.26.0-0 <1.26.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 22:27:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses