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,026

ID Title
CVE-2019-25727 Path Traversal in wordpress (CVE-2019-25727)
CVE-2026-40605 Path Traversal in path-traversal (CVE-2026-40605)
CVE-2026-50207 Path Traversal in acer (CVE-2026-50207)
CVE-2026-44022 Path Traversal in docling (CVE-2026-44022)
CVE-2026-44017 Path Traversal in docling (CVE-2026-44017)
CVE-2024-47273 Path Traversal in path-traversal (CVE-2024-47273)
CVE-2024-47263 Path Traversal in path-traversal (CVE-2024-47263)
CVE-2026-35082 Path Traversal in mbs-solutions (CVE-2026-35082)
CVE-2026-41412 Path Traversal in CVE-2026-41412 (CVE-2026-41412)
CVE-2026-49144 Path Traversal in browserstack-runner (CVE-2026-49144)
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-48827 Path Traversal in apache (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-10108 Path Traversal in xiaomusic (CVE-2026-10108)
CVE-2026-45668 Path Traversal in path-traversal (CVE-2026-45668)

🍪 About cookies

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

Details →