CWE-841: Improper Enforcement of Behavioral Workflow
low-riskThe product supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence.
Abstraction: Class
Common Consequences
Other
→
Alter Execution Logic
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2024-51738 | 8.1 | 1.8% | — |
| CVE-2024-39325 | 5.3 | 0.7% | — |
| CVE-2024-46307 | 7.5 | 0.3% | — |
| CVE-2024-37296 | 5.3 | 0.3% | — |
| CVE-2022-1667 | 7.5 | 0.2% | — |
| CVE-2022-2102 | 9.4 | 0.2% | — |
| CVE-2022-2105 | 9.4 | 0.2% | — |
| CVE-2025-48481 | 9.8 | 0.1% | — |
| CVE-2025-48476 | 8.8 | 0.1% | — |
| CVE-2024-6128 | 5.3 | 0.1% | — |
0
/ 100
low-risk
Active Threat
0/50 · Minimal
Exploit Availability
0/50 · Minimal