Falhas do tipo CWE-22

6.021 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-58484HIGHNetwork-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruningEPSS 0.2%CVE-2022-3146—A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restEPSS 0.2%CVE-2026-26960HIGHnode-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in ExtractionEPSS 0.2%CVE-2022-3101—A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restEPSS 0.2%CVE-2026-19444MEDIUMKubernetes kubectl cp path traversal on Windows allows arbitrary file writesEPSS 0.2%CVE-2026-13622HIGHKubevirt: virt-handler-rhel9: kubevirt: virt-handler migration proxy follows symlinks allowing container escape to hostEPSS 0.2%CVE-2026-3840HIGHPath Traversal in kedro-org/kedroEPSS 0.2%CVE-2022-29837MEDIUMPath traversal Vulnerability in Western Digital My Cloud Home, My Cloud Home Duo and SanDisk ibi DevicesEPSS 0.2%CVE-2026-41530MEDIUMThe automatic folder creation feature of Lhaz and Lhaz+ provided by Chitora soft contains a path traversal vulnerability. When the affected EPSS 0.2%CVE-2024-38358LOWSymlink bypasses filesystem sandbox in wasmerEPSS 0.2%CVE-2026-40027HIGHALEAPP NQ Vault Artifact Parser Path TraversalEPSS 0.2%CVE-2025-14699MEDIUMMunicorn FAX App biz.faxapp.app path traversalEPSS 0.2%CVE-2026-35338HIGHuutils coreutils chmod Path Traversal Bypass of --preserve-rootEPSS 0.2%CVE-2026-0270MEDIUMCortex XSOAR: Path Traversal VulnerabilityEPSS 0.2%CVE-2026-35206MEDIUMHelm Chart extraction output directory collapse via `Chart.yaml` name dot-segmentEPSS 0.2%CVE-2025-14702MEDIUMSmartbit CommV Smartschool App be.smartschool.mobile.SplashActivity path traversalEPSS 0.2%CVE-2025-14698MEDIUMatlaszz AI Photo Team Galleryit App gallery.photogallery.pictures.vault.album path traversalEPSS 0.2%CVE-2025-54160HIGHImproper limitation of a pathname to a restricted directory ('Path Traversal') vulnerability in BeeDrive in Synology BeeDrive for desktop beEPSS 0.2%CVE-2026-44192MEDIUMAnsible-lightspeed: ansible lightspeed mcp server: remote code execution and data exfiltration via path traversalEPSS 0.2%CVE-2023-21448MEDIUMPath traversal vulnerability in Samsung Cloud prior to version 5.3.0.32 allows attacker to access specific png file.EPSS 0.2%