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-33914

CVE-2026-33914: OpenEMR Blind SQL Injection Vulnerability

CVE-2026-33914 is a blind SQL injection vulnerability in OpenEMR's PostCalendar module that allows attackers to execute unauthorized database queries. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33914 Overview

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, the PostCalendar module contains a blind SQL injection vulnerability in the categoriesUpdate administrative function. The dels POST parameter is read via pnVarCleanFromInput(), which only strips HTML tags and performs no SQL escaping. The value is then interpolated directly into a raw SQL DELETE statement that is executed unsanitized via Doctrine DBAL's executeStatement().

Critical Impact

An authenticated attacker with administrative privileges can exploit this blind SQL injection vulnerability to extract, modify, or delete sensitive patient health records and system data from the OpenEMR database.

Affected Products

  • OpenEMR versions prior to 8.0.0.3
  • PostCalendar module with vulnerable categoriesUpdate function
  • OpenEMR installations using Doctrine DBAL for database operations

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-33914 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33914

Vulnerability Analysis

This vulnerability is a classic SQL Injection (CWE-89) occurring in the PostCalendar administrative module of OpenEMR. The vulnerable code path exists in the categoriesUpdate function where user-controlled input from the dels POST parameter is processed through pnVarCleanFromInput(). This sanitization function is inadequate as it only removes HTML tags but does not perform proper SQL escaping or parameterized query binding.

The unsanitized input is directly concatenated into a raw SQL DELETE statement, creating a blind SQL injection condition. Because the query is executed via Doctrine DBAL's executeStatement() without prepared statements or parameter binding, an attacker can inject arbitrary SQL commands that will be executed against the backend database.

Root Cause

The root cause is insufficient input validation and the absence of parameterized queries. The pnVarCleanFromInput() function was designed to sanitize HTML content but was incorrectly relied upon for SQL context sanitization. This architectural oversight allows SQL metacharacters to pass through unfiltered and be interpreted as SQL syntax rather than data.

Attack Vector

The attack vector is network-based, requiring an authenticated attacker with administrative access to the OpenEMR system. The attacker submits a specially crafted POST request to the categoriesUpdate function with malicious SQL code embedded in the dels parameter. Because this is a blind SQL injection, the attacker cannot directly see query results but can infer information through time-based or boolean-based techniques, or use stacked queries to modify data.

php
// Vulnerable code (before patch)
$delete = "DELETE FROM $pntable[postcalendar_categories] WHERE pc_catid IN ($dels)";
// $dels is directly interpolated without SQL escaping

// Patched code (version 8.0.0.3)
$safeDels = implode(',', array_map(intval(...), explode(',', $dels)));
$delete = "DELETE FROM $pntable[postcalendar_categories] WHERE pc_catid IN ($safeDels)";
// Input is now sanitized by casting each value to integer

Source: GitHub Commit 1b851fc9af84f181ad7a84210a168d0d568cd442

Detection Methods for CVE-2026-33914

Indicators of Compromise

  • Unusual or malformed POST requests to the PostCalendar categoriesUpdate administrative endpoint
  • Database query logs showing anomalous DELETE statements with SQL injection patterns such as UNION, SLEEP(), or BENCHMARK() functions
  • Unexpected modifications or deletions in the postcalendar_categories table
  • Web server access logs with suspicious dels parameter values containing SQL syntax characters

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in POST parameters targeting OpenEMR administrative functions
  • Enable database query logging and monitor for unusual DELETE operations or time-based SQL functions
  • Deploy intrusion detection systems (IDS) with signatures for SQL injection attacks targeting healthcare applications
  • Audit administrative user activity and flag unusual bulk operations against calendar category data

Monitoring Recommendations

  • Monitor authentication logs for administrative account access patterns that deviate from normal behavior
  • Set up alerts for database errors or timeout conditions that may indicate time-based blind SQL injection attempts
  • Implement rate limiting on administrative API endpoints to slow down automated exploitation attempts
  • Review OpenEMR audit logs for changes to calendar categories that were not initiated through normal workflows

How to Mitigate CVE-2026-33914

Immediate Actions Required

  • Upgrade OpenEMR to version 8.0.0.3 or later immediately
  • Review database audit logs for evidence of exploitation attempts
  • Restrict administrative access to the PostCalendar module to only essential personnel
  • Implement network-level access controls to limit exposure of the OpenEMR administrative interface

Patch Information

OpenEMR has released version 8.0.0.3 which addresses this vulnerability. The patch implements proper input sanitization by casting each comma-separated value in the dels parameter to an integer using array_map(intval(...), explode(',', $dels)). This ensures that only numeric values can be included in the SQL query, effectively neutralizing any SQL injection payload.

For detailed patch information, refer to the GitHub Security Advisory GHSA-rq3v-38x5-3rm5 and the official release v8.0.0.3.

Workarounds

  • If immediate patching is not possible, disable or restrict access to the PostCalendar module's administrative functions until the update can be applied
  • Implement application-layer filtering to validate that the dels parameter contains only numeric, comma-separated values
  • Deploy a WAF rule to block requests containing SQL injection patterns in the dels parameter
  • Consider placing the OpenEMR administrative interface behind a VPN or additional authentication layer to reduce attack surface
bash
# Example: Apache mod_security rule to block suspicious dels parameter
SecRule ARGS:dels "@rx (\%27)|(\')|(\-\-)|(\%23)|(#)" \
    "id:100001,phase:2,deny,status:403,msg:'SQL Injection attempt in dels parameter'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechOpenemr

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Release v8.0.0.3
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-rq3v-38x5-3rm5
  • Related CVEs
  • CVE-2026-32127: OpenEMR SQL Injection Vulnerability

  • CVE-2026-24908: OpenEMR SQL Injection Vulnerability

  • CVE-2026-25746: OpenEMR SQL Injection Vulnerability

  • CVE-2026-23627: OpenEMR SQL Injection 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