CVE-2026-124445

OpenEMR 7.0.1 before 8.4.0 OneTimeAuth Token Replay and PIN Brute Force

Published Nov 8, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenEMR versions 7.0.1 through 8.3.x contain a flaw in the OneTimeAuth module that ignores configuration flags that are meant to enforce one‑time token usage and set maximum access counts. The flaw also permits an attacker to use a captured service_auth token repeatedly, and to attempt PIN entries without any rate limiting or strict comparison, allowing brute‑force attacks on the patient‑portal PIN. An attacker who has access to a token can thus re‑open patient‑portal sessions and expose protected health information.

Affected Systems

The vulnerability affects OpenEMR deployments running any release between 7.0.1 and 8.3.x inclusive. All installations of these versions that enable the patient‑portal or OneTimeAuth features are susceptible. The official CNA states that versions prior to 8.4.0 are affected.

Risk and Exploitability

The CVSS score of 9.3 indicates a high‑severity risk. Although the EPSS score is not available, the nature of the flaw—unauthorized session reuse and brute‑forceable PINs—suggests a plausible exploitation window, especially in environments where tokens are transmitted unencrypted or stored insecurely. The vulnerability is not listed in the CISA KEV catalog, but the severity and potential for PHI exposure warrant immediate remediation. Attackers would need to first capture or guess a valid service_auth token, then replay it or brute‑force the PIN; no special privileges beyond the captured token are required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.4.0 or later to apply the official fix that correctly enforces token revocation and access limits.
  • Configure the OneTimeAuth module to enable and enforce the enforce_onetime_use and max_access_count flags, and verify that the token lifecycle logic is active.
  • Implement additional rate limiting on PIN entry and enforce strict comparison logic, and consider disabling the patient‑portal feature or enabling multi‑factor authentication until the fix is deployed.

Generated by OpenCVE AI on November 8, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title OpenEMR 7.0.1 before 8.4.0 OneTimeAuth Token Replay and PIN Brute Force
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-307
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 3:20 AM
Reserved
Nov 8, 2026, 2:14 AM
Status
Analyzed
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 23, 2026, 9:09 PM