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-2025-67645

CVE-2025-67645: OpenEMR Auth Bypass Vulnerability

CVE-2025-67645 is an authentication bypass flaw in OpenEMR allowing authenticated users to modify other users' profiles through parameter manipulation. This article covers technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2025-67645 Overview

CVE-2025-67645 is a Broken Access Control vulnerability affecting OpenEMR, a free and open source electronic health records (EHR) and medical practice management application. Versions prior to 7.0.4 contain a broken access control flaw in the Profile Edit endpoint that allows authenticated users to modify other users' profile data by manipulating request parameters.

An authenticated normal user can modify the pubpid or pid request parameters to reference another user's record. The server fails to validate that the requesting user has authorization to modify the specified record, accepting the modified IDs and applying changes to the targeted user's profile. This enables horizontal privilege escalation where one user can alter another user's profile data including name, contact information, and other sensitive details.

Critical Impact

This vulnerability could enable account takeover in healthcare environments, potentially compromising patient data integrity and violating HIPAA compliance requirements in medical facilities using OpenEMR.

Affected Products

  • OpenEMR versions prior to 7.0.4
  • OpenEMR Patient Portal Profile Edit functionality
  • OpenEMR PatientController.php endpoint

Discovery Timeline

  • 2026-01-28 - CVE CVE-2025-67645 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2025-67645

Vulnerability Analysis

The vulnerability exists in the patient profile update functionality within OpenEMR's Patient Portal. The application fails to implement proper authorization checks when processing profile update requests, allowing any authenticated user to update any other user's profile by simply changing the patient identifier in the request.

This is a classic Insecure Direct Object Reference (IDOR) vulnerability combined with broken access control. The server-side code trusts the id parameter provided in the URL without verifying that the authenticated user owns or has permission to modify the referenced patient record. This architectural flaw means the application relies on client-side controls or obscurity rather than proper server-side authorization validation.

In healthcare contexts, this vulnerability is particularly severe as it could allow malicious actors to modify patient demographic information, contact details, and potentially enable further attacks through account takeover mechanisms.

Root Cause

The root cause is missing authorization validation in the PatientController.php file. The vulnerable code retrieves a patient record based on a user-supplied id parameter and proceeds to update the record without verifying that the authenticated session belongs to the patient whose record is being modified. The application architecture failed to implement the security principle of verifying object-level authorization before performing sensitive operations.

Attack Vector

The attack is network-based and requires low-privilege authenticated access to the OpenEMR Patient Portal. An attacker with a valid user account can intercept or craft HTTP requests to the profile update endpoint, modifying the pubpid or pid parameter to target another user's patient ID. No user interaction is required from the victim, and the attack can be performed with commonly available tools like browser developer tools or proxy applications.

php
// Security patch in portal/patient/libs/Controller/PatientController.php
// Source: https://github.com/openemr/openemr/commit/e2a682ee71aac71a9f04ae566f4ffca10052bc4a
 
            $pk = $this->GetRouter()->GetUrlParam('id');
            $patient = $this->Phreezer->Get('Patient', $pk);

            // Ensure user can only update their own profile
            $sessionPid = $_SESSION['pid'] ?? null;
            if (!$sessionPid || $patient->Pid != $sessionPid) {
                throw new Exception('Unauthorized: You can only update your own profile');
            }

            // this is a primary key. uncomment if updating is allowed
            $patient->Title = $this->SafeGetVal($json, 'title', $patient->Title);
            $patient->Language = $this->SafeGetVal($json, 'language', $patient->Language);
            $patient->Fname = $this->SafeGetVal($json, 'fname', $patient->Fname);
            $patient->Lname = $this->SafeGetVal($json, 'lname', $patient->Lname);
            $patient->Mname = $this->SafeGetVal($json, 'mname', $patient->Mname);

The patch adds proper session-based authorization by comparing the patient ID from the request against the authenticated user's session pid, throwing an exception if they don't match.

Detection Methods for CVE-2025-67645

Indicators of Compromise

  • HTTP requests to the Patient Portal profile update endpoint containing pid or pubpid values that differ from the authenticated user's session
  • Multiple profile update requests from a single authenticated session targeting different patient IDs
  • Unusual patterns of patient demographic data modifications in audit logs
  • Failed authorization exceptions in application logs after patching

Detection Strategies

  • Implement web application firewall (WAF) rules to flag requests where URL-based id parameters differ from session-bound user identifiers
  • Monitor OpenEMR application logs for authorization exception patterns that may indicate exploitation attempts
  • Deploy SentinelOne Singularity to detect anomalous web application behavior and potential IDOR exploitation
  • Review access logs for authenticated users making requests with modified patient ID parameters

Monitoring Recommendations

  • Enable detailed audit logging for all patient profile modification operations in OpenEMR
  • Configure alerting for multiple profile updates originating from a single user session within short time windows
  • Monitor for HTTP parameter tampering patterns in web server access logs
  • Implement database-level auditing to track unauthorized profile modifications

How to Mitigate CVE-2025-67645

Immediate Actions Required

  • Upgrade OpenEMR to version 7.0.4 or later immediately
  • Review audit logs for any suspicious profile modification activity that may indicate prior exploitation
  • Implement network segmentation to limit access to OpenEMR Patient Portal to authorized networks
  • Notify affected users if unauthorized profile modifications are detected

Patch Information

OpenEMR version 7.0.4 addresses this vulnerability by implementing proper server-side authorization checks. The fix validates that the authenticated user's session pid matches the patient record being modified before allowing any updates. The security patch is available via the GitHub commit and detailed in the GitHub Security Advisory GHSA-vjmv-cf46-gffv.

Workarounds

  • If immediate patching is not possible, restrict access to the Patient Portal at the network level until the update can be applied
  • Implement a reverse proxy or WAF rule to reject profile update requests where URL parameters don't match session identifiers
  • Disable the Patient Portal self-service profile editing functionality temporarily
  • Apply the patch manually by implementing the authorization check shown in the security commit
bash
# Configuration example - Restrict Patient Portal access at web server level
# Apache example - Add to OpenEMR virtual host configuration
<Location "/portal/patient">
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Location>

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

  • EPSS Probability0.04%

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

  • GitHub Security Advisory GHSA-vjmv-cf46-gffv
  • 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
Default Legacy - Prefooter | 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