CVE-2026-42574: Go Sanitize Path Symlink Following Traversalcve-2026-42574-go-sanitize-path-symlink-following-traversal
A path returned by a `sanitizePath`-style helper (lexical-only cleaning that does not resolve symlinks) flows into a symlink-following stdlib filesystem call (os.WriteFile / os.MkdirAll / os.Symlink / os.Link / os.OpenFile / etc.). A pre-existing or attacker-planted symlink under the base directory can redirect the resulting kernel pathname resolution outsid