---
id: "CVE-2026-126454"
page: "https://infrastack.ai/live/CVE-2026-126454"
kind: "vulnerability"
aliases: ["CVE-2026-126454"]
title: "OpenEMR: missing TOTP rate limit lets attackers brute-force two-factor codes"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "runtime", "self-hosted", "totp-mfa"]
not_affected_if: ["no-mfa-enabled", "openemr-8.5.0-or-later"]
published_at: "2026-11-13T10:17:53+00:00"
first_seen_at: "2026-11-13T10:47:23+00:00"
updated_at: "2026-11-13T10:50:47+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126454", "first_seen_at": "2026-11-13T10:47:23+00:00"}]
exploit_sources: []
---

# OpenEMR: missing TOTP rate limit lets attackers brute-force two-factor codes

Link for people: https://infrastack.ai/live/CVE-2026-126454 (this .md is for agents)

OpenEMR before 8.5.0 does not rate-limit or lock out submissions of the 6-digit TOTP two-factor code. An attacker who already has a valid password can script repeated requests and guess the code to get past two-factor authentication.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenEMR version in the installation; versions before `8.5.0` are listed as affected.

## Fix

- OpenEMR: move to `8.5.0` or later.

## Timeline

- 2026-11-13T10:47:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126454

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-rp7c-25mm-8g74
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-totp-brute-force-via-main-screen-php-and-oauth2

## From the sources

OpenEMR before 8.5.0 lacks rate limiting or lockout on TOTP submission, allowing attackers with a valid password to brute-force the 6-digit MFA code. Attackers can script repeated POST requests to main_screen.php or the OAuth2 authorization flow with re-submitted hidden credentials to bypass two-factor authentication.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
