Weaknesses of type CWE-59

823 results

Seguimento inseguro de links simbólicos

Ocorre quando uma aplicação segue um link simbólico (symlink) sem validar se o destino é legítimo, permitindo que um atacante redirecione operações de arquivo para locais não autorizados. Um processo com privilégio elevado que acessa `/tmp/arquivo` pode ser redirecionado por um symlink malicioso para ler ou modificar `/etc/passwd`, por exemplo.

Example

Um script root copia logs da aplicação de `/tmp/app.log` para `/var/log/backup.log`. Um atacante cria um symlink `/tmp/app.log` → `/etc/shadow` e aguarda a execução do script; o arquivo sensível é então copiado e exposto.

How to mitigate

Use APIs seguras como `O_NOFOLLOW` (em open/openat) ou `lstat()` para detectar symlinks antes de operar. Valide o proprietário e permissões de arquivos alvo, e armazene arquivos temporários em diretórios privados (não `/tmp`), com umask restritivo.

CVE-2025-43257HIGHThis issue was addressed with improved handling of symlinks. This issue is fixed in macOS Sequoia 15.6. An app may be able to break out of iEPSS 0.2%CVE-2025-9869HIGHRazer Synapse 3 Macro Module Link Following Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2025-9871HIGHRazer Synapse 3 Chroma Connect Link Following Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2025-9870HIGHRazer Synapse 3 RazerPhilipsHueUninstall Link Following Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2024-54554MEDIUMThis issue was addressed with improved handling of symlinks. This issue is fixed in macOS Sequoia 15.1. An app may be able to access sensitiEPSS 0.2%CVE-2025-15313MEDIUMTanium addressed an arbitrary file deletion vulnerability in Tanium EUSS.EPSS 0.2%CVE-2026-27748HIGHAvira Internet Security Arbitrary File Deletion via Improper Link ResolutionEPSS 0.2%CVE-2025-12838HIGHMSP360 Free Backup Link Following Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2025-30240MEDIUMArbitrary File Read via Improper Symlink Handling in USB HTTPS Access Path in multiple TP-Link Aginet DevicesEPSS 0.2%CVE-2025-62363HIGHyt-grabber-tui allows arbitrary code execution via configurable yt-dlp pathEPSS 0.2%CVE-2026-64613MEDIUMData::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOWEPSS 0.2%CVE-2025-43288MEDIUMThis issue was addressed with improved validation of symlinks. This issue is fixed in macOS Sequoia 15.7, macOS Tahoe 26. An app may be ableEPSS 0.2%CVE-2023-6336HIGHImproper Link Resolution Before File Access ('Link Following') vulnerability in HYPR Workforce Access on MacOS allows User-Controlled FilenaEPSS 0.2%CVE-2025-29983MEDIUMDell Trusted Device, versions prior to 7.0.3.0, contain an Improper Link Resolution Before File Access ('Link Following') vulnerability. A lEPSS 0.2%CVE-2026-55086MEDIUMEtherpad: Import/export use Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwriteEPSS 0.2%CVE-2025-15328MEDIUMTanium addressed an improper link resolution before file access vulnerability in Enforce.EPSS 0.2%CVE-2026-44274HIGHDell Wyse Management Suite (WMS), versions prior to WMS 2605, contain an Improper Link Resolution Before File Access vulnerability. A low prEPSS 0.2%CVE-2026-44269MEDIUMDell PowerProtect Data Domain, versions 7.7.1.0 through 8.6, LTS2026 release version 8.6.1.0 through 8.6.1.10, LTS2025 release version 8.3.1EPSS 0.2%CVE-2026-46468MEDIUMDell PowerProtect Data Domain, versions 7.7.1.0 through 8.7, LTS2026 release version 8.6.1.0 through 8.6.1.10, LTS2025 release version 8.3.1EPSS 0.2%CVE-2026-14699MEDIUMzcaceres markdownify-mcp Markdownify.ts assertPathAllowed symlinkEPSS 0.2%