Weaknesses of type CWE-22

6,636 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-18027MEDIUMWebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels <= 4.9.8 - Authenticated (Subscriber+) Arbitrary File Read via 'customer_note' ParameterEPSS 0.9%CVE-2022-23512HIGHMetersphere is vulnerable to Path Injection.EPSS 0.9%CVE-2026-65688CRITICALBold Reports Standalone Report Designer < 14.1.12 Arbitrary File Read via Font ProcessingEPSS 0.9%CVE-2026-65689CRITICALBold Reports Standalone Report Designer < 14.1.12 Arbitrary File Read via Database DownloadEPSS 0.9%CVE-2024-48071MEDIUME-cology has a directory traversal vulnerability. An attacker can exploit this vulnerability to delete the server directory, causing the serEPSS 0.9%CVE-2025-8729MEDIUMMigoXLab LMeterX upload_service.py process_cert_files path traversalEPSS 0.9%CVE-2023-24379MEDIUMWordPress Landing Page Builder – Free Landing Page Templates plugin <= 3.1.9.9 - Local File Inclusion vulnerabilityEPSS 0.9%CVE-2024-5456HIGHPanda Video <= 1.4.0 - Authenticated (Contributor+) Local File InclusionEPSS 0.9%CVE-2026-36227MEDIUMDirectory Traversal vulnerability in Easy Chat Server 3.1 allows a remote attacker to obtain sensitive information and execute arbitrary codEPSS 0.9%CVE-2026-65687CRITICALBold Reports Standalone Report Designer < 14.1.12 Arbitrary File Read via SVG ProcessingEPSS 0.9%CVE-2024-46212MEDIUMAn issue in the component /index.php?page=backup/export of REDAXO CMS v5.17.1 allows attackers to execute a directory traversal.EPSS 0.9%CVE-2023-4748MEDIUMYongyou UFIDA-NC PrintTemplateFileServlet.java path traversalEPSS 0.9%CVE-2026-71476HIGHNx: Zip-Slip in the self-hosted remote cacheEPSS 0.9%CVE-2023-3385MEDIUMImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLabEPSS 0.9%CVE-2025-34320CRITICALBASIS BBj < 25.00 Unauthenticated Arbitrary File Read RCEEPSS 0.9%CVE-2023-6026CRITICALImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in PHPMemcachedAdminEPSS 0.9%CVE-2024-37464MEDIUMWordPress Beaver Builder Addons by WPZOOM plugin <= 1.3.5 - Local File Inclusion vulnerabilityEPSS 0.9%CVE-2023-39525MEDIUMPrestaShop vulnerable to path traversalEPSS 0.9%CVE-2022-41920MEDIUMZip slip in LancetEPSS 0.9%CVE-2025-67742LOWIn JetBrains TeamCity before 2025.11 path traversal was possible via file uploadEPSS 0.9%