Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-367 (检查时间与使用时间(TOCTOU)的竞争条件) — Vulnerability Class 646

646 vulnerabilities classified as CWE-367 (检查时间与使用时间(TOCTOU)的竞争条件). AI Chinese analysis included.

CWE-367 represents a logic flaw where a system verifies a resource’s state before accessing it, allowing the state to change maliciously between the verification and actual usage. Attackers typically exploit this race condition by manipulating the resource, such as swapping a file or altering permissions, during the narrow window between the check and the use. This enables unauthorized access or privilege escalation, as the application proceeds based on outdated, validated assumptions. To mitigate this vulnerability, developers must ensure atomic operations, ensuring that the check and use occur simultaneously without interruption. Implementing robust locking mechanisms, utilizing secure system calls that combine verification and access, or adopting file descriptor-based approaches can effectively prevent state changes, thereby eliminating the race condition and securing the resource against temporal manipulation.

MITRE CWE Description
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Common Consequences (6)
Integrity, Other Alter Execution Logic, Unexpected State
The attacker can gain access to otherwise unauthorized resources.
Integrity, Other Modify Application Data, Modify Files or Directories, Modify Memory, Other
Race conditions such as this kind may be employed to gain read or write access to resources which are not normally readable or writable by the user in question.
Integrity, Other Other
The resource in question, or other resources (through the corrupted one), may be changed in undesirable ways by a malicious user.
Non-Repudiation Hide Activities
If a file or other resource is written in this method, as opposed to in a valid way, logging of the activity may not occur.
Non-Repudiation, Other Other
In some cases it may be possible to delete files a malicious user might not otherwise have access to, such as log files.
Mitigations (5)
Implementation The most basic advice for TOCTOU vulnerabilities is to not perform a check before the use. This does not resolve the underlying issue of the execution of a function on a resource whose state and identity cannot be assured, but it does help to limit the false sense of security given by the check.
Implementation When the file being altered is owned by the current user and group, set the effective gid and uid to that of the current user and group when executing this statement.
Architecture and Design Limit the interleaving of operations on files from multiple processes.
Implementation, Architecture and Design If you cannot perform operations atomically and you must share access to the resource between multiple processes or threads, then try to limit the amount of time (CPU cycles) between the check and use of the resource. This will not fix the problem, but it could make it more difficult for an attack to succeed.
Implementation Recheck the resource after the use call to verify that the action was taken appropriately.
Examples (2)
The following code checks a file, then updates its contents.
struct stat *sb; ... lstat("...",sb); // it has not been updated since the last time it was read printf("stated file\n"); if (sb->st_mtimespec==...){ print("Now updating things\n"); updateThings(); }
Bad · C
The following code is from a program installed setuid root. The program performs certain file operations on behalf of non-privileged users, and uses access checks to ensure that it does not use its root privileges to perform operations that should otherwise be unavailable the current user. The program uses the access() system call to check if the person running the program has permission to access…
if(!access(file,W_OK)) { f = fopen(file,"w+"); operate(f); ... } else { fprintf(stderr,"Unable to open file %s.\n",file); }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-130899 Tanium addressed a time-of-check time-of-use race condition vulnerability in Comply. — Endpoint Configuration Toolset Solution 2.5 Low 2026-11-18
CVE-2026-108319 Tanium addressed a time-of-check time-of-use race condition vulnerability in Tanium Server. — Tanium Server 2.0 Low 2026-11-18
CVE-2026-131845 Poppler 21.01.0 through 26.11.0 TOCTOU Race Condition in signDocument() — poppler 4.4 Medium 2026-11-17
CVE-2026-130919 CVE-2026-130919 — Chrome - - 2026-11-17
CVE-2026-130911 CVE-2026-130911 — Chrome - - 2026-11-17
CVE-2026-130925 CVE-2026-130925 — Chrome - - 2026-11-17
CVE-2026-131052 CVE-2026-131052 — Chrome - - 2026-11-17
CVE-2026-131047 CVE-2026-131047 — Chrome - - 2026-11-17
CVE-2026-131006 CVE-2026-131006 — Chrome - - 2026-11-17
CVE-2026-130987 CVE-2026-130987 — Chrome - - 2026-11-17
CVE-2026-131023 CVE-2026-131023 — Chrome - - 2026-11-17
CVE-2026-130621 Time-of-check time-of-use race condition in the local port selection in AWS efs-utils — amazon-efs-utils 8.2 High 2026-11-17
CVE-2026-130385 Weblate 2026.11 through 2026.11.2 Information Disclosure via Task Status API Race — weblate 3.1 Low 2026-11-17
CVE-2026-130615 Flowise through 3.1.4 SSRF via DNS Rebinding in Playwright and Puppeteer Loaders — Flowise 7.1 High 2026-11-17
CVE-2026-129919 Kunai Mount Namespace Cache TOCTOU Allows Incorrect Event Resolution Against Host Files — Kunai 2.0 Low 2026-11-16
CVE-2026-115690 Apache WSS4J: Replay protection bypassed by concurrent copies of a message — Apache WSS4J - - 2026-11-16
CVE-2026-128088 russh try_sign: asynchronous confirmation can sign after agent lock — russh 2.2 Low 2026-11-13
CVE-2026-129092 CCC Attestation SIG attested-tls-poc through commit 731ca82 TOCTOU via Handshake-Only Attestation — attested-tls-poc 5.7 Medium 2026-11-13
CVE-2026-95518 TOCTOU Race Condition in TÜBİTAK BİLGEM's Pardus Package Installer — Pardus Package Installer 7.0 High 2026-11-13
CVE-2026-126410 Wasmtime 48.0.0 before 48.0.8 TOCTOU UDP Send Policy Bypass via wasip3 Sockets — wasmtime 6.4 Medium 2026-11-13
CVE-2026-126936 Zipline before 4.7.0 Race Condition in Invite and Quota Limits — zipline 5.9 Medium 2026-11-13
CVE-2026-126937 Zipline before 4.6.5 TOCTOU Race Condition via /api/setup — zipline 8.1 High 2026-11-13
CVE-2026-126935 Zipline before 4.8.0 maxViews Limit Bypass via Race Condition — zipline 3.7 Low 2026-11-11
CVE-2026-126906 Chrome 157.0.8103.78 前扩展竞态漏洞 — Chrome - - 2026-11-11
CVE-2026-111521 Dell DDPM Windows 2.4.0.17 之前版本 TOCTOU 漏洞 — Display and Peripheral Manager (DDPM Windows) 7.0 High 2026-11-11
CVE-2025-54506 AMD SEV 固件 TOCTOU 漏洞致虚拟机完整性丢失 — AMD EPYC™ 9005 Series Processors 4.0 Medium 2026-11-10
CVE-2026-50079 Vulnerabilities in the QNX Virtual Machine (QVM) affect QNX Hypervisor and QNX Hypervisor for Safety — QNX Hypervisor 3.3 Low 2026-11-10
CVE-2026-122474 Windows Security Account Manager Remote Protocol Security Feature Bypass Vulnerability — Windows 10 Version 1607 5.9 Medium 2026-11-10
CVE-2026-119974 Windows Cloud Files Mini Filter Driver Elevation of Privilege Vulnerability — Windows 10 Version 1809 7.0 High 2026-11-10
CVE-2026-119931 Windows Text Services Framework Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-11-10

Vulnerabilities classified as CWE-367 (检查时间与使用时间(TOCTOU)的竞争条件) represent 646 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.