Falhas do tipo CWE-22

5.969 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-2022-23971HIGHASUS RT-AX56U - Path TraversalEPSS 0.5%CVE-2026-54520HIGHAI Agent Automation: Workflow file step path traversal allows read and write outside the expected directoryEPSS 0.5%CVE-2026-32055HIGHOpenClaw < 2026.2.26 - Workspace Path Boundary Bypass via Non-existent SymlinkEPSS 0.5%CVE-2026-41491HIGHDapr: Service Invocation path traversal ACL bypassEPSS 0.5%CVE-2020-15703MEDIUMaptdaemon allows unprivileged users to test for the presence of local files via the transaction Locale propertyEPSS 0.5%CVE-2024-38768MEDIUMWordPress The Pack Elementor addons plugin <= 2.0.8.6 - Local File Inclusion vulnerabilityEPSS 0.5%CVE-2026-33194MEDIUMSiYuan has an Incomplete Fix for IsSensitivePath Denylist Allows File Read from /opt, /usr, /homeEPSS 0.5%CVE-2026-47394HIGHPraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validateEPSS 0.5%CVE-2025-36236HIGHAIX Path TraversalEPSS 0.5%CVE-2025-45870MEDIUMLogicalDOC Enterprise up to and for v9.1.1 is vulnerable to Local File Inclusion (LFI) in the OnlyOfficeEditor servlet class, allowing autheEPSS 0.5%CVE-2025-27566MEDIUMPath traversal vulnerability exists in a-blog cms versions prior to Ver. 3.1.43 and versions prior to Ver. 3.0.47. This is an issue with insEPSS 0.5%CVE-2026-77262HIGHMCP Atlassian: Path Traversal / Arbitrary File Read in confluence_upload_attachment MCP tool (incomplete fix of CVE-2026-27825)EPSS 0.5%CVE-2026-20174MEDIUMCisco Nexus Dashboard Insights Arbitrary File Write VulnerabilityEPSS 0.5%CVE-2024-4498HIGHPath Traversal and RFI Vulnerability in parisneo/lollms-webuiEPSS 0.5%CVE-2025-65074HIGHOS Command Injection via Path Traversal in WaveStore ServerEPSS 0.5%CVE-2025-33033HIGHQsync CentralEPSS 0.5%CVE-2025-3214MEDIUMJFinal CMS readTemplate engine.getTemplate path traversalEPSS 0.5%CVE-2025-33037HIGHQsync CentralEPSS 0.5%CVE-2026-47118HIGHAgent Zero < 1.15 Path Traversal File Read via image_get APIEPSS 0.5%CVE-2025-30271MEDIUMQTS, QuTS heroEPSS 0.5%