Skip to content
5.9 Medium

CVE-2026-56860 Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer…

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.

Affected products and versions

Product Affected versions Fixed in
net/url 1.27 earliest → < 1.27.0-rc.3 1.27.0-rc.3
net/url 1.26 1.26.0-0 → < 1.26.6 1.26.6
net/url 1.25 earliest → < 1.25.13 1.25.13

References

Timeline

  1. Published
  2. Last modified
The 5 CVEs of net/url →
Track this CVE