Weaknesses of type CWE-22

5,970 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-81565MEDIUMJoomla Extension - joomshaper.com - Missing Directory Confinement in Media Upload in SP Page Builder (Free and Pro) 4.0.0 - 6.9.0EPSS 0.5%CVE-2026-81564HIGHJoomla Extension - joomshaper.com - Missing Directory Confinement in Media Rename Allowing Arbitrary File Rename in SP Page Builder (Free and Pro) 4.0.0 - 6.9.0EPSS 0.5%CVE-2026-53757MEDIUMEmlog: Zip Slip Path Traversal in Plugin/Template ZIP Upload Enables RCEEPSS 0.5%CVE-2026-76576MEDIUMyangzongzhuan RuoYi-Vue Common Download Endpoint CommonController.java resourceDownload path traversalEPSS 0.5%CVE-2025-31554MEDIUMWordPress Docxpresso plugin <= 2.6 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2026-94046MEDIUM0215AndrewFeng ACE-MCP MCP Tool getFileSnippet.ts get_file_snippet path traversalEPSS 0.5%CVE-2025-69131HIGHWordPress WordPress & WooCommerce Scraper Plugin, Import Data from Any Site plugin <= 1.0.7 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2026-7086MEDIUMHBAI-Ltd Toonflow-app Storyboard Export replaceUrl.ts updateStoryboardUrl path traversalEPSS 0.5%CVE-2026-22334HIGHWordPress Woocommerce Book Price plugin <= 1.3 - Arbitrary File Download vulnerabilityEPSS 0.5%CVE-2026-19829MEDIUM648540858 wvp-GB28181-pro Log File Download Endpoint LogController.java path traversalEPSS 0.5%CVE-2026-94037MEDIUM00Kisumi00 mcp-file-analyzer analyze_csv_data MCP tool main.py ControlFlowNode path traversalEPSS 0.5%CVE-2026-94049MEDIUM06ketan slideshot renderer.ts render_slides path traversalEPSS 0.5%CVE-2026-42867MEDIUMLangflow: Path Traversal in Knowledge Bases API via Creation EndpointEPSS 0.5%CVE-2026-25691MEDIUMA improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.5,EPSS 0.5%CVE-2026-41690HIGHPrototype pollution and path traversal in i18next-http-middleware via user-controlled language and namespace parametersEPSS 0.5%CVE-2026-22876HIGHPath Traversal vulnerability exists in multiple Network Cameras TRIFORA 3 series provided by TOA Corporation. If this vulnerability is exploEPSS 0.5%CVE-2026-56066MEDIUMWordPress ShortPixel Adaptive Images plugin <= 3.11.4 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2020-3236MEDIUMCisco Enterprise NFV Infrastructure Software Path Traversal VulnerabilityEPSS 0.5%CVE-2026-8643MEDIUMpip can extract console_scripts and gui_scripts outside installation directoryEPSS 0.5%CVE-2025-54659MEDIUMAn Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability [CWE-22] vulnerability in Fortinet FortiSOAREPSS 0.5%