Falhas do tipo CWE-22

6.631 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-80104CRITICALDB-GPT 0.8.0 Path Traversal Arbitrary File Write via Skill Upload FilenameEPSS 1.1%CVE-2022-41607MEDIUMETIC Telecom Remote Access Server Path TraversalEPSS 1.1%CVE-2026-25539CRITICALSiYuan has Arbitrary File Write via /api/file/copyFile leading to RCEEPSS 1.1%CVE-2025-13645HIGHModula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File DeletionEPSS 1.1%CVE-2023-6352MEDIUMAquaforest TIFF Server default configuration allows access to arbitrary filesEPSS 1.1%CVE-2023-4593MEDIUMPath Traversal in BVRP Software SLmailEPSS 1.1%CVE-2025-27956HIGHDirectory Traversal vulnerability in WebLaudos 24.2 (04) allows a remote attacker to obtain sensitive information via the id parameter.EPSS 1.1%CVE-2019-25098MEDIUMsoerennb eXtplorer Archive archive.php path traversalEPSS 1.1%CVE-2024-3403HIGHLocal File Inclusion in imartinez/privategptEPSS 1.1%CVE-2026-15056MEDIUMStoreEngine <= 2.1.1 - Authenticated (Vendor+) Arbitrary File Read via Path Traversal in Downloadable File URLEPSS 1.1%CVE-2026-67395MEDIUMA path traversal vulnerability exists in Sage Employee Self Service’s custom logo functionality due to improper validation of file path paraEPSS 1.1%CVE-2026-29522HIGHZwickRoell Test Data Management < 3.0.8 Path Traversal LFIEPSS 1.1%CVE-2026-22199HIGHVoltronic Power SNMP Web Pro 1.1 Path Traversal via upload.cgiEPSS 1.1%CVE-2026-48318CRITICALColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22)EPSS 1.1%CVE-2019-25053HIGHA path traversal vulnerability exists in Sage FRP 1000 before November 2019. This allows remote unauthenticated attackers to access files ouEPSS 1.1%CVE-2026-77110HIGHAdobe Commerce | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22)EPSS 1.1%CVE-2025-2328HIGHDrag and Drop Multiple File Upload for Contact Form 7 <= 1.3.8.7 - Unauthenticated Arbitrary File DeletionEPSS 1.1%CVE-2024-22523HIGHDirectory Traversal vulnerability in Qiyu iFair version 23.8_ad0 and before, allows remote attackers to obtain sensitive information via uplEPSS 1.1%CVE-2025-4078MEDIUMWangshen SecGate 3600 g=log_export_file path traversalEPSS 1.1%CVE-2023-41040MEDIUMGitPython blind local file inclusionEPSS 1.1%