CVE-2026-56860
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.
How to fix
- stdlib1.25.13, 1.26.6, 1.27.0-rc.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stdlibGo | v < 1.25.13, 1.26.0-0 ≤ v < 1.26.6, 1.27.0-0 ≤ v < 1.27.0-rc.3 | 1.25.13, 1.26.6, 1.27.0-rc.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.