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

ID Title
CVE-2025-71210 Path Traversal in CVE-2025-71210 (CVE-2025-71210)
CVE-2025-71211 Path Traversal in CVE-2025-71211 (CVE-2025-71211)
CVE-2026-4858 Path Traversal in github.com/mattermost/mattermost-server (CVE-2026-4858)
CVE-2026-44068 Path Traversal in path-traversal (CVE-2026-44068)
CVE-2026-9129 Path Traversal in path-traversal (CVE-2026-9129)
CVE-2026-9102 Path Traversal in path-traversal (CVE-2026-9102)
CVE-2026-39405 Path Traversal in CVE-2026-39405 (CVE-2026-39405)
CVE-2026-39352 Path Traversal in path-traversal (CVE-2026-39352)
CVE-2026-24209 Path Traversal in path-traversal (CVE-2026-24209)
CVE-2026-24208 Path Traversal in path-traversal (CVE-2026-24208)
CVE-2026-35593 Path Traversal in CVE-2026-35593 (CVE-2026-35593)
CVE-2026-36829 Path Traversal in path-traversal (CVE-2026-36829)
CVE-2026-46337 Path Traversal in WWBN/AVideo (CVE-2026-46337)
CVE-2026-45571 Path Traversal in github.com/go-git/go-git/v5 (CVE-2026-45571)
CVE-2025-70950 Path Traversal in github.com/itang/gohttp (CVE-2025-70950)
CVE-2026-46724 Path Traversal in tpwd/ke_search (CVE-2026-46724)
CVE-2026-31379 Path Traversal in apache (CVE-2026-31379)
CVE-2026-29220 Path Traversal in apache (CVE-2026-29220)
CVE-2026-47091 Path Traversal in path-traversal (CVE-2026-47091)
CVE-2026-45731 Path Traversal in WWBN/AVideo (CVE-2026-45731)
CVE-2026-29963 Path Traversal in path-traversal (CVE-2026-29963)
CVE-2026-45230 Path Traversal in path-traversal (CVE-2026-45230)
CVE-2026-45727 Path Traversal in cloakbrowser (CVE-2026-45727)
CVE-2026-20685 Vulnerability in apple (CVE-2026-20685)
CVE-2026-8802 Path Traversal in path-traversal (CVE-2026-8802)
CVE-2026-6381 Path Traversal in wordpress (CVE-2026-6381)
CVE-2026-8770 Path Traversal in path-traversal (CVE-2026-8770)
CVE-2026-8765 Path Traversal in path-traversal (CVE-2026-8765)
CVE-2026-8757 Path Traversal in path-traversal (CVE-2026-8757)
CVE-2026-8756 Path Traversal in path-traversal (CVE-2026-8756)

🍪 About cookies

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

Details →