# Path Traversal

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

- Skill: `kubernetes-sigs-kueue/path-traversal` (Agent Skill)
- Install (CLI): `npx skillmds@latest add kubernetes-sigs-kueue/path-traversal`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kubernetes-sigs-kueue/path-traversal/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- License: Apache-2.0
- Author: kubernetes-sigs (https://skillmd.com/u/kubernetes-sigs-kueue)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/kubernetes-sigs-kueue/path-traversal

---


# 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).

