BaseIncomplete

CWE-648Incorrect Use of Privileged APIs

Category: authz

Description

The product does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly.

Common consequences· 3

  • Access Control — Gain Privileges or Assume Identity
    An attacker may be able to elevate privileges.
  • Confidentiality — Read Application Data
    An attacker may be able to obtain sensitive information.
  • Integrity / Confidentiality / Availability — Execute Unauthorized Code or Commands
    An attacker may be able to execute code.

Potential mitigations· 5

  • [Implementation]Before calling privileged APIs, always ensure that the assumptions made by the privileged code hold true prior to making the call.
  • [Architecture and Design]Know architecture and implementation weaknesses of the privileged APIs and make sure to account for these weaknesses before calling the privileged APIs to ensure that they can be called safely.
  • [Implementation]If privileged APIs make certain assumptions about data, context or state validity that are passed by the caller, the calling code must ensure that these assumptions have been validated prior to making the call.
  • [Implementation]If privileged APIs do not shed their privilege prior to returning to the calling code, then calling code needs to shed these privileges immediately and safely right after the call to the privileged APIs. In particular, the calling code needs to ensure that a privileged thread of execution will never be returned to the user or made available to user-controlled processes.
  • [Implementation]Only call privileged APIs from safe, consistent and expected state.

Related CAPEC attack patterns· 2

CAPEC-107CAPEC-234

References

  1. https://cwe.mitre.org/data/definitions/648.html

Exploits (incoming)2

TypeTargetConfidenceTier
AttackPatternHijacking a privileged processcapec-234100%live
AttackPatternCross Site Tracingcapec-107100%live

(incoming)13

TypeTargetConfidenceTier
VulnerabilityCVE-2025-2311cve-2025-23110%live
VulnerabilityCVE-2025-54769cve-2025-547690%live
VulnerabilityCVE-2025-5997cve-2025-59970%live
VulnerabilityCVE-2025-7344cve-2025-73440%live
VulnerabilityCisco Catalyst SD-WAN Manager Incorrect Use of Privileged APIs Vulnerabilitycve-2026-201220%live
VulnerabilityCVE-2026-35639cve-2026-356390%live
VulnerabilityCVE-2026-35645cve-2026-356450%live
VulnerabilityCVE-2026-35663cve-2026-356630%live
VulnerabilityCVE-2026-35669cve-2026-356690%live
VulnerabilityCVE-2026-41225cve-2026-412250%live
VulnerabilityCVE-2026-41329cve-2026-413290%live
VulnerabilityCVE-2026-41386cve-2026-413860%live
KEVEntryCisco Catalyst SD-WAN Manager Incorrect Use of Privileged APIs Vulnerabilitykev-cve-2026-201220%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Exposed Dangerous Method or Function
CWE
Use of Potentially Dangerous Function
CWE
Improper Handling of Insufficient Privileges
CWE
Execution with Unnecessary Privileges
CWE
Incorrect Provision of Specified Functionality
CWE
Improper Handling of Insufficient Permissions or Privileges
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.