Path Traversal

Flag file paths built from user-supplied names without sanitization, symlink-following in tenant dirs, and unvalidated archive extraction (CWE-22).

kubernetes-sigs Updated

File contents

Skill: Path Traversal

  • File paths built from user-supplied names without filepath.Clean plus a prefix check against an allowlisted root.
  • Symlinks followed in tenant-controlled directories.
  • Archive extraction without validating each entry stays within the destination root (zip-slip, CWE-22).

kubernetes-sigs/kueue/tree/main/cmd/experimental/skills/reviewer/security/path-traversal commit 0b1a7778f7

Frequently asked questions

npx skillmds@latest add kubernetes-sigs-kueue/path-traversal