1. CVE archive
  2. Vulnerability types
  3. CWE-668
CWE-668 · #65 most frequent type in the archive

Exposure of Resource to Wrong Sphere

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

Part of: CWE-664 · Improper Control of a Resource Through its Lifetime

814CVEs of this type in the archive
63critical (CVSS ≥ 9)
270high severity (7–8.9)
Nov 27, 2026latest published

What it is

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

Resources such as files and directories may be inadvertently exposed through mechanisms such as insecure permissions, or when a program accidentally operates on the wrong object. For example, a program may intend that private files can only be provided to a specific user. This effectively defines a control sphere that is intended to prevent attackers from accessing these private files. If the file permissions are insecure, then parties other than the user will be able to access those files. A separate control sphere might effectively require that the user can only access the private files, but not any other files on the system. If the program does not ensure that the user is only requesting private files, then the user might be able to access other files on the system. In either case, the end result is that a resource has been exposed to the wrong party.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
An adversary that gains access to a resource exposed to a wrong sphere could potentially retrieve private data from that resource, thus breaking the intended confidentiality of that data.
Integrity Modify Application Data
An adversary that gains access to a resource exposed to a wrong sphere could potentially modify data held within that resource, thus breaking the intended integrity of that data and causing the system relying on that resource to make unintended decisions.
Other Varies by Context
The consequences may vary widely depending on how the product uses the affected resource.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-668 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20022
20051
20112
20121
20131
20162
201718
201826
201954
202055
2021119
2022219
2023179
202443
202516
202676

All CWE-668 CVEs

814 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.