Falhas do tipo CWE-59

984 resultados

Seguimento de links simbólicos (symlink)

A aplicação segue links simbólicos sem validação, permitindo que um atacante redirecione operações de arquivo para locais não autorizados. Isso pode resultar em leitura, modificação ou exclusão de arquivos sensíveis fora do diretório esperado.

Exemplo

Um servidor web processa uploads em /tmp/uploads/, mas não verifica se os caminhos são links simbólicos. Um atacante cria um symlink em /tmp/uploads/config que aponta para /etc/passwd, e a aplicação sobrescreve o arquivo de senhas do sistema.

Como mitigar

Use funções que resolvem caminhos canônicos (realpath em C, Path.toRealPath() em Java) antes de qualquer operação com arquivo, e implemente verificações de TOCTOU (time-of-check-time-of-use). Mantenha operações sensíveis em diretórios controlados com permissões restritivas e evite processar symlinks vindos de áreas com controle de usuário.

CVE-2026-11940HIGHtarfile extraction filter bypass allows escaping the destination directoryEPSS 0.8%CVE-2026-55108HIGHKubeVela Terraform remote loader DoS via unbounded file readEPSS 0.8%CVE-2026-53486CRITICALdecompress: Archive extraction can create files and links outside the target directoryEPSS 0.7%CVE-2024-29989HIGHAzure Monitor Agent Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2024-35253MEDIUMMicrosoft Azure File Sync Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-65647HIGHImproper symlink resolution before file access in Plesk allows remote authenticated users to execute arbitrary code as root.EPSS 0.7%CVE-2026-7374CRITICALKubevirt: kubevirt virt-handler: privilege escalation and node compromise via symlink following vulnerabilityEPSS 0.7%CVE-2025-21419HIGHWindows Setup Files Cleanup Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-43998HIGHvm2: NodeVM require.root bypass via symlink traversal allows sandbox escapeEPSS 0.7%CVE-2026-63395HIGHisomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE)EPSS 0.7%CVE-2025-66277CRITICALQTS, QuTS heroEPSS 0.7%CVE-2024-35261HIGHAzure Network Watcher VM Extension Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2025-29837MEDIUMWindows Installer Information Disclosure VulnerabilityEPSS 0.7%CVE-2023-22490MEDIUMGit vulnerable to local clone-based data exfiltration with non-local transportsEPSS 0.7%CVE-2025-11578HIGHPre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege EscalationEPSS 0.7%CVE-2026-81690HIGHverify-usb before 1.4.9 Symlink Directory Traversal Code ExecutionEPSS 0.7%CVE-2025-21188MEDIUMAzure Network Watcher VM Extension Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-40861MEDIUMApache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandlerEPSS 0.7%CVE-2024-21432HIGHWindows Update Stack Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-55607HIGHClaude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code ExecutionEPSS 0.7%