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

ID Title
CVE-2026-47179 Path Traversal in github.com/getarcaneapp/arcane/backend (CVE-2026-47179)
CVE-2026-42305 Path Traversal in dulwich (CVE-2026-42305)
CVE-2026-49128 Path Traversal in path-traversal (CVE-2026-49128)
CVE-2026-32847 Path Traversal in path-traversal (CVE-2026-32847)
CVE-2026-33462 Path Traversal in elk (CVE-2026-33462)
CVE-2026-47144 Path Traversal in shamefile (CVE-2026-47144)
CVE-2026-4944 Path Traversal in CVE-2026-4944 (CVE-2026-4944)
CVE-2026-46345 Path Traversal in compliance-trestle (CVE-2026-46345)
CVE-2026-45774 Path Traversal in compliance-trestle (CVE-2026-45774)
CVE-2026-49238 Path Traversal in cpp (CVE-2026-49238)
CVE-2026-9789 Path Traversal in privilege-escalation (CVE-2026-9789)
CVE-2026-46402 Path Traversal in path-traversal (CVE-2026-46402)
CVE-2026-47243 Path Traversal in github.com/kata-containers/kata-containers (CVE-2026-47243)
CVE-2026-45309 Path Traversal in asyncssh (CVE-2026-45309)
CVE-2026-49009 Path Traversal in path-traversal (CVE-2026-49009)
CVE-2026-3366 Path Traversal in ibm (CVE-2026-3366)
CVE-2026-6957 Path Traversal in mattermost (CVE-2026-6957)
CVE-2026-47118 Path Traversal in path-traversal (CVE-2026-47118)
CVE-2026-48544 Path Traversal in taipy (CVE-2026-48544)
CVE-2026-9035 Path Traversal in ibm (CVE-2026-9035)
CVE-2026-7524 Path Traversal in langflow (CVE-2026-7524)
CVE-2026-42756 Path Traversal in path-traversal (CVE-2026-42756)
CVE-2026-42757 Path Traversal in path-traversal (CVE-2026-42757)
CVE-2026-42737 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in...
CVE-2026-41009 Path Traversal in cloud-foundry (CVE-2026-41009)
CVE-2024-47267 Path Traversal in path-traversal (CVE-2024-47267)
CVE-2026-44705 Path Traversal in tmp (CVE-2026-44705)
CVE-2026-44177 Path Traversal in getkirby/cms (CVE-2026-44177)
CVE-2026-42448 Path Traversal in magic-wormhole (CVE-2026-42448)
CVE-2026-48126 Path Traversal in github.com/xyproto/algernon (CVE-2026-48126)

🍪 About cookies

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

Details →