CWE-863: Incorrect Authorization
Also known as: AuthZ
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Last updated
Also known as: AuthZ
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Last updated
CWE-863 (Incorrect Authorization) 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.
An access control list (ACL) represents who/what has permissions to a given object. Different operating systems implement (ACLs) in different ways. In UNIX, there are three types of permissions: read, write, and execute. Users are divided into three classes for file access: owner, group owner, and all other users where each class has a separate set of rights. In Windows NT, there are four basic types of permissions for files: "No access", "Read access", "Change access", and "Full control". Windows NT extends the concept of three types of users in UNIX to include a list of users and groups along with their associated permissions. A user can create an object (file) and assign specified permissions to that object.
4,471 recorded CVEs are caused by CWE-863 (Incorrect Authorization), including 21 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 2,463 new CWE-863 CVEs have been recorded so far in 2026 (459 in 2025).
Adobe Experience Manager | Incorrect Authorization (CWE-863)
QNAP Photo Station Improper Access Control Vulnerability
IBM Aspera Faspex Authorization Bypass
Meta Platforms WhatsApp Incorrect Authorization Vulnerability
Incorrect Authorization in Graphics
Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code
Atlassian Confluence Data Center and Server Improper Authorization Vulnerability
Ivanti Sentry Authentication Bypass Vulnerability
Fortinet FortiOS and FortiProxy Improper Authorization
Adobe Commerce | Incorrect Authorization (CWE-863)
Incorrect authorization validation of user token in JFrog Artifactory allows Privilege Escalation
Oracle Agile PLM Framework: Software Development Kit, Process Extension - unauthorized data access
Showing 12 of 4,471 recorded CWE-863 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsWhat can happen when CWE-863 is exploited.
Read Application Data, Read Files or Directories
Affects: Confidentiality
An attacker could bypass intended access restrictions to read sensitive data, either by reading the data directly from a data store that is not correctly restricted, or by accessing insufficiently-protected, privileged functionality to read the data.
Modify Application Data, Modify Files or Directories
Affects: Integrity
An attacker could bypass intended access restrictions to modify sensitive data, either by writing the data directly to a data store that is not correctly restricted, or by accessing insufficiently-protected, privileged functionality to write the data.
Gain Privileges or Assume Identity, Bypass Protection Mechanism
Affects: Access Control
An attacker could bypass intended access restrictions to gain privileges by modifying or reading critical data directly, or by accessing privileged functionality.
Execute Unauthorized Code or Commands
Affects: Confidentiality, Integrity, Availability
An attacker could use elevated privileges to execute unauthorized commands or code.
DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
Affects: Availability
An attacker could gain unauthorized access to resources on the system and excessively consume those resources, leading to a denial of service.
Typically introduced during these phases of the software lifecycle.
Languages
Technologies
Practical mitigations for CWE-863, grouped by where in the lifecycle they apply.
Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [1] to enforce the roles at the appropriate boundaries.
Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [2].
For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page.
One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.
Use the access control capabilities of your operating system and server environment and define your access control lists accordingly. Use a "default deny" policy when defining these ACLs.
Automated static analysis is useful for detecting commonly-used idioms for authorization. A tool may be able to analyze related configuration files, such as .htaccess in Apache web servers, or detect the usage of commonly-used authorization libraries.
Generally, automated static analysis tools have difficulty detecting custom authorization schemes. Even if they can be customized to recognize these schemes, they might not be able to tell whether the scheme correctly performs the authorization in a way that cannot be bypassed or subverted by an attacker.
Effectiveness: Limited
Automated dynamic analysis may not be able to find interfaces that are protected by authorization checks, even if those checks contain weaknesses.
This weakness can be detected using tools and techniques that require manual (human) analysis, such as penetration testing, threat modeling, and interactive tools that allow the tester to record and modify an active session.
Specifically, manual static analysis is useful for evaluating the correctness of custom authorization mechanisms.
Effectiveness: Moderate
According to SOAR [7], the following detection techniques may be useful:
Cost effective for partial coverage:
Effectiveness: SOAR Partial
According to SOAR [7], the following detection techniques may be useful:
Cost effective for partial coverage:
Effectiveness: SOAR Partial
According to SOAR [7], the following detection techniques may be useful:
Cost effective for partial coverage:
Effectiveness: SOAR Partial
According to SOAR [7], the following detection techniques may be useful:
Cost effective for partial coverage:
Effectiveness: SOAR Partial
According to SOAR [7], the following detection techniques may be useful:
Cost effective for partial coverage:
Effectiveness: SOAR Partial
According to SOAR [7], the following detection techniques may be useful:
Highly cost effective:
Cost effective for partial coverage:
Effectiveness: High
MITRE examples of the weakness in code.
The following code could be for a medical records application. It displays a record to already authenticated users, confirming the user's authorization using a value stored in a cookie.
Vulnerable example
$role = $_COOKIES['role'];
if (!$role) {
$role = getRole('user');
if ($role) {
// save the cookie to send out in future responses
setcookie("role", $role, time()+60*60*2);
}
else{
ShowLoginScreen();
die("\n");
}
}
if ($role == 'Reader') {
DisplayMedicalHistory($_POST['patient_ID']);
}
else{
die("You are not Authorized to view this record\n");
}The programmer expects that the cookie will only be set when getRole() succeeds. The programmer even diligently specifies a 2-hour expiration for the cookie. However, the attacker can easily set the "role" cookie to the value "Reader". As a result, the $role variable is "Reader", and getRole() is never invoked. The attacker has bypassed the authorization system.
Real CVEs that MITRE cites as examples of this weakness.
Common questions about CWE-863.
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Get an alert when a new CWE-863 CVE affects your products, with AI-written analysis and remediation steps.