Falhas do tipo CWE-22

6.012 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-2023-52953MEDIUMPath traversal vulnerability in the Medialibrary module Impact: Successful exploitation of this vulnerability will affect integrity and confEPSS 0.3%CVE-2026-103254HIGHn8n before 1.123.80, 2.39.6, and 2.40.1 Path Traversal via Resume URL GenerationEPSS 0.3%CVE-2024-45601HIGHLocal file Inclusion via static file serving functionality in MesopEPSS 0.3%CVE-2026-82094HIGHDataStage on Cloud Pak for Data has several vulnerabilitiesEPSS 0.3%CVE-2026-19693HIGHextract-zip arbitrary file write outside the destination directory via a symlink at the final path componentEPSS 0.3%CVE-2023-52623HIGHSUNRPC: Fix a suspicious RCU usage warningEPSS 0.3%CVE-2025-24330MEDIUMOAM service path traversal issue caused by a crafted SOAP message PlanId field within the RAN management networkEPSS 0.3%CVE-2025-22479LOWDell Storage Center - Dell Storage Manager, version(s) 20.0.21, contain(s) an Improper Limitation of a Pathname to a Restricted Directory ('EPSS 0.3%CVE-2026-18515MEDIUMIBM i is Affected By Multiple Vulnerabilities in Navigator for i and Digital Certificate Manager for i.EPSS 0.3%CVE-2026-92945LOWvm2 before 3.11.7 Module Allowlist Bypass via Prefix MatchingEPSS 0.3%CVE-2024-47273MEDIUMAn improper limitation of a pathname to a restricted directory ('Path Traversal') vulnerability in Backup Task functionality in Synology HypEPSS 0.3%CVE-2026-24131MEDIUMpnpm has Path Traversal via arbitrary file permission modificationEPSS 0.3%CVE-2025-42894MEDIUMPath Traversal vulnerability in SAP Business ConnectorEPSS 0.3%CVE-2025-54559LOWAn issue was found in the Application Server of Desktop Alert PingAlert version 6.1.0.11 to 6.1.1.2 which allows remote Path Traversal for lEPSS 0.3%CVE-2026-100549MEDIUMOpenClaw before 2026.8.1 Path Traversal via QQBot voice filenamesEPSS 0.3%CVE-2026-20613HIGHThe ArchiveReader.extractContents() function used by cctl image load and container image load performs no pathname validation before extractEPSS 0.3%CVE-2025-0694MEDIUMCODESYS Control V3 removable media path traversalEPSS 0.3%CVE-2026-19016MEDIUMAuthorization bypass for session deletion in the transaction APIEPSS 0.3%CVE-2026-20685MEDIUMAn attacker in a privileged network position may be able to leak sensitive information. A path handling issue was addressed with improved vaEPSS 0.3%CVE-2026-20688CRITICALA path handling issue was addressed with improved validation. This issue is fixed in iOS 26.4 and iPadOS 26.4, macOS Sequoia 15.7.5, macOS SEPSS 0.3%