Weaknesses of type CWE-22

5,964 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-11720CRITICALPath Traversal in googleapis/mcp-toolbox HTTP Tool URL BuilderEPSS 0.5%CVE-2026-31913HIGHWordPress Scape theme < 1.5.16 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-32522HIGHWordPress WooCommerce Support Ticket System plugin < 18.5 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-78284HIGHWordPress MasterStudy LMS plugin <= 3.7.42 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2024-8291MEDIUMConcrete CMS Stored XSS in Image Editor Background ColorEPSS 0.5%CVE-2024-20527MEDIUMCisco Identity Services Engine Arbitrary File Read and Delete VulnerabilityEPSS 0.5%CVE-2026-26187HIGHlakeFS vulnerable to path traversal in local block adapter allow cross-namespace and sibling directory accessEPSS 0.5%CVE-2026-62992MEDIUMSmarty: Symlink path traversal out of trusted directoriesEPSS 0.5%CVE-2026-57709HIGHWordPress Membership For WooCommerce plugin <= 3.1.0 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-61891HIGHIn Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend exposes HTTP file-download endpoints (`GET /file`, `GEEPSS 0.5%CVE-2026-58072CRITICALA vulnerability in Veeam Service Provider Console allowing arbitrary file write on the management server, which can lead to remotecode execuEPSS 0.5%CVE-2026-32477HIGHWordPress ShopBuilder Pro – Elementor WooCommerce Builder Addons plugin <= 2.2.0 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-28171HIGHWordPress WooCommerce File Approval plugin <= 10.7 - Arbitrary File Deletion vulnerabilityEPSS 0.5%CVE-2026-24046HIGHBackstage has a Possible Symlink Path Traversal in Scaffolder ActionsEPSS 0.5%CVE-2026-41245MEDIUMJunrar: Path Traversal (Zip-Slip) via Sibling Directory Name PrefixEPSS 0.5%CVE-2025-28354MEDIUMAn issue in the Printer Manager Systm of Entrust Corp Printer Manager D3.18.4-3 and below allows attackers to execute a directory traversal EPSS 0.5%CVE-2021-42811LOWVulnerability in SafeNet KeySecureEPSS 0.5%CVE-2024-3783HIGHPath Traversal vulnerability in WBSAirbackEPSS 0.5%CVE-2026-76409HIGHCisco Nexus Dashboard Software Security Hardening Release September 2026 - Improper Limitation of a PathnameEPSS 0.5%CVE-2025-2493HIGHPath Traversal vulnerability in Softdial Contact CenterEPSS 0.5%