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-2026-5166 Path Traversal in path-traversal (CVE-2026-5166)
CVE-2026-38993 Path Traversal in path-traversal (CVE-2026-38993)
CVE-2026-42249 Path Traversal in path-traversal (CVE-2026-42249)
CVE-2024-1708 KEV [KEV] Path Traversal in Connectwise screenconnect (CVE-2024-1708)
CVE-2026-3087 Path Traversal in libpython (CVE-2026-3087)
CVE-2026-30462 Path Traversal in path-traversal (CVE-2026-30462)
CVE-2026-41465 Path Traversal in path-traversal (CVE-2026-41465)
CVE-2026-41433 Path Traversal in opentelemetry (CVE-2026-41433)
CVE-2026-41140 Path Traversal in path-traversal (CVE-2026-41140)
CVE-2024-7399 KEV [KEV] Path Traversal in Samsung magicinfo-9-server (CVE-2024-7399)
CVE-2024-57728 KEV [KEV] Path Traversal in Simplehelp path-traversal (CVE-2024-57728)
CVE-2026-6903 Path Traversal in CVE-2026-6903 (CVE-2026-6903)
CVE-2026-40062 Path Traversal in path-traversal (CVE-2026-40062)
CVE-2026-32885 Path Traversal in ddev (CVE-2026-32885)
CVE-2026-6855 Path Traversal in path-traversal (CVE-2026-6855)
CVE-2026-6832 Path Traversal in path-traversal (CVE-2026-6832)
CVE-2026-40923 Path Traversal in github.com/tektoncd/pipeline (CVE-2026-40923)
CVE-2026-40611 Path Traversal in path-traversal (CVE-2026-40611)
CVE-2026-32147 Path Traversal in path-traversal (CVE-2026-32147)
CVE-2026-41245 Path Traversal in path-traversal (CVE-2026-41245)
CVE-2026-5966 Vulnerability in path-traversal (CVE-2026-5966)
CVE-2025-2749 KEV [KEV] Path Traversal in Kentico path-traversal (CVE-2025-2749)
CVE-2026-41589 Path Traversal in charm.land/wish/v2 (CVE-2026-41589)
CVE-2026-40518 Path Traversal in path-traversal (CVE-2026-40518)
CVE-2026-41205 Path Traversal in Mako (CVE-2026-41205)
CVE-2026-41082 Vulnerability in ocaml (CVE-2026-41082)
CVE-2026-20148 Path Traversal in path-traversal (CVE-2026-20148)
CVE-2025-61624 Path Traversal in path-traversal (CVE-2025-61624)
CVE-2026-32146 Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification
CVE-2026-6057 Path Traversal in path-traversal (CVE-2026-6057)

🍪 About cookies

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

Details →