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

Exposed Dangerous Method or Function

The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.

Part of: CWE-284 · Improper Access Control

184CVEs of this type in the archive
44critical (CVSS ≥ 9)
99high severity (7–8.9)
Dec 1, 2026latest published

What it is

The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.

Many different kinds of technologies effectively provide access to methods or functions, such as ActiveX controls, Java functions, IOCTLs, and so on. The exposure can occur in a few different ways: The function/method was never intended to be exposed to outside actors. The function/method was only intended to be accessible to a limited set of actors, such as Internet-based access from a single web site.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control, Other Gain Privileges or Assume Identity, Read Application Data, Modify Application Data, Execute Unauthorized Code or Commands, Other
Exposing critical functionality essentially provides an attacker with the privilege level of the exposed functionality. The consequences may vary depending on the behavior of the exposed method. Typically, this could result in the modification or exposure of sensitive data or possibly even execution of arbitrary code.

How to prevent it

Architecture and Design If you must expose a method, make sure to perform input validation on all arguments, limit access to authorized parties, and protect against all possible vulnerabilities.
Architecture and Design · Implementation · Attack Surface Reduction Identify all exposed functionality. Explicitly list all functionality that must be exposed to some user or set of users. Identify which functionality may be: accessible to all users restricted to a small set of privileged users prevented from being directly accessible at all Ensure that the implemented code follows these expectations. This includes setting the appropriate access modifiers where applicable (public, private, protected, etc.) or not marking ActiveX controls safe-for-scripting.

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

CWE-749 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20061
20102
20141
20161
20171
20184
20196
20208
20213
20222
202315
202438
202527
202675

All CWE-749 CVEs

184 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.