You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
security: neutralize backslash-smuggled traversal in sanitizedPathJoin
path.Clean is POSIX-only and treats `\` as an ordinary byte, so a
reqPath like "..\\..\\windows\\win.ini" survives it untouched as a
single opaque segment. filepath.Join then runs with the host's native
separator rules, and on Windows that DOES treat `\` as a separator,
resolving the now-live ".." against root and escaping it.
0 commit comments