Falhas do tipo CWE-22

5.974 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-44647HIGHOneDev: Path Traversal (read capability via Git LFS pointer resolution)EPSS 0.4%CVE-2026-56448HIGHAuthenticated Path Traversal in AIL Framework Investigation Downloads Allows Arbitrary File ReadEPSS 0.4%CVE-2026-33493HIGHAVideo has a Path Traversal in import.json.php that Allows Private Video Theft and Arbitrary File Read/Deletion via fileURI ParameterEPSS 0.4%CVE-2025-7575MEDIUMZavy86 WikiDocs submit.php image_delete_ajax path traversalEPSS 0.4%CVE-2026-54394MEDIUMMISP organisation logo path traversal allows retrieval of arbitrary PNG/SVG filesEPSS 0.4%CVE-2026-42353HIGHPath traversal / SSRF in i18next-http-middleware via user-controlled language and namespace parametersEPSS 0.4%CVE-2026-82656LOWAdmidio before 5.0.12 Path Traversal via Photo ZIP DownloadEPSS 0.4%CVE-2025-12002MEDIUMFeeds for YouTube Pro <= 2.6.0 - Unauthenticated Arbitrary File Read via Path TraversalEPSS 0.4%CVE-2026-47256MEDIUMOpenTelemetry: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer tokenEPSS 0.4%CVE-2026-73244MEDIUMkkFileView: Unauthenticated path traversal in POST /listFiles allows arbitrary directory listingEPSS 0.4%CVE-2026-70592MEDIUMGhost: Database Backup Path TraversalEPSS 0.4%CVE-2026-47385MEDIUMNocoDB: Path Traversal via SQLite Source FilenameEPSS 0.4%CVE-2026-8811HIGHPath traversal in PDF generation moduleEPSS 0.4%CVE-2026-6865HIGHImproper Limitation of a Pathname to a Restricted Directory Vulnerability on Multiple ProductsEPSS 0.4%CVE-2026-7185MEDIUMUnauthorized access to files in T-Systems productsEPSS 0.4%CVE-2026-77139MEDIUMPath Traversal in extension "Mask" (mask)EPSS 0.4%CVE-2026-11917HIGHThinManager® - Path Traversal via APIEPSS 0.4%CVE-2026-84365MEDIUMHono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directoryEPSS 0.4%CVE-2026-65889CRITICALJoomla Extension - balbooa.com - Unauthenticated recursive directory deletion in Gridbox < 2.20.2EPSS 0.4%CVE-2023-42961MEDIUMA path handling issue was addressed with improved validation. This issue is fixed in iOS 17 and iPadOS 17, iOS 16.7 and iPadOS 16.7, macOS SEPSS 0.4%