BaseDraft
CWE-363Race Condition Enabling Link Following
Category: logic
Description
The product checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the product to access the wrong file.
While developers might expect that there is a very narrow time window between the time of check and time of use, there is still a race condition. An attacker could cause the product to slow down (e.g. with memory consumption), causing the time window to become larger. Alternately, in some situations, the attacker could win the race by performing a large number of attacks.
Common consequences· 1
- Confidentiality / Integrity — Read Files or Directories, Modify Files or Directories
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Leveraging Race Conditionscapec-26 | 100% | live |
(incoming)2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-62161cve-2025-62161 | 0% | live |
| Vulnerability | CVE-2025-62596cve-2025-62596 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.