CVE-2026-124445: OpenEMR 7.0.1 before 8.4.0 OneTimeAuth Token Replay and PIN Brute Force
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-08
Description
OpenEMR from 7.0.1 before 8.4.0 contains a flaw in src/Common/Auth/OneTimeAuth.php that ignores the enforce_onetime_use and max_access_count flags, never revokes consumed service_auth tokens, and checks login_pin without rate limiting or strict comparison. Attackers holding a captured token can replay it or brute-force the PIN to open patient-portal sessions exposing PHI.
Enclave's analysis
OpenEMR's patient-portal one-time login links never really expire after use. A captured service_auth token can be replayed for its full lifetime, and the optional 6-digit invoice PIN has no rate limit. The attacker first needs a leaked token, then gets patient-portal sessions with PHI. There's a documented PoC but no known exploitation. Upgrade to 8.4.0 or later.
Fix
Upgrade to 8.4.0.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| openemr | 7.0.1 before 8.4.0 | 8.4.0 |