Cwe 22

🧬 CWE Related 96
slug: cwe-22

Explanation

CWE-22は「ファイル名のパスをユーザー入力から組み立てるとき、`../` のような相対パス記号をきちんと無害化せず、本来アクセスできないファイルを読み書きされてしまう欠陥」のことです。 ファイルダウンロード機能・画像表示機能・テンプレート機能でよく見られます。 対策は「絶対パスへの正規化 + 許可されたディレクトリ内かのチェック」、または「ファイル名にIDのみを使い、パス記号を一切使わない設計」。
📌 Example
CVE-2024-57726 (SimpleHelp): zipファイル展開時のZip Slip攻撃で、サーバー上の任意の場所にファイル書き込みされる脆弱性。CISA KEV入り。

🔖 Related tags

🛡 Vulnerabilities tagged with this 1,818

ID Title
CVE-2026-35718 Path Traversal in path-traversal (CVE-2026-35718)
CVE-2026-43965 Path Traversal in path-traversal (CVE-2026-43965)
CVE-2026-32685 Path Traversal in path-traversal (CVE-2026-32685)
CVE-2026-0055 Path Traversal in path-traversal (CVE-2026-0055)
CVE-2026-49136 Path Traversal in path-traversal (CVE-2026-49136)
CVE-2026-45279 Path Traversal in path-traversal (CVE-2026-45279)
CVE-2026-43624 Path Traversal in path-traversal (CVE-2026-43624)
CVE-2026-10278 Path Traversal in path-traversal (CVE-2026-10278)
CVE-2026-8643 Path Traversal in pip (CVE-2026-8643)
CVE-2026-42679 Path Traversal in path-traversal (CVE-2026-42679)
CVE-2026-48866 Path Traversal in path-traversal (CVE-2026-48866)
CVE-2026-10264 Path Traversal in path-traversal (CVE-2026-10264)
CVE-2024-40646 Path Traversal in path-traversal (CVE-2024-40646)
CVE-2026-47425 Path Traversal in rattler (CVE-2026-47425)
CVE-2026-47429 Path Traversal in vitest (CVE-2026-47429)
CVE-2026-48827 Path Traversal in org.apache.sshd:sshd-git (CVE-2026-48827)
CVE-2026-40547 Path Traversal in path-traversal (CVE-2026-40547)
CVE-2026-10213 Path Traversal in path-traversal (CVE-2026-10213)
CVE-2018-25421 Path Traversal in path-traversal (CVE-2018-25421)
CVE-2018-25408 Path Traversal in path-traversal (CVE-2018-25408)
CVE-2026-47397 Path Traversal in PraisonAI (CVE-2026-47397)
CVE-2026-47394 Path Traversal in PraisonAI (CVE-2026-47394)
CVE-2026-47121 Path Traversal in github.com/sparkle-project/Sparkle (CVE-2026-47121)
CVE-2026-10108 Path Traversal in xiaomusic (CVE-2026-10108)
CVE-2026-45661 Path Traversal in path-traversal (CVE-2026-45661)
CVE-2026-45668 Path Traversal in path-traversal (CVE-2026-45668)
CVE-2026-44829 Path Traversal in github.com/gotenberg/gotenberg/v8 (CVE-2026-44829)
CVE-2026-39276 Path Traversal in path-traversal (CVE-2026-39276)
CVE-2018-25393 Path Traversal in path-traversal (CVE-2018-25393)
CVE-2026-9559 Path Traversal in mautic/core (CVE-2026-9559)

🍪 About cookies

We use cookies to keep you logged in, remember your language, and improve the service.

Details →