Falhas do tipo CWE-367

680 resultados

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

A aplicação verifica uma condição (ex: arquivo existe, usuário tem permissão) e depois atua sobre ela, mas entre a verificação e a ação outro processo pode alterar o estado. Um atacante explora esse intervalo para burlar controles de segurança ou acessar recursos que não deveria.

Exemplo

Um programa verifica se um arquivo é seguro para ler (if (arquivo_existe && nao_eh_symlink)), depois abre e processa. Um atacante substitui o arquivo por um symlink apontando para /etc/passwd entre a verificação e a leitura, conseguindo acessar dados sensíveis.

Como mitigar

Use operações atômicas do SO (open com flags O_NOFOLLOW, O_EXCL; fstat em vez de stat; operações que verificam e atuam em uma única chamada). Implemente locks/mutexes se lógica complexa for necessária, e valide o estado novamente após adquirir recurso.

CVE-2025-24432LOWAdobe Commerce | Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)EPSS 0.4%CVE-2026-82761CRITICALMagic link single-use tokens replayable via TOCTOU race in AshAuthenticationEPSS 0.4%CVE-2021-26356HIGHA TOCTOU in ASP bootloader may allow an attacker to tamper with the SPI ROM following data read to memory potentially resulting in S3 data cEPSS 0.4%CVE-2021-46792MEDIUMTime-of-check Time-of-use (TOCTOU) in the BIOS2PSP command may allow an attacker with a malicious BIOS to create a race condition causing thEPSS 0.4%CVE-2025-26620MEDIUMDuende.AccessTokenManagement race condition when concurrently retrieving customized Client Credentials Access TokensEPSS 0.4%CVE-2024-6601MEDIUMRace condition in permission assignmentEPSS 0.4%CVE-2025-69211MEDIUMNest has a Fastify URL Encoding Middleware Bypass (TOCTOU)EPSS 0.4%CVE-2026-76044HIGHRace condition in USB in Google Chrome prior to 151.0.7922.169 allowed a remote attacker who had compromised the renderer process to potentiEPSS 0.4%CVE-2024-1563HIGHAn attacker could have executed unauthorized scripts on top origin sites using a JavaScript URI when opening an external URL with a custom FEPSS 0.4%CVE-2026-26017HIGHCoreDNS ACL BypassEPSS 0.4%CVE-2021-3899HIGHThere is a race condition in the 'replaced executable' detection that, with the correct local configuration, allow an attacker to execute arEPSS 0.4%CVE-2025-43276MEDIUMA logic error was addressed with improved error handling. This issue is fixed in macOS Sequoia 15.6. iCloud Private Relay may not activate wEPSS 0.4%CVE-2024-43511HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-50158HIGHWindows NTFS Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-45804HIGHDiffusers: TOCTOU Trust Remote Code BypassEPSS 0.4%CVE-2026-62189HIGHOpenClaw < 2026.6.9 Symlink Following via Mirror SyncEPSS 0.4%CVE-2025-54093HIGHWindows TCP/IP Driver Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-23463HIGHAnti-Tampering bypass via Repair App functionalityEPSS 0.4%CVE-2020-8873HIGHThis vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop 15.1.2-47123. An attacker muEPSS 0.4%CVE-2025-24036HIGHMicrosoft AutoUpdate (MAU) Elevation of Privilege VulnerabilityEPSS 0.4%