CWE-689: Permission Race Condition During Resource Copy
3 CVEs have CWE-689 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.499%.
The product, while copying or cloning a resource, does not set the resource's permissions or access control until the copy is complete, leaving the resource exposed to other spheres while the copy is taking place.
Child of CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
Observed examples
- CVE-2002-0760: Archive extractor decompresses files with world-readable permissions, then later sets permissions to what the archive specified.
- CVE-2005-2174: Product inserts a new object into database before setting the object's permissions, introducing a race condition.
- CVE-2006-5214: Error file has weak permissions before a chmod is performed.
- CVE-2005-2475: Archive permissions issue using hard link.
- CVE-2003-0265: Database product creates files world-writable before initializing the setuid bits, leading to modification of executables.
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-689'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-689'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).