Authentication Failures
Weak, missing, or improperly implemented authentication.
A07:2025 · Critical severity · Updated November 6, 2026
What it is
Authentication Failures (renamed in 2025 from Identification and Authentication Failures, retaining the A07 slot) covers any failure to correctly verify the identity of an entity interacting with the application. Manifestations include missing authentication on critical functions, brute-forceable login flows, weak password policies, predictable session identifiers, JWT validation that decodes but does not verify, and credential stuffing surface area without monitoring. Authentication failures are the foundational weakness behind most disclosed account takeovers and an explicit control area in HIPAA, PCI-DSS, and CMMC.
Common patterns
- Routes with no authentication middleware on sensitive paths (/admin, /internal, /debug).
- JWT verification calls with verify:false, missing signing key, or accepting 'alg':'none'.
- Login flows without rate limiting, account lockout, or CAPTCHA on repeated failures.
- Password requirements that allow trivially-crackable choices ('a' or '12345').
- Hardcoded API keys, DB passwords, or signing secrets in source.
- Session IDs generated from predictable sources (timestamps, weak PRNG, sequential counters).
What Deva detects
Deva flags explicit authentication opt-outs and some unauthenticated routes, depending on the framework. The scanner detects Python JWT decoding with signature verification off, literal signing keys in jwt.sign or jwt.encode, password comparison without constant-time helpers, and weak randomness such as Math.random. Hardcoded credential detectors can run on save in the editor extension and as a CI step.
CWE detection guides
Real-world examples
| Year | Incident | What happened |
|---|---|---|
| 2017 | Equifax Argentina employee portal | An employee portal for Equifax's Veraz business in Argentina used 'admin' as both the username and password. Equifax said the portal was unrelated to its US breach. Default credentials on an internet-facing portal undo any authentication strength in the code. |
| 2021 | Colonial Pipeline ransomware | Initial access was a leaked legacy VPN password reused from another breach. The VPN account remained active despite being unused, and 2FA was not enforced on it. The ransom payment was ultimately around 4.4 million USD. |
Compliance framework impact
These educational references describe control topics, including frameworks Deva does not currently offer for evaluation. CMMC evaluation and SPRS scoring are unavailable. See the FAQ for supported frameworks and preview status. Code-level findings support an assessment; they do not certify compliance.
- NIST 800-53 IA-2 Identification and Authentication
- PCI-DSS v4.0.1 Req 8.3 Strong authentication, Req 8.4 Multi-factor authentication
- HIPAA 164.312(d) Person or Entity Authentication, 164.308(a)(5) Security Awareness Training
- CMMC IA.L2-3.5.1 Identify users