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 100

ID Title
CVE-2026-42605 Path Traversal in path-traversal (CVE-2026-42605)
CVE-2026-42574 Path Traversal in CVE-2026-42574 (CVE-2026-42574)
CVE-2026-42351 Path Traversal in CVE-2026-42351 (CVE-2026-42351)
CVE-2026-42213 Path Traversal in CVE-2026-42213 (CVE-2026-42213)
CVE-2026-7807 Path Traversal in CVE-2026-7807 (CVE-2026-7807)
CVE-2026-42028 Path Traversal in path-traversal (CVE-2026-42028)
CVE-2026-41887 Path Traversal in CVE-2026-41887 (CVE-2026-41887)
CVE-2026-38360 Path Traversal in path-traversal (CVE-2026-38360)
CVE-2026-42353 Path Traversal in express (CVE-2026-42353)
CVE-2026-41690 Path Traversal in express (CVE-2026-41690)
CVE-2026-41885 Path Traversal in CVE-2026-41885 (CVE-2026-41885)
CVE-2026-41693 Path Traversal in CVE-2026-41693 (CVE-2026-41693)
CVE-2026-44340 Path Traversal in praison (CVE-2026-44340)
CVE-2026-44336 Vulnerability in praison (CVE-2026-44336)
CVE-2026-41493 Path Traversal in path-traversal (CVE-2026-41493)
CVE-2026-41491 Path Traversal in path-traversal (CVE-2026-41491)
CVE-2026-8069 Path Traversal in privilege-escalation (CVE-2026-8069)
CVE-2026-44298 Path Traversal in kimai/kimai (CVE-2026-44298)
CVE-2026-43940 Path Traversal in electerm (CVE-2026-43940)
CVE-2026-42275 Path Traversal in path-traversal (CVE-2026-42275)
CVE-2026-8116 Path Traversal in path-traversal (CVE-2026-8116)
CVE-2026-8115 Path Traversal in path-traversal (CVE-2026-8115)
CVE-2026-8113 Path Traversal in path-traversal (CVE-2026-8113)
CVE-2026-41691 Path Traversal in path-traversal (CVE-2026-41691)
CVE-2026-43117 Vulnerability in linux (CVE-2026-43117)
CVE-2026-35397 Path Traversal in jupyter-server (CVE-2026-35397)
CVE-2026-43067 Vulnerability in linux (CVE-2026-43067)
CVE-2024-1708 KEV [KEV] Path Traversal in Connectwise screenconnect (CVE-2024-1708)
CVE-2024-57728 KEV [KEV] Path Traversal in Simplehelp path-traversal (CVE-2024-57728)
CVE-2024-7399 KEV [KEV] Path Traversal in Samsung magicinfo-9-server (CVE-2024-7399)

🍪 About cookies

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

Details →