Falhas do tipo CWE-22

5.929 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-82392HIGHpnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraphEPSS 0.6%CVE-2026-82100CRITICALDataStage on Cloud Pak for Data has several vulnerabilities due to open source softwareEPSS 0.6%CVE-2026-79622MEDIUMdekdee adobe-xd-mcp file-access-from-request Endpoint xd-parser.ts path traversalEPSS 0.6%CVE-2026-19757MEDIUMDromara lamp-cloud File-Upload Controller FileAnyoneController.java path traversalEPSS 0.6%CVE-2026-19762MEDIUMDTStack Taier Chunk-Check Endpoint FileChunkController.java Paths.ge path traversalEPSS 0.6%CVE-2025-15245MEDIUMD-Link DCS-850L Firmware Update Service uploadfirmware path traversalEPSS 0.6%CVE-2023-28105HIGHGo-huge-util vulnerable to path traversal when unzipping filesEPSS 0.6%CVE-2018-25325HIGHWoocommerce CSV Importer 3.3.6 Path Traversal File DeletionEPSS 0.6%CVE-2025-41368HIGHMultiple vulnerabilities in Small HTTP server by SmallsrvEPSS 0.6%CVE-2025-62356HIGHA path traversal vulnerability in all versions of the Qodo Qodo Gen IDE enables a threat actor to read arbitrary local files in and outside EPSS 0.6%CVE-2023-39299HIGHMusic StationEPSS 0.6%CVE-2026-92791HIGHUber Kraken through 0.1.29 Path Traversal via tag parameterEPSS 0.6%CVE-2023-40026MEDIUMPath traversal allows leaking out-of-bound Helm charts from Argo CD repo-serverEPSS 0.6%CVE-2025-8815MEDIUM猫宁i Morning Shiro Configuration index path traversalEPSS 0.6%CVE-2026-42351HIGHpygeoapi: Path Traversal in STAC FileSystemProviderEPSS 0.6%CVE-2024-32778HIGHWordPress Contest Gallery plugin <= 21.3.4 - Arbitrary File Deletion vulnerabilityEPSS 0.6%CVE-2024-52363MEDIUMIBM InfoSphere Information Server directory traversalEPSS 0.6%CVE-2025-13698MEDIUMDeciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation VulnerabilityEPSS 0.6%CVE-2025-54438CRITICALImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Samsung Electronics MagicINFO 9 Server allowEPSS 0.6%CVE-2025-27085MEDIUMArbitrary File Download Vulnerabilities in Web-Based Management Interface of AOS-10 GW and AOS-8 Controller/Mobility ConductorEPSS 0.6%