CVE-2024-8122

published 8 Oct 2026 · updated 9 Nov 2026

Potential brute force vulnerability due to non-expiring SMS OTPs

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Identity Server 5.11.0.372, Identity Server 6.0.0.227 and Identity Server 6.1.0.219.

The WSO2 Identity Server fails to enforce a default expiry time for SMS One-Time Passwords (OTPs) used in multi-factor authentication (MFA). This allows unused OTPs to remain valid indefinitely, presenting an opportunity for malicious actors to conduct brute force attacks by repeatedly guessing the OTP. The absence of automatic expiration for OTPs grants attackers an unlimited timeframe to attempt guessing the correct code. A successful brute force attack can lead to an MFA bypass, resulting in the unauthorized takeover of a user's account and compromising the security and privacy of both the individual and the system.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2Identity Server>=5.11.0 <5.11.0.372, >=6.0.0 <6.0.0.227, >=6.1.0 <6.1.0.2195.11.0.372, 6.0.0.227, 6.1.0.219

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8122 severity on Zeptric[![CVE-2024-8122](https://zeptric.io/badge/cve/CVE-2024-8122.svg)](https://zeptric.io/cve/CVE-2024-8122)