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-30640HIGHA link following vulnerability in Trend Micro Deep Security 20.0 agents could allow a local attacker to escalate privileges on affected instEPSS 0.2%CVE-2025-63945HIGHA privilege escalation (PE) vulnerability in the Tencent iOA app thru 210.9.28693.621001 on Windows devices enables a local user to execute EPSS 0.2%CVE-2026-26225HIGHIntego Personal Backup Task File Privilege EscalationEPSS 0.2%CVE-2025-63946HIGHA privilege escalation (PE) vulnerability in the Tencent PC Manager app thru 17.10.28554.205 on Windows devices enables a local user to execEPSS 0.2%CVE-2026-23893MEDIUMopenCryptoki has improper link resolution before file access (link following)EPSS 0.2%CVE-2026-88016HIGHrclone: Directory metadata (chmod/chown/chtimes) applied through a planted symlink in rclone local --links escapes the destinationEPSS 0.2%CVE-2023-41971MEDIUMWindows ZCC Upgrade DoS And Privilege Escalation Through RPC ControlEPSS 0.2%CVE-2025-15310HIGHTanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.EPSS 0.2%CVE-2025-15319HIGHTanium addressed a local privilege escalation vulnerability in Patch Endpoint Tools.EPSS 0.2%CVE-2026-66153HIGHThe NEService auto-upgrade process insecurely handles temporary files in SonicWall NetExtender Linux client which allows an attacker to maniEPSS 0.2%CVE-2026-35349MEDIUMuutils coreutils Path-Based Safety Bypass with --preserve-rootEPSS 0.2%CVE-2026-54230HIGHAbrt: event handler scripts follow symlinks when writing output files, allowing arbitrary file overwritesEPSS 0.2%CVE-2026-58203MEDIUMNestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_sizeEPSS 0.2%CVE-2024-0206HIGH A symbolic link manipulation vulnerability in Trellix Anti-Malware Engine prior to the January 2024 release allows an authenticated local uEPSS 0.2%CVE-2022-42292MEDIUM NVIDIA GeForce Experience contains a vulnerability in the NVContainer component, where a user without administrator privileges can create aEPSS 0.2%CVE-2023-28141MEDIUMNTFS JunctionEPSS 0.2%CVE-2026-56236MEDIUMCapgo CLI - Arbitrary File Overwrite via Symlink-Following in Local Credential OperationsEPSS 0.2%CVE-2025-15318MEDIUMTanium addressed an arbitrary file deletion vulnerability in End-User Notifications Endpoint Tools.EPSS 0.2%CVE-2026-82049HIGHtarfile extraction filters allow file modification and content disclosure via hard link to symlinkEPSS 0.2%CVE-2025-52936CRITICALImproper Link Resolution Before File Access vulnerability in yrutschle/sslhEPSS 0.2%