Weaknesses of type CWE-22

6,630 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-2022-39367HIGHVulnerability in handling of uploaded QTI ZIP filesEPSS 1.3%CVE-2026-92194HIGHQuest Foglight for Databases loadManageServerLicense Directory Traversal Remote Code Execution VulnerabilityEPSS 1.3%CVE-2025-2270HIGHCountdown, Coming Soon, Maintenance – Countdown & Clock <= 2.8.9.1 - Unauthenticated Limited Local File InclusionEPSS 1.3%CVE-2026-92197HIGHQuest Foglight for Databases unzipFile Directory Traversal Remote Code Execution VulnerabilityEPSS 1.3%CVE-2026-92186HIGHQuest Foglight for Databases paFnUploadFileAndCreateInfo Directory Traversal Remote Code Execution VulnerabilityEPSS 1.3%CVE-2024-40629CRITICALArbitrary File Write in Ansible Playbooks leads to RCE in JumpserverEPSS 1.3%CVE-2022-46309MEDIUMGalaxy Software Services Corporation. Vitals ESP - Arbitrary Path File ReadingEPSS 1.3%CVE-2023-23838MEDIUMDirectory traversal and file enumeration vulnerability: Database Performance Analyzer (DPA) 2023.1EPSS 1.3%CVE-2023-31904HIGHsavysoda Wifi HD Wireless Disk Drive 11 is vulnerable to Local File Inclusion.EPSS 1.3%CVE-2026-36829CRITICALAn authentication bypass vulnerability exists in the embedded HTTP server of Panabit PAP-XM320 up to and including v7.7. The server validateEPSS 1.3%CVE-2022-45093HIGHA vulnerability has been identified in SINEC INS (All versions < V1.0 SP2 Update 1). An authenticated remote attacker with access to the WebEPSS 1.3%CVE-2025-32779MEDIUMlabsai/eddi Vulnerable to Path Traversal (Zip Slip) in ZIP Import FunctionEPSS 1.3%CVE-2024-45178HIGHAn issue was discovered in za-internet C-MOR Video Surveillance 5.2401. Due to improper user input validation, it is possible to download arEPSS 1.3%CVE-2026-76433MEDIUMCisco Identity Services Engine Information Disclosure VulnerabilityEPSS 1.3%CVE-2024-25693CRITICALPortal for ArcGIS has a directory traversal vulnerability.EPSS 1.3%CVE-2025-58751LOWVite middleware may serve files starting with the same name with the public directoryEPSS 1.3%CVE-2024-23899MEDIUMJenkins Git server Plugin 99.va_0826a_b_cdfa_d and earlier does not disable a feature of its command parser that replaces an '@' character fEPSS 1.3%CVE-2023-27326HIGHParallels Desktop Toolgate Directory Traversal Local Privilege Escalation VulnerabilityEPSS 1.3%CVE-2022-41418HIGHAn issue in the component BlogEngine/BlogEngine.NET/AppCode/Api/UploadController.cs of BlogEngine.NET v3.3.8.0 allows attackers to execute aEPSS 1.3%CVE-2026-11442MEDIUMAllegra exportReport Directory Traversal Information Disclosure VulnerabilityEPSS 1.3%