Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-33301

CVE-2026-33301: OpenEMR Path Traversal Vulnerability

CVE-2026-33301 is a path traversal flaw in OpenEMR that allows attackers to read arbitrary files through PDF generation. This post explains its impact, affected versions, and mitigation steps.

Published: March 20, 2026

CVE-2026-33301 Overview

OpenEMR is a free and open source electronic health records and medical practice management application. A significant arbitrary file read vulnerability has been identified in versions prior to 8.0.0.2. Users with the Notes - my encounters role can fill Eye Exam forms in patient encounters. The answers to the form can be printed out in PDF form. An arbitrary file read vulnerability was identified in the PDF creation function where the form answers are parsed as unescaped HTML, allowing an attacker to include arbitrary image files from the server in the generated PDF.

Critical Impact

Authenticated attackers with minimal privileges can read arbitrary files from the server, potentially exposing sensitive configuration files, patient records, and system credentials stored on the healthcare system.

Affected Products

  • OpenEMR versions prior to 8.0.0.2
  • OpenEMR Eye Exam PDF generation functionality
  • Systems where users have Notes - my encounters role permissions

Discovery Timeline

  • 2026-03-19 - CVE CVE-2026-33301 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-33301

Vulnerability Analysis

This vulnerability is classified as CWE-116 (Improper Encoding or Escaping of Output), manifesting in OpenEMR's PDF generation functionality for Eye Exam forms. The core issue stems from the application's failure to properly sanitize HTML content when processing form answers before rendering them into PDF documents.

When a user with the Notes - my encounters role submits an Eye Exam form, the application processes the form fields and generates a PDF document. During this process, the form answer content is parsed as raw HTML without proper escaping or validation. This allows an attacker to inject HTML tags, including image tags with file:// protocol references or server-side file paths, which are then processed by the PDF generation engine.

The PDF rendering engine interprets these injected HTML elements and attempts to fetch and embed the referenced resources. When an attacker specifies local file paths pointing to server-side files, the PDF engine reads these files and includes their contents in the generated PDF output. This effectively transforms a seemingly benign PDF export feature into an arbitrary file disclosure mechanism.

Root Cause

The root cause lies in improper output encoding within the PDF generation pipeline. The application fails to escape or sanitize user-controlled input from Eye Exam form fields before passing them to the PDF rendering engine. This allows HTML injection that the PDF generator interprets as legitimate markup, processing embedded file references and including their contents in the output document. The vulnerability specifically affects the form answer parsing logic where user input is concatenated directly into the HTML template without proper encoding.

Attack Vector

The attack requires network access and low-privilege authentication (the Notes - my encounters role). An attacker can exploit this vulnerability by:

  1. Authenticating to OpenEMR with a user account that has the Notes - my encounters role
  2. Navigating to a patient encounter and filling out an Eye Exam form
  3. Injecting malicious HTML containing file references into form answer fields
  4. Generating the PDF export, which causes the server to read the specified files
  5. Downloading the generated PDF to exfiltrate the file contents

The vulnerability allows reading arbitrary image files from the server. In healthcare environments, this could expose sensitive configuration files, database credentials, SSL certificates, or other protected server-side resources. The attack requires no user interaction beyond the initial authentication and can be performed by any user with the minimal required role.

Detection Methods for CVE-2026-33301

Indicators of Compromise

  • Unusual file access patterns in web server logs during PDF generation requests
  • Eye Exam form submissions containing HTML tags or file path references
  • PDF generation requests followed by abnormal server file read operations
  • Log entries showing attempts to access system files like /etc/passwd or configuration files during form processing

Detection Strategies

  • Monitor application logs for Eye Exam form submissions containing suspicious HTML patterns such as <img src="file:// or similar file inclusion attempts
  • Implement web application firewall rules to detect HTML injection attempts in form fields
  • Review audit logs for users with Notes - my encounters role generating unusually high volumes of PDF exports
  • Deploy file integrity monitoring on sensitive server-side files to detect unauthorized read access

Monitoring Recommendations

  • Enable verbose logging for PDF generation functionality to capture input parameters
  • Configure alerting for requests to the Eye Exam PDF export endpoint that contain encoded or plaintext HTML tags
  • Monitor for anomalous file system access patterns correlated with web application requests
  • Implement network-level monitoring for large PDF file downloads that may indicate data exfiltration

How to Mitigate CVE-2026-33301

Immediate Actions Required

  • Upgrade OpenEMR to version 8.0.0.2 or later immediately
  • Review access controls and audit users with the Notes - my encounters role
  • Examine recent PDF generation logs for potential exploitation attempts
  • Consider temporarily disabling the Eye Exam PDF export feature if immediate patching is not possible

Patch Information

OpenEMR has released version 8.0.0.2 which addresses this vulnerability. The fix involves proper HTML escaping of form answers before they are processed by the PDF generation engine. The specific commit addressing this issue is available in the OpenEMR GitHub repository. Additional details are documented in the GitHub Security Advisory.

Workarounds

  • Temporarily disable the Eye Exam PDF export functionality until patching is complete
  • Restrict the Notes - my encounters role to only trusted users with verified need
  • Implement input validation at the web server or reverse proxy level to filter HTML tags from form submissions
  • Deploy a web application firewall with rules to block common HTML injection patterns in form data
bash
# Example: Restrict access to PDF generation endpoint via Apache configuration
<Location "/interface/forms/eye_mag/pdf.php">
    # Temporarily restrict access while awaiting patch
    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
  • TypePath Traversal

  • Vendor/TechOpenemr

  • SeverityHIGH

  • CVSS Score7.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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-116
  • Technical References
  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33913: OpenEMR Path Traversal Vulnerability

  • CVE-2026-25928: OpenEMR Path Traversal Vulnerability

  • CVE-2026-33914: OpenEMR Blind SQL Injection Vulnerability

  • CVE-2026-33348: OpenEMR Stored XSS 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