---
title: "CWE-408: Incorrect Behavior Order: Early Amplification"
url: https://radicalnotion.ai/cwe/cwe-408
type: cwe
description: "The product allows an entity to perform a legitimate but expensive operation before authentication or authorization has taken place."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-408: Incorrect Behavior Order: Early Amplification

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 11
- **Of those, in CISA KEV:** 0
- **New in 2026:** 9
- **CWE catalog version:** 4.21

## Description

The product allows an entity to perform a legitimate but expensive operation before authentication or authorization has taken place.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Availability | DoS: Amplification, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory) | System resources, CPU and memory, can be quickly consumed. This can lead to poor system performance or system crash. |

## Demonstrative examples

### Example 1

This function prints the contents of a specified file requested by a user.

Bad code:

```php
function printFile($username,$filename){

    //read file into string
    $file = file_get_contents($filename);
    if ($file && isOwnerOf($username,$filename)){
        echo $file;
        return true;
    }
    else{
        echo 'You are not authorized to view this file';
    }
    return false;
}
```

This code first reads a specified file into memory, then prints the file if the user is authorized to see its contents. The read of the file into memory may be resource intensive and is unnecessary if the user is not allowed to see the file anyway.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2004-2458 | Tool creates directories before authenticating user. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-41405 | OpenClaw \< 2026.3.31 - Resource Exhaustion via Unauthenticated MS Teams Webhook Body Parsing | high | 8.7 | - | No | 2026-04-28 |
| CVE-2026-46015 | tcp: call sk\_data\_ready() after listener migration | high | 7.8 | - | No | 2026-05-27 |
| CVE-2026-119079 | Krb5: mit krb5 kdc unauthenticated cpu dos via quadratic asn.1 sequence of decoding | high | 7.5 | - | No | 2026-11-09 |
| CVE-2026-11605 | Unnecessary validation of DNSSEC signed records | high | 7.5 | - | No | 2026-07-22 |
| CVE-2022-2576 | Eclipse Californium denial of service (DoS) via Datagram Transport Layer Security (DTLS) handshake on parameter mismatch | high | 7.5 | - | No | 2022-07-29 |
| CVE-2020-1657 | Junos OS: SRX Series: An attacker sending spoofed packets to IPSec peers may cause a Denial of Service. | high | 7.5 | - | No | 2020-10-16 |
| CVE-2026-68130 | ksmbd: defer destroy\_previous\_session() until after NTLM authentication | high | 7.1 | - | No | 2026-08-10 |
| CVE-2026-41374 | OpenClaw \< 2026.3.31 - Resource Consumption via Discord Audio Preflight Before Member Authorization | medium | 6.9 | - | No | 2026-04-28 |
| CVE-2026-41331 | OpenClaw \< 2026.3.31 - Resource Consumption via Unauthorized Telegram Audio Preflight Transcription | medium | 6.9 | - | No | 2026-04-20 |
| CVE-2026-104032 | Sssd: sssd: denial of service via unprivileged autofs cache invalidation | medium | 5.5 | - | No | 2026-10-06 |
| CVE-2026-3592 | Amplification vulnerabilities via self-pointed glue records | medium | 5.3 | - | No | 2026-05-20 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-405](https://radicalnotion.ai/cwe/cwe-405) | Asymmetric Resource Consumption (Amplification) |
| Parent | [CWE-696](https://radicalnotion.ai/cwe/cwe-696) | Incorrect Behavior Order |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Early Amplification | - | - |

## Frequently asked questions

### What is CWE-408?

The product allows an entity to perform a legitimate but expensive operation before authentication or authorization has taken place.

### What CVEs are caused by CWE-408?

11 recorded CVEs are attributed to CWE-408, including CVE-2026-41405, CVE-2026-46015 and CVE-2026-119079.

### What are the consequences of CWE-408?

Exploiting CWE-408 can lead to: DoS: Amplification, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory).

### Is CWE-408 actively exploited?

11 recorded CVEs are caused by CWE-408; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/408.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-408). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
