Falhas do tipo CWE-22

5.991 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-2025-58355HIGHSoft Serve is vulnerable to arbitrary file writing through its SSH APIEPSS 0.3%CVE-2026-7085LOWHBAI-Ltd Toonflow-app downloadApp Endpoint downloadApp.ts z.url path traversalEPSS 0.3%CVE-2025-7719MEDIUMSmallworld SWMFS Arbitrary File OpsEPSS 0.3%CVE-2026-50163HIGHoras-go: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution in `oras-go` tar extractionEPSS 0.3%CVE-2026-78312CRITICALPath Traversal in DIAEnergieEPSS 0.3%CVE-2026-101889HIGHPrime Mover < 2.2.1 Path Traversal via wprime-config.jsonEPSS 0.3%CVE-2025-65076HIGHArbitrary File Read and Delete via Path Traversal in WaveStore ServerEPSS 0.3%CVE-2026-95588HIGHWordPress AcyMailing SMTP Newsletter plugin <= 11.0.5 - Arbitrary File Deletion vulnerabilityEPSS 0.3%CVE-2026-88624CRITICALMissing path validation in the Worktree.remove component of openCode v1.18.26 allows attackers to execute arbitrary recursive directory deleEPSS 0.3%CVE-2025-67643MEDIUMJenkins Redpen - Pipeline Reporter for Jira Plugin 1.054.v7b_9517b_6b_202 and earlier does not correctly perform path validation of the workEPSS 0.3%CVE-2025-15470MEDIUMEleganzo <= 1.2 - Authenticated (Subscriber+) Arbitrary Directory DeletionEPSS 0.3%CVE-2021-39143MEDIUMPath Traversal in spinnakerEPSS 0.3%CVE-2026-58171LOWVibe-Trading < 0.1.10 - Path Traversal via Swarm Run IdentifierEPSS 0.3%CVE-2023-26243HIGHAn issue was discovered in the Hyundai Gen5W_L in-vehicle infotainment system AE_E_PE_EUR.S5W_L001.001.211214. The decryption binary used toEPSS 0.3%CVE-2026-66063MEDIUMgoshs has a Path Traversal issueEPSS 0.3%CVE-2022-50953MEDIUMWordPress Plugin admin-word-count-column 2.2 Local File ReadEPSS 0.3%CVE-2026-7807HIGHSmarterTools SmarterMail < Build 9560 Server Local File Inclusion via the /api/v1/report/summary/{type} APIEPSS 0.3%CVE-2026-48789MEDIUMAnythingLLM: Windows path containment bypass in document folder routeEPSS 0.3%CVE-2026-16955MEDIUMAI Engine < 3.6.6 - Subscriber+ Arbitrary File Read via Audio TranscriptionEPSS 0.3%CVE-2026-42885MEDIUMAudiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existenceEPSS 0.3%