Answer in brief
CVE-2024-7318 records a Medium severity (CVSS 4.8) vulnerability in Keycloaks's One Time Passcode (OTP) is valid longer than expiration timeSeverity. The current sources do not mark it as known exploited. The current feed maps org.keycloak:keycloak-core (maven), org.keycloak:keycloak-core (maven). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 4.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps org.keycloak:keycloak-core (maven), org.keycloak:keycloak-core (maven). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| org.keycloak:keycloak-coremaven | >=0 <24.0.7 | 24.0.7 |
| org.keycloak:keycloak-coremaven | >=25.0.0 <25.0.4 | 25.0.4 |
Published upstream
Oct 14, 2024
Evidence: source:osv:source_dates:source-dates:recordSource modified
Aug 26, 2026
Evidence: source:osv:source_dates:source-dates:recordFirst seen by HOL
Aug 26, 2026
A vulnerability was found in Keycloak. Expired OTP codes are still usable when using FreeOTP when the OTP token period is set to 30 seconds (default). Instead of expiring and deemed unusable around 30 seconds in, the tokens are valid for an additional 30 seconds totaling 1 minute. A one time passcode that is valid longer than its expiration time increases the attack window for malicious actors to abuse the system and compromise accounts. Additionally, it increases the attack surface because at any given time, two OTPs are valid.
Quoted source text, attributed separately from HOL analysis.