Description
Rodauth before 2.47.0 contains a time-based one-time password reuse vulnerability in the otp feature that fails to track the last accepted code timestamp. Attackers who observe a valid TOTP code can replay it during the drift window to bypass the second authentication factor.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jeremyevans | rodauth | < 2.47.0 | 2.47.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-rodauth | 2.47.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-rodauth | No fix yet | — |
References
- Patch Commit patch
- GitHub Security Advisory (GHSA-hhvg-6qmv-58vc) vendor-advisory
- https://github.com/jeremyevans/rodauth product
- VulnCheck Advisory: Rodauth before 2.47.0 TOTP Code Reuse via Drift Window third-party-advisory