CVE-2026-56860

medium

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.

References

https://pkg.go.dev/vuln/GO-2026-6218

https://groups.google.com/g/golang-announce/c/94pEornpRlI

https://go.dev/issue/80494

https://go.dev/cl/803681

Details

Source: Mitre, NVD

Published: 2026-08-13

Updated: 2026-08-14

Risk Information

CVSS v2

Base Score: 5.4

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00185