CVE-2026-116195: Go Path Traversal Suffix Trim After Containment Check

Root containment is validated before a suffix-stripping transformation is applied to the already-validated local path, so the path that is actually used was never checked. A name equal to ".." + suffix (e.g. "...rclonelink") passes the containment check while the suffix is still attached and then collapses to ".." after the trim, escaping the destination roo

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-116195-go-path-traversal-suffix-trim-after-containment-check --engine opengrep

Description

Root containment is validated before a suffix-stripping transformation is applied to the already-validated local path, so the path that is actually used was never checked. A name equal to ".." + suffix (e.g. "...rclonelink") passes the containment check while the suffix is still attached and then collapses to ".." after the trim, escaping the destination roo