Weaknesses of type CWE-367

800 results

Condição de corrida entre verificação e uso (TOCTOU)

A aplicação verifica uma condição (ex: permissão, existência de arquivo) e depois usa o recurso baseado naquela verificação, mas entre os dois momentos outro processo pode mudar o estado do recurso. O atacante explora a janela de tempo para alterar o que foi verificado, contornando a validação.

Example

Um programa verifica se um arquivo existe e tem permissão de leitura, depois o abre para processar. Entre a verificação e a abertura, um atacante pode trocar o arquivo por um link simbólico apontando para um arquivo sensível do sistema. O programa abre o link sem perceber a mudança.

How to mitigate

Use operações atômicas que combinam verificação e uso em uma única chamada de sistema (ex: open() com flags exclusivas, fstat() após abrir arquivo). Em casos de acesso a dados compartilhados, implemente locks ou transações que impeçam alterações entre a validação e o uso do recurso.

CVE-2026-116250HIGHpgAdmin 4: Files opened in a storage directory follow a symbolic link, hard link or FIFO planted after the containment checkEPSS 0.1%CVE-2022-27834LOWUse after free vulnerability in dsp_context_unload_graph function of DSP driver prior to SMR Apr-2022 Release 1 allows attackers to perform EPSS 0.1%CVE-2026-92369HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in TeamViewer Windows Installer Rollback Mechanism Leads to Local Privilege EscalationEPSS 0.1%CVE-2024-43067HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in CameraEPSS 0.1%CVE-2026-18567MEDIUMIBM Db2 Mirror for i is affected by multiple vulnerabilities [, , ]EPSS 0.1%CVE-2026-6505MEDIUMThe ACAP framework contains a Time-of-Check to Time-of-Use (TOCTOU) race condition, which could potentially lead to privilege escalation. ThEPSS 0.1%CVE-2026-54327LOWPi: Race condition in auth.json writes could expose stored credentialsEPSS 0.1%CVE-2026-102672MEDIUMElectron: Local race condition in Squirrel.Mac update installation on macOSEPSS 0.1%CVE-2026-92374HIGHPrivilege Escalation via Insecure Package Handling in TeamViewer Full Client and Host for macOSEPSS 0.1%CVE-2026-45197LOWGPU DDK - TOCTOU affecting psFWMemContext->uiPageCatBaseRegSetEPSS 0.1%CVE-2026-35364MEDIUMuutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race ConditionEPSS 0.1%CVE-2025-54655HIGHRace condition vulnerability in the virtualization base module. Successful exploitation of this vulnerability may affect the confidentialityEPSS 0.1%CVE-2026-35357MEDIUMuutils coreutils cp Information Disclosure via Permission Handling RaceEPSS 0.1%CVE-2026-41360MEDIUMOpenClaw < 2026.4.2 - Approval Integrity Bypass in pnpm dlx Local Script BindingEPSS 0.1%CVE-2026-91813HIGHFoxit PDF Editor/Reader FoxitUpdater Race Condition Local Privilege Escalation VulnerabilityEPSS 0.1%CVE-2026-54370HIGHacl < 2.4.0 TOCTOU Symlink Traversal via getfacl/setfacl/chaclEPSS 0.1%CVE-2022-33214HIGHMemory corruption in display due to time-of-check time-of-use of metadata reserved size in Snapdragon Auto, Snapdragon Compute, Snapdragon CEPSS 0.1%CVE-2026-33574MEDIUMOpenClaw < 2026.3.8 - Path Traversal via Tools Root Rebinding in Skills DownloadEPSS 0.1%CVE-2024-53032HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Automotive OS PlatformEPSS 0.1%CVE-2024-53028HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Automotive Vehicle NetworksEPSS 0.1%