Skip to content
Threat Feed
high advisory

OpenEMR: TOTP authentication bypass via brute force (CVE-2026-126454)

OpenEMR versions prior to 8.5.0 lack rate limiting or lockout mechanisms on TOTP verification, allowing attackers who have obtained a valid password to brute-force the 6-digit MFA code via automated requests.

CVE search metadata

CVE search record: CVE-2026-126454. Severity: high. CVSS: 8.1. KEV: no. Product: OpenEMR. Brief: OpenEMR: TOTP authentication bypass via brute force (CVE-2026-126454). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-totp-brute-force-cve-2026-126454/

Triage facts

Revision 1
Applicability
OpenEMR
Evidence
Unknown
Severity
High
Action
Elevated
Sources
1 public source
Freshness
Revision 1Nov 13, 12:32 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely

OpenEMR versions before 8.5.0 are vulnerable to TOTP brute-force attacks due to the absence of rate limiting or account lockout controls. An attacker possessing valid user credentials can script repeated POST requests to the main_screen.php endpoint or the OAuth2 authorization flow to guess the 6-digit MFA token, successfully bypassing second-factor authentication.

Impact

Successful exploitation allows an attacker to bypass MFA and gain unauthorized access to a victim's account, provided the attacker has previously obtained the victim's password. This increases the risk of account takeover for systems using TOTP-based authentication.

Recommendation

Upgrade OpenEMR to version 8.5.0 or later immediately to gain rate-limiting protections. Until an upgrade is possible, monitor authentication logs for anomalous spikes in traffic to the main_screen.php or OAuth2 endpoints originating from single user accounts.


Immediate actions

Upgrade OpenEMR to version 8.5.0 or later.

IT Operations 48h

Threat Hunt

Identify suspicious volumes of POST requests to main_screen.php or OAuth2 endpoints originating from a single source IP associated with a specific user.

T1110.001 high medium confidence hunt now

Data: Web server access logs, Application authentication logs

Mitigations

Upgrade to OpenEMR 8.5.0.

immediate IT Operations

CVE-2026-126454