CVE-2026-25164

OpenEMR's Document and Insurance REST Endpoints Skip ACL

Published Feb 25, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, the REST API route table in `apis/routes/_rest_routes_standard.inc.php` does not call `RestConfig::request_authorization_check()` for the document and insurance routes. Other patient routes in the same file (e.g. encounters, patients/med) call it with the appropriate ACL. As a result, any valid API bearer token can access or modify every patient's documents and insurance data, regardless of the token’s OpenEMR ACLs—effectively exposing all document and insurance PHI to any authenticated API client. Version 8.0.0 patches the issue.

Analysis

AI-generated

Technical impact

OpenEMR, prior to version 8.0.0, exposes all patient documents and insurance data through its REST API because the endpoints skip mandatory authorization checks. Any authenticated bearer token can read or modify this data, which means a malicious or compromised client could retrieve or alter protected health information without consent. This flaw gives attackers a direct path to PHI confidentiality breaches and potential integrity violations.

Affected Systems

The flaw affects the OpenEMR openemr product in all releases older than 8.0.0. The patch was applied in version 8.0.0, so any deployment of 7.9.x or earlier is vulnerable.

Risk and Exploitability

The CVSS base score of 8.1 indicates a high severity, and the current EPSS score of less than 1 % suggests that exploit attempts are extremely rare at present. The vulnerability is not in the CISA KEV list. Exploitation requires only a valid API bearer token, making it remotely actionable over the internet. Because any authenticated user can abuse the endpoints regardless of ACLs, attackers could achieve wide‑scale PHI exposure or tampering with minimal effort.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.0.0 or later, which restores proper ACL checks for document and insurance endpoints.
  • Verify that RestConfig::request_authorization_check() is invoked for the document and insurance routes by inspecting the routes file or reviewing the applied code changes.
  • If an immediate upgrade is not possible, restrict API traffic to trusted users only and enforce ACL checks manually or via middleware to block unauthorized access to the document and insurance endpoints.

Generated by OpenCVE AI on April 17, 2026 at 15:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Open-emr
Open-emr openemr
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, the REST API route table in `apis/routes/_rest_routes_standard.inc.php` does not call `RestConfig::request_authorization_check()` for the document and insurance routes. Other patient routes in the same file (e.g. encounters, patients/med) call it with the appropriate ACL. As a result, any valid API bearer token can access or modify every patient's documents and insurance data, regardless of the token’s OpenEMR ACLs—effectively exposing all document and insurance PHI to any authenticated API client. Version 8.0.0 patches the issue.
Title OpenEMR's Document and Insurance REST Endpoints Skip ACL
Weaknesses CWE-862
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 26, 2026, 4:13 PM
Reserved
Jan 29, 2026, 3:39 PM
Status
Analyzed
Published
Feb 25, 2026, 7:43 PM
Modified
Jun 17, 2026, 10:24 AM