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

ID Title
CVE-2026-39938 Path Traversal in cacti (CVE-2026-39938)
CVE-2026-39899 Path Traversal in path-traversal (CVE-2026-39899)
CVE-2026-54066 Path Traversal in path-traversal (CVE-2026-54066)
CVE-2026-53766 Path Traversal in google (CVE-2026-53766)
CVE-2026-49247 Path Traversal in CVE-2026-49247 (CVE-2026-49247)
CVE-2026-49246 Path Traversal in csharp (CVE-2026-49246)
CVE-2026-48789 Path Traversal in CVE-2026-48789 (CVE-2026-48789)
CVE-2026-57296 Path Traversal in path-traversal (CVE-2026-57296)
CVE-2026-55488 Path Traversal in motioneye (CVE-2026-55488)
CVE-2026-54557 Path Traversal in mise (CVE-2026-54557)
CVE-2026-53925 Path Traversal in glances (CVE-2026-53925)
CVE-2026-11940 Path Traversal in CVE-2026-11940 (CVE-2026-11940)
CVE-2026-52811 Path Traversal in gogs.io/gogs (CVE-2026-52811)
CVE-2026-56258 Path Traversal in kidocode (CVE-2026-56258)
CVE-2026-54352 Path Traversal in @budibase/server (CVE-2026-54352)
CVE-2026-53779 Path Traversal in path-traversal (CVE-2026-53779)
CVE-2026-55443 Path Traversal in langchain (CVE-2026-55443)
CVE-2026-31978 Path Traversal in motioneye (CVE-2026-31978)
CVE-2026-12479 Path Traversal in path-traversal (CVE-2026-12479)
CVE-2026-56448 Path Traversal in path-traversal (CVE-2026-56448)
CVE-2026-42129 The Loki datasource plugin's callResource handler contains a path traversal vulnerability. An...
CVE-2026-10601 Path Traversal in path-traversal (CVE-2026-10601)
CVE-2026-12821 Path Traversal in path-traversal (CVE-2026-12821)
CVE-2026-56394 Path Traversal in path-traversal (CVE-2026-56394)
CVE-2026-11911 Path Traversal in wordpress (CVE-2026-11911)
CVE-2026-9843 Path Traversal in wordpress (CVE-2026-9843)
CVE-2026-48129 Path Traversal in CVE-2026-48129 (CVE-2026-48129)
CVE-2026-49342 Path Traversal in yard (CVE-2026-49342)
CVE-2026-49340 Path Traversal in go.senan.xyz/gonic (CVE-2026-49340)
CVE-2026-49339 Path Traversal in go.senan.xyz/gonic (CVE-2026-49339)

🍪 About cookies

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

Details →