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

ID Title
CVE-2026-19285 Path Traversal in path-traversal (CVE-2026-19285)
CVE-2026-19270 Path Traversal in path-traversal (CVE-2026-19270)
CVE-2026-16955 Path Traversal in wordpress (CVE-2026-16955)
CVE-2026-19016 Path Traversal in CVE-2026-19016 (CVE-2026-19016)
CVE-2026-50540 Vulnerability in CVE-2026-50540 (CVE-2026-50540)
CVE-2026-47659 Path Traversal in path-traversal (CVE-2026-47659)
CVE-2026-47661 Path Traversal in path-traversal (CVE-2026-47661)
CVE-2026-71557 Path Traversal in github.com/go-git/go-git/v5 (CVE-2026-71557)
CVE-2026-19264 Path Traversal in CVE-2026-19264 (CVE-2026-19264)
CVE-2026-66914 Path Traversal in path-traversal (CVE-2026-66914)
CVE-2026-62996 Path Traversal in smarty/smarty (CVE-2026-62996)
CVE-2026-62992 Path Traversal in smarty/smarty (CVE-2026-62992)
CVE-2026-66493 Path Traversal in path-traversal (CVE-2026-66493)
CVE-2026-66492 Path Traversal in path-traversal (CVE-2026-66492)
CVE-2026-66491 Path Traversal in CVE-2026-66491 (CVE-2026-66491)
CVE-2026-16263 Path Traversal in wordpress (CVE-2026-16263)
CVE-2026-49163 Path Traversal in path-traversal (CVE-2026-49163)
CVE-2026-64677 Path Traversal in path-traversal (CVE-2026-64677)
CVE-2026-64653 Path Traversal in CVE-2026-64653 (CVE-2026-64653)
CVE-2026-41861 Path Traversal in path-traversal (CVE-2026-41861)
CVE-2026-19054 Path Traversal in path-traversal (CVE-2026-19054)
CVE-2026-19059 Path Traversal in path-traversal (CVE-2026-19059)
CVE-2026-71476 Path Traversal in nx (CVE-2026-71476)
CVE-2026-19046 Path Traversal in path-traversal (CVE-2026-19046)
CVE-2026-18427 Path Traversal in CVE-2026-18427 (CVE-2026-18427)
CVE-2026-53976 Path Traversal in path-traversal (CVE-2026-53976)
CVE-2026-28146 Path Traversal in CVE-2026-28146 (CVE-2026-28146)
CVE-2026-19038 Path Traversal in path-traversal (CVE-2026-19038)
CVE-2026-18991 Path Traversal in path-traversal (CVE-2026-18991)
CVE-2026-18959 Path Traversal in path-traversal (CVE-2026-18959)

🍪 About cookies

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

Details →