Falhas do tipo CWE-22

5.865 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-52610CRITICALAn arbitrary file write/directory traversal vulnerability in reportico-web <= 8.1.0 allows remote attackers to create or overwrite files anyEPSS 1.1%CVE-2026-17614MEDIUMWildfly-core: path traversal on wildfly domain controllerEPSS 1.1%CVE-2019-25258HIGHLogicalDOC Enterprise 7.7.4 Multiple Post-Authentication Directory Traversal VulnerabilitiesEPSS 1.1%CVE-2026-19091HIGHGeoDirectory <= 2.8.169 - Authenticated (Subscriber+) Arbitrary File Deletion via 'post_type' Parameter via Query-String Bypass in geodir_save_post + geodir_delete_revisionEPSS 1.1%CVE-2022-3389HIGHPath Traversal in ikus060/rdiffwebEPSS 1.1%CVE-2022-20726MEDIUMCisco IOx Application Hosting Environment VulnerabilitiesEPSS 1.1%CVE-2026-77621CRITICALVector: Arbitrary file write in the file sink via templated path (path traversal).EPSS 1.1%CVE-2018-19945—Improper Limitation of a Pathname to a Restricted Directory in QTSEPSS 1.1%CVE-2022-42706MEDIUMAn issue was discovered in Sangoma Asterisk through 16.28, 17 and 18 through 18.14, 19 through 19.6, and certified through 18.9-cert1. GetCoEPSS 1.1%CVE-2024-10816HIGHLUNA RADIO PLAYER <= 6.24.01.24 - Unauthenticated Arbitrary File ReadEPSS 1.1%CVE-2025-66645HIGHNiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File ReadingEPSS 1.1%CVE-2023-2435HIGHBlog-in-Blog <= 2.0.0 - Authenticated (Editor+) Local File Inclusion via ShortcodeEPSS 1.1%CVE-2025-1282HIGHCar Dealer Automotive WordPress Theme – Responsive <= 1.6.3 - Authenticated (Subscriber+) Arbitrary File Deletion and ReadEPSS 1.1%CVE-2024-28073HIGHSolarWinds Serv-U Directory Traversal Remote Code Execution Vulnerability EPSS 1.1%CVE-2023-1478CRITICALHummingbird < 3.4.2 - Unauthenticated Path Traversal EPSS 1.1%CVE-2026-58372HIGHSeaweedFS < 4.34 - Cross-Bucket Object Deletion via DeleteObjects Request-Body KeysEPSS 1.1%CVE-2023-47279HIGHDelta Electronics InfraSuite Device Master Path TraversalEPSS 1.1%CVE-2026-26396HIGHOpenBMB XAgent v1.0.0 and before is vulnerable to path traversal in the file() function in XAgent/XAgentServer/application/routers/workspaceEPSS 1.1%CVE-2024-41887MEDIUMArbitrary File OverwriteEPSS 1.1%CVE-2026-66050HIGHNitroShare Desktop 0.3.4 Path Traversal via LAN File Transfer ServerEPSS 1.1%