Weaknesses of type CWE-22

5,968 results

Traversal de diretório (path traversal)

A aplicação recebe um caminho de arquivo fornecido pelo usuário e o usa para acessar arquivos sem validar adequadamente se o resultado fica dentro do diretório permitido. Um atacante injeta sequências como '../' ou '..' para "escapar" do diretório esperado e acessar arquivos sensíveis do sistema.

Example

Um site permite download de arquivos do diretório /uploads passando o nome via URL: download.php?file=documento.pdf. Um atacante envia file=../../etc/passwd e consegue ler arquivos fora de /uploads, porque o código não neutraliza a sequência '..'.

How to mitigate

Valide e canonicalize todo caminho fornecido pelo usuário antes de usá-lo: implemente uma whitelist de nomes permitidos, normalize caminhos para sua forma canônica, verifique se o resultado está dentro do diretório esperado, e use APIs de segurança da linguagem (ex: Path.normalize() + validação de prefix em Java, pathlib em Python).

CVE-2026-9166HIGHLFI in GIS Informatics' GisLab Laboratory Management SystemEPSS 0.5%CVE-2025-68902HIGHWordPress Anona theme <= 8.0 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2026-15280HIGHIBM WebSphere Application Server Liberty is affected by a remote code execution and path-segment injection vulnerabilityEPSS 0.5%CVE-2025-58158HIGHHarness Affected by Arbitrary File Write in Gitness LFS serverEPSS 0.5%CVE-2023-29502MEDIUMPTC Vuforia Studio Path TraversalEPSS 0.5%CVE-2026-62663HIGHBanks: Arbitrary File Read via Path Traversal in Media Filters (image/audio/video/document)EPSS 0.5%CVE-2026-49233HIGHRoutinator cache path traversal using rogue rsync URIsEPSS 0.5%CVE-2026-73181HIGHWordPress Extra Product Options & Add-Ons for WooCommerce plugin < 7.6 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2026-75333HIGHyx-image-recognition v1.0 is vulnerable to Path Traversal. Parameters such as dir, filePath are directly passed to new File() for file systeEPSS 0.5%CVE-2026-65436MEDIUMWordPress Kirki plugin <= 6.0.13 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-6377HIGHPath Traversal in Next4Biz's CSM (Customer Service Management)EPSS 0.5%CVE-2026-57815HIGHWordPress Forminator plugin <= 1.55.0.2 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2026-78275MEDIUMWordPress Fluent Boards Pro plugin <= 2.0.11 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-9690HIGHWordPress WP Media folder Addon plugin <= 4.0.1 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2023-37385HIGHWordPress Consulting theme <= 6.5.6 - Local File InclusionEPSS 0.5%CVE-2026-65754HIGHJoomla Extension - regularlabs.com - Insecure path handling in ReReplacer Pro extensionEPSS 0.5%CVE-2026-47368HIGHA malicious actor with access to the network could exploit a Path Traversal vulnerability found in certain devices running UniFi OS to obtaiEPSS 0.5%CVE-2026-55111HIGHA malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi Protect Floodlight devices to accesEPSS 0.5%CVE-2026-40535MEDIUMAn improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Desktop API in Synology DiskStation ManagEPSS 0.5%CVE-2026-49061HIGHWordPress WPC Product Options for WooCommerce plugin <= 3.2.1 - Arbitrary File Download vulnerabilityEPSS 0.5%