Falhas do tipo CWE-22

6.045 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-58460HIGHreact-native-receive-sharing-intent Path Traversal via _display_nameEPSS 0.2%CVE-2026-43772HIGHA path traversal issue was addressed with improved input validation. This issue is fixed in macOS Sequoia 15.7.8, macOS Sonoma 14.8.8, macOSEPSS 0.2%CVE-2026-58481MEDIUMNetwork-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directoryEPSS 0.2%CVE-2026-7875CRITICALNanoClaw Host/Container Filesystem Boundary Vulnerability via Outbound Attachment HandlingEPSS 0.2%CVE-2026-43691HIGHA path handling issue was addressed with improved validation. This issue is fixed in macOS Golden Gate 27, macOS Sequoia 15.8, macOS Tahoe 2EPSS 0.2%CVE-2026-58414MEDIUMNetwork-AI: EnvironmentManager.backup() follows symlinked directories and copies files outside the environment root into backupsEPSS 0.2%CVE-2026-43749HIGHA parsing issue in the handling of directory paths was addressed with improved path validation. This issue is fixed in macOS Sequoia 15.7.8,EPSS 0.2%CVE-2026-58413MEDIUMEnvironmentManager.restore() backup ID path traversal copies arbitrary directories into environment dataEPSS 0.2%CVE-2026-29780MEDIUMeml_parser: Path Traversal in Official Example Script Leading to Arbitrary File WriteEPSS 0.2%CVE-2026-45224MEDIUMCrabbox < 0.9.0 Path Traversal via Islo Provider Workspace ResolutionEPSS 0.2%CVE-2026-30853MEDIUMcalibre has a Path Traversal Leading to Arbitrary File WriteEPSS 0.2%CVE-2026-43989HIGHJunoClaw: upload_wasm accepted arbitrary filesystem paths without validationEPSS 0.2%CVE-2026-35570HIGHOpenClaude has Sandbox Bypass via Early-Exit Logic Flaw that Allows Path TraversalEPSS 0.2%CVE-2026-84201MEDIUMappium-mcp-server through 0.1.61 Path Traversal in write_file and write_files_batchEPSS 0.2%CVE-2026-69112MEDIUMHugging Face Accelerate 1.14.0 Path Traversal and DoS via weight_mapEPSS 0.2%CVE-2026-96419MEDIUMImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in WiresharkEPSS 0.2%CVE-2023-5097HIGHImproper Input Validation vulnerability in HYPR Workforce Access on Windows allows Path Traversal.This issue affects Workforce Access: beforEPSS 0.2%CVE-2026-43723HIGHA path handling issue was addressed with improved validation. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.6 and iPadOS 26.EPSS 0.2%CVE-2025-3465HIGHPath Traversal VulnerabilityEPSS 0.2%CVE-2026-39973HIGHApktool: Path Traversal to Arbitrary File WriteEPSS 0.2%