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.
Published: 2026-11-08
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Token Replay and PIN Brute Force
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Sun, 08 Nov 2026 13:30:00 +0000

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'}


Subscriptions

Open-emr Openemr
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T13:15:37.304Z

Reserved: 2026-11-08T02:14:31.305Z

Link: CVE-2026-124445

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:11.487

Modified: 2026-11-08T14:18:11.487

Link: CVE-2026-124445

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T14:30:16Z

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts