CWE-840: Business Logic Errors
Weaknesses in this category identify some of the underlying problems that commonly allow attackers to manipulate the business logic of an application. Errors in business logic can be devastating to an entire application. They can be difficult to find automatically, since they typically involve legitimate use of the application's functionality. However, many business logic errors can exhibit patterns that are similar to well-understood implementation and design weaknesses.
Last updated
Weaknesses in this category
- CWE-283: Unverified Ownership
- CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-640: Weak Password Recovery Mechanism for Forgotten Password
- CWE-708: Incorrect Ownership Assignment
- CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-826: Premature Release of Resource During Expected Lifetime
- CWE-837: Improper Enforcement of a Single, Unique Action
- CWE-841: Improper Enforcement of Behavioral Workflow
Real-world CVEs
98 recorded CVEs are caused by CWE-840 (Business Logic Errors). The highest-severity and most recent are shown first. 31 new CWE-840 CVEs have been recorded so far in 2026 (16 in 2025).