Falhas do tipo CWE-22

5.866 resultados

Travessia de diretório (Path Traversal)

A aplicação constrói caminhos de arquivo usando entrada do usuário sem validar adequadamente, permitindo que caracteres especiais como '../' façam o caminho "sair" do diretório permitido e acessar arquivos fora da zona restrita. Isso expõe dados sensíveis ou permite manipulação de arquivos críticos do sistema.

Exemplo

Um site permite download de documentos via URL como /download?file=relatorio.pdf, mas não valida o parâmetro. Um atacante usa /download?file=../../etc/passwd para ler o arquivo de senhas do servidor, ou /download?file=../../configuracao.db para acessar a base de dados da aplicação.

Como mitigar

Valide e normalize todos os caminhos de entrada (use funções nativas como realpath ou canonicalize), implemente uma whitelist de arquivos permitidos em vez de bloquear padrões perigosos, e configure permissões de arquivo restritivas no SO. Melhor ainda: nunca construa caminhos a partir de entrada do usuário — use índices ou IDs mapeados internamente.

CVE-2026-73765HIGHAuthenticated Path Traversal Vulnerabilities Lead to Remote Code Execution in AOS-CXEPSS 0.9%CVE-2026-84086HIGHIBM Guardium Data Protection is affected by multiple vulnerabilities.EPSS 0.9%CVE-2026-8023HIGHPath traversal in Zephyr HTTP server static-filesystem resource handler allows unauthenticated remote arbitrary file readEPSS 0.9%CVE-2025-11913MEDIUMShenzhen Ruiming Technology Streamax Crocus Service.do download path traversalEPSS 0.9%CVE-2026-63454HIGHAuthenticated Path Traversal Vulnerability Leads to Remote Code Execution in AOS-CXEPSS 0.9%CVE-2026-35174CRITICALChyrp Lite has a Path Traversal to Remote Code ExecutionEPSS 0.9%CVE-2026-49506HIGHDell Wyse Management Suite, versions prior to WMS 5.5 HF1, contain an Improper Limitation of a Pathname to a Restricted Directory ('Path TraEPSS 0.9%CVE-2024-25164HIGHiA Path Traversal vulnerability exists in iDURAR v2.0.0, that allows unauthenticated attackers to expose sensitive files via the download fuEPSS 0.9%CVE-2025-28072HIGHPHPGurukul Pre-School Enrollment System is vulnerable to Directory Traversal in manage-teachers.php.EPSS 0.9%CVE-2023-42487HIGHSoundminer – CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')EPSS 0.9%CVE-2022-44942HIGHCasdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.EPSS 0.9%CVE-2026-69807HIGHPowerShell Elevation of Privilege VulnerabilityEPSS 0.9%CVE-2020-36628MEDIUMCalsign APDE ZIP File CopyBuildTask.java handleExtract path traversalEPSS 0.9%CVE-2022-4748MEDIUMFlatPress File Delete panel.mediamanager.file.php doItemActions path traversalEPSS 0.9%CVE-2025-2742MEDIUMzhijiantianya ruoyi-vue-pro Material Upload Interface upload-permanent path traversalEPSS 0.9%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-2021-20030HIGHSonicWall GMS is vulnerable to file path manipulation resulting that an unauthenticated attacker can gain access to web directory containingEPSS 0.9%CVE-2026-65687CRITICALBold Reports Standalone Report Designer < 14.1.12 Arbitrary File Read via SVG ProcessingEPSS 0.9%CVE-2025-32509HIGHWordPress Simple WP Events plugin <= 1.8.17 - Arbitrary File Deletion vulnerabilityEPSS 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%