CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak')
Also known as: Resource Leak
The product makes resources available to untrusted parties when those resources are only intended to be accessed by the product.
Last updated
Overview
CWE-402 (Transmission of Private Resources into a New Sphere ('Resource Leak')) is a class-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
22 recorded CVEs are caused by CWE-402 (Transmission of Private Resources into a New Sphere ('Resource Leak')). The highest-severity and most recent are shown first. 0 new CWE-402 CVEs have been recorded so far in 2026 (9 in 2025).
- CVE-2021-23264
Exposure of Resource to Wrong Sphere in org.craftercms:crafter-search
Critical · CVSS 9.1 · EPSS 67th2021-12-02 - CVE-2025-29925
XWiki allows unregistered users to access private pages information through REST endpoint
High · CVSS 8.7 · EPSS 60th2025-03-19 - CVE-2021-31410High · CVSS 8.6 · EPSS 77th2021-04-23