Medium severity · published Oct 8, 2026
CVE-2024-8122
Potential brute force vulnerability due to non-expiring SMS OTPs
5.9
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WI
WSO2 Identity Server · WSO2
5.11.0 before 5.11.0.372; 6.0.0 before 6.0.0.227; 6.1.0 before 6.1.0.219 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-8122
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-8122
vendor-advisory
https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3149/
More from WSO2 Identity Server
9.4
CVE-2025-15039
Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products
9.1
CVE-2024-4457
Remote Code Execution via JDBC User Store Configuration in Multiple WSO2 Products Allows Arbitrary Code Execution
9.1
CVE-2024-2374
XML External Entity Injection in Multiple WSO2 Products Allows Arbitrary file read and Denial of Service
8.6
CVE-2025-10470
Denial-of-Service via Magic Link Authentication in WSO2 Identity Server Allows Service Unavailability
8.4
CVE-2025-12737
Arbitrary Code Execution via Administrative Operations in Multiple WSO2 Products Allows Remote Code Execution
