The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25164

CVE-2026-25164: OpenEMR Auth Bypass Vulnerability

CVE-2026-25164 is an authentication bypass flaw in OpenEMR that allows any valid API token to access all patient documents and insurance data. This post covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-25164 Overview

CVE-2026-25164 is an authorization bypass vulnerability in OpenEMR, a free and open source electronic health records (EHR) and medical practice management application. The vulnerability exists in the REST API route table where critical authorization checks are missing for document and insurance routes, allowing any authenticated API client to access or modify protected health information (PHI) regardless of their assigned access control list (ACL) permissions.

Critical Impact

Any valid API bearer token can access or modify every patient's documents and insurance data, effectively exposing all document and insurance PHI to any authenticated API client—a severe HIPAA compliance concern for healthcare organizations.

Affected Products

  • OpenEMR versions prior to 8.0.0
  • OpenEMR REST API document routes (/api/patient/:pid/document)
  • OpenEMR REST API insurance routes

Discovery Timeline

  • 2026-02-25 - CVE-2026-25164 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-25164

Vulnerability Analysis

This vulnerability represents a classic Broken Access Control (CWE-862: Missing Authorization) issue within OpenEMR's REST API implementation. The affected code resides in apis/routes/_rest_routes_standard.inc.php, which defines the routing table for the application's REST API endpoints.

The core issue is that document and insurance-related routes fail to invoke RestConfig::request_authorization_check(), a critical function responsible for validating that the requesting user possesses the appropriate ACL permissions before proceeding with the operation. Other patient routes in the same file properly call this function with appropriate ACL parameters (e.g., encounters, patients/med), creating an inconsistency that exposes sensitive medical data.

Root Cause

The root cause is inconsistent security implementation across REST API routes. While the OpenEMR development team implemented proper authorization checks for most patient-related endpoints, the document and insurance routes were inadvertently left unprotected. This oversight means the API only validates that a bearer token is valid (authentication), but does not verify whether that token's associated user has permission to access the specific resource (authorization).

Attack Vector

An attacker who possesses any valid API bearer token—even one with minimal ACL permissions—can exploit this vulnerability to access or modify any patient's documents and insurance information across the entire OpenEMR installation. The attack requires network access and a valid authenticated session, but no specific privilege level within the application.

The following patch demonstrates the security fix applied in version 8.0.0:

php
      *  )
      */
     "POST /api/patient/:pid/document" => function ($pid, HttpRestRequest $request) {
+        RestConfig::request_authorization_check($request, "patients", "docs", ['write','addonly']);
         $controller = new DocumentRestController();
         $controller->setSession($request->getSession());
         $return = $controller->postWithPath($pid, $_GET['path'], $_FILES['document']);

Source: GitHub Commit Update

The patch adds the missing RestConfig::request_authorization_check() call with appropriate ACL parameters ("patients", "docs", ['write','addonly']), ensuring that only users with proper document write permissions can access the endpoint.

Detection Methods for CVE-2026-25164

Indicators of Compromise

  • Unusual API access patterns to /api/patient/*/document endpoints from users without document ACL permissions
  • API requests accessing multiple patients' documents in rapid succession from a single session
  • Unexpected modifications to patient insurance records through the REST API
  • Access log entries showing document or insurance API calls from low-privilege API tokens

Detection Strategies

  • Implement API request logging and monitor for anomalous access to document and insurance endpoints
  • Review OpenEMR audit logs for unauthorized PHI access patterns
  • Deploy web application firewall (WAF) rules to detect unusual REST API request volumes
  • Correlate API access logs with user ACL configurations to identify potential exploitation

Monitoring Recommendations

  • Enable detailed API access logging in OpenEMR configuration
  • Implement real-time alerting for bulk document access operations
  • Monitor for API tokens accessing resources outside their normal scope
  • Conduct periodic access control audits comparing user permissions against actual API activity

How to Mitigate CVE-2026-25164

Immediate Actions Required

  • Upgrade OpenEMR to version 8.0.0 or later immediately
  • Audit API access logs for any unauthorized access to document or insurance endpoints
  • Review and rotate all API bearer tokens as a precautionary measure
  • Conduct a breach assessment to determine if PHI was accessed prior to patching

Patch Information

OpenEMR version 8.0.0 contains the official fix for this vulnerability. The patch adds proper authorization checks to the document and insurance REST API routes by implementing RestConfig::request_authorization_check() with appropriate ACL parameters. Organizations should upgrade to version 8.0.0 or apply the security commit referenced in the GitHub Security Advisory.

Workarounds

  • Disable the REST API entirely if not required for operations until patching is complete
  • Implement network-level restrictions to limit API access to trusted IP ranges only
  • Deploy a reverse proxy or WAF to block requests to vulnerable endpoints (/api/patient/*/document, /api/patient/*/insurance)
  • Manually apply the authorization check patch from commit c5e1c44 if immediate upgrade is not feasible
bash
# Configuration example - Restrict API access via Apache .htaccess
# Place in OpenEMR web root to block vulnerable endpoints until patch is applied
<LocationMatch "^/apis/.*/api/patient/.*/document">
    Require ip 10.0.0.0/8 192.168.0.0/16
</LocationMatch>

<LocationMatch "^/apis/.*/api/patient/.*/insurance">
    Require ip 10.0.0.0/8 192.168.0.0/16
</LocationMatch>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenemr

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-862
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34053: OpenEMR Auth Bypass Vulnerability

  • CVE-2026-34055: OpenEMR Auth Bypass Vulnerability

  • CVE-2026-33305: OpenEMR FaxSMS Auth Bypass Vulnerability

  • CVE-2026-33304: OpenEMR Authorization Bypass Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English