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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-31117

CVE-2025-31117: OpenEMR SSRF Vulnerability

CVE-2025-31117 is an out-of-band server-side request forgery flaw in OpenEMR that enables attackers to force unauthorized requests to internal or external resources. This article covers technical details, affected versions, impact, and mitigation.

Published: April 29, 2026

CVE-2025-31117 Overview

OpenEMR, a widely-used free and open source electronic health records (EHR) and medical practice management application, contains an Out-of-Band Server-Side Request Forgery (OOB SSRF) vulnerability. This security flaw allows an attacker to force the server to make unauthorized requests to external or internal resources. While this attack does not return a direct response to the attacker, it can be exploited through DNS or HTTP interactions to exfiltrate sensitive information from the healthcare environment.

Critical Impact

Attackers can leverage this SSRF vulnerability to probe internal network infrastructure, access internal services, and potentially exfiltrate sensitive patient data through out-of-band channels in healthcare environments.

Affected Products

  • OpenEMR versions prior to 7.0.3.1
  • All OpenEMR installations using the DICOM viewer URL loading functionality
  • Healthcare systems running vulnerable OpenEMR deployments

Discovery Timeline

  • 2025-03-31 - CVE CVE-2025-31117 published to NVD
  • 2025-04-30 - Last updated in NVD database

Technical Details for CVE-2025-31117

Vulnerability Analysis

This Out-of-Band Server-Side Request Forgery (SSRF) vulnerability exists in OpenEMR's DICOM viewer component, specifically within the dicom_launcher.js file. The vulnerability stems from the application accepting URL-based loading of DICOM files without proper validation, allowing attackers to specify arbitrary URLs that the server will then request on their behalf.

The OOB nature of this SSRF means that while attackers don't receive direct responses from internal resources, they can still exploit the vulnerability by monitoring DNS queries or HTTP requests to attacker-controlled infrastructure. This technique is particularly effective for data exfiltration and internal network reconnaissance in healthcare environments where OpenEMR manages sensitive patient information.

Root Cause

The root cause of this vulnerability is the inclusion of "Url" as an accepted loader type in the DICOM viewer initialization. The application's dwv (DICOM Web Viewer) component was configured to allow loading DICOM files from arbitrary URLs without implementing proper URL validation or restrictions. This design flaw enabled server-side requests to be initiated to any destination specified by the attacker, including internal network resources and external attacker-controlled servers.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction, making it particularly dangerous in internet-facing OpenEMR deployments. An attacker can craft malicious requests containing URLs pointing to internal infrastructure (such as http://localhost, http://169.254.169.254 for cloud metadata services, or internal IP ranges) or to attacker-controlled servers designed to capture out-of-band data exfiltration.

The following patch shows the security fix that removes the URL loading capability from the DICOM viewer:

javascript
 
     // initialise the application
     const loaderList = [
-        "File",
-        "Url"
+        "File"
     ];
 
     const filterList = [

Source: GitHub Commit Update

The fix removes the "Url" loader from the allowed loader list, effectively eliminating the attack surface by only permitting local file-based DICOM loading.

Detection Methods for CVE-2025-31117

Indicators of Compromise

  • Unusual outbound HTTP or DNS requests originating from the OpenEMR server to external or unexpected internal destinations
  • DNS query logs showing resolution attempts for attacker-controlled domains from the web server
  • Network traffic from the OpenEMR server to cloud metadata endpoints (e.g., 169.254.169.254)
  • HTTP requests in server logs containing DICOM viewer endpoints with URL parameters pointing to internal resources

Detection Strategies

  • Monitor outbound network connections from OpenEMR servers for connections to unexpected internal IP ranges or external domains
  • Implement DNS logging and alerting for unusual resolution patterns from web application servers
  • Deploy network segmentation and monitor any attempts by the OpenEMR server to access restricted internal services
  • Review web application logs for DICOM-related endpoints receiving URL parameters with internal or suspicious external addresses

Monitoring Recommendations

  • Configure SentinelOne to monitor process network activity from the OpenEMR web server process for suspicious outbound connections
  • Implement egress filtering and alert on any blocked outbound connection attempts from the application tier
  • Enable detailed logging on the OpenEMR application and correlate with network traffic analysis
  • Deploy canary tokens or honeypot services on internal networks to detect SSRF-based reconnaissance

How to Mitigate CVE-2025-31117

Immediate Actions Required

  • Upgrade OpenEMR to version 7.0.3.1 or later immediately to apply the security patch
  • Audit network access permissions for OpenEMR servers and implement strict egress filtering
  • Review server logs for any indicators of prior exploitation attempts targeting DICOM viewer functionality
  • Temporarily disable or restrict access to DICOM viewer functionality if immediate patching is not possible

Patch Information

The vulnerability has been fixed in OpenEMR version 7.0.3.1. The security patch removes the URL loading capability from the DICOM viewer by modifying the library/js/dwv/dicom_launcher.js file to only allow local file-based loading. Organizations should apply this update immediately given the sensitive nature of healthcare data managed by OpenEMR.

For detailed patch information, see the GitHub Commit Update and the GitHub Security Advisory GHSA-2pvv-ph3x-2f9h.

Workarounds

  • Implement web application firewall (WAF) rules to block requests containing URL parameters to DICOM-related endpoints
  • Deploy network-level egress filtering to prevent the OpenEMR server from initiating outbound connections to unauthorized destinations
  • Use network segmentation to isolate OpenEMR servers from sensitive internal resources and cloud metadata services
  • Disable or remove the DICOM viewer functionality entirely if not required for clinical operations
bash
# Example: Block outbound connections from OpenEMR server (Linux iptables)
# Allow only necessary outbound connections
iptables -A OUTPUT -m owner --uid-owner www-data -d 127.0.0.0/8 -j DROP
iptables -A OUTPUT -m owner --uid-owner www-data -d 169.254.0.0/16 -j DROP
iptables -A OUTPUT -m owner --uid-owner www-data -d 10.0.0.0/8 -j DROP
iptables -A OUTPUT -m owner --uid-owner www-data -d 172.16.0.0/12 -j DROP
iptables -A OUTPUT -m owner --uid-owner www-data -d 192.168.0.0/16 -j DROP

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechOpen Emr

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability1.85%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-2pvv-ph3x-2f9h
  • Related CVEs
  • CVE-2023-54347: OpenEMR Auth Bypass Vulnerability

  • CVE-2026-32120: OpenEMR Auth Bypass Vulnerability

  • CVE-2026-33909: OpenEMR SQL Injection Vulnerability

  • CVE-2026-33931: OpenEMR Information Disclosure 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