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-2026-39345

CVE-2026-39345: OrangeHRM Path Traversal Vulnerability

CVE-2026-39345 is a path traversal flaw in OrangeHRM that allows authenticated attackers to read arbitrary local files via email template manipulation. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-39345 Overview

OrangeHRM is a comprehensive human resource management (HRM) system used by organizations worldwide for employee management, recruitment, and HR administration. CVE-2026-39345 is a Path Traversal vulnerability affecting OrangeHRM Open Source versions 5.0 through 5.8. The vulnerability exists because the application fails to restrict email template file resolution to the intended plugins directory, allowing an authenticated actor who can influence the template path to read arbitrary local files from the server.

Critical Impact

Authenticated attackers can exploit this path traversal flaw to read sensitive configuration files, credentials, and other confidential data stored on the server, potentially leading to further system compromise.

Affected Products

  • OrangeHRM Open Source versions 5.0 through 5.8
  • All deployments using the vulnerable email template functionality

Discovery Timeline

  • 2026-04-07 - CVE CVE-2026-39345 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-39345

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), also known as Directory Traversal. The core issue stems from insufficient input validation in OrangeHRM's email template file resolution mechanism. When the application processes email template requests, it fails to properly sanitize the template path parameter, allowing attackers to use path traversal sequences to escape the intended plugins directory.

An authenticated user with access to email template functionality can manipulate the file path to include directory traversal characters (such as ../) to navigate outside the designated template directory. This allows reading of arbitrary files on the system that the web server process has permission to access, including configuration files, application source code, and potentially sensitive HR data.

The attack requires authentication and elevated privileges, which limits the attack surface but still presents a significant risk in environments where multiple administrators or users have access to email template configuration features.

Root Cause

The root cause of this vulnerability is improper input validation and lack of path canonicalization in the email template file resolution logic. The application does not adequately verify that the requested template file resides within the expected plugins directory before processing the file read operation. This allows malicious path sequences to traverse outside the intended directory structure.

Attack Vector

The vulnerability is exploitable over the network by an authenticated actor with sufficient privileges to influence the email template path parameter. The attacker crafts a malicious request containing path traversal sequences (e.g., ../../etc/passwd or ..\..\windows\system32\config\sam) to read files outside the plugins directory.

The attack flow involves:

  1. Authenticating to OrangeHRM with appropriate privileges
  2. Accessing the email template functionality
  3. Manipulating the template path parameter with directory traversal sequences
  4. Reading the contents of arbitrary files accessible to the web server process

Since no verified code examples are available, the vulnerability manifests in the template file resolution component where user-controlled input is used to construct file paths without proper sanitization. Technical details can be found in the GitHub Security Advisory.

Detection Methods for CVE-2026-39345

Indicators of Compromise

  • HTTP requests to email template endpoints containing path traversal sequences such as ../, ..%2f, or ..%5c
  • Web server logs showing access to files outside the OrangeHRM plugins directory
  • Unusual file access patterns in application logs, particularly requests for system files like /etc/passwd or configuration files
  • Error messages indicating file access attempts outside expected directories

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing path traversal patterns
  • Monitor application logs for template file requests containing suspicious path characters or sequences
  • Deploy file integrity monitoring on sensitive configuration files to detect unauthorized access
  • Review authentication logs for accounts accessing email template functionality and correlate with file access events

Monitoring Recommendations

  • Enable verbose logging for the OrangeHRM email template functionality
  • Configure security information and event management (SIEM) alerts for path traversal attack patterns
  • Monitor web server access logs for requests to sensitive file paths originating from OrangeHRM endpoints
  • Implement anomaly detection for file read operations that deviate from normal application behavior

How to Mitigate CVE-2026-39345

Immediate Actions Required

  • Upgrade OrangeHRM Open Source to version 5.8.1 or later immediately
  • Audit user accounts with access to email template configuration and restrict privileges where possible
  • Review access logs for evidence of exploitation attempts
  • Implement network segmentation to limit the impact of potential file disclosure

Patch Information

OrangeHRM has released version 5.8.1 which addresses this vulnerability by properly restricting email template file resolution to the intended plugins directory. Organizations should upgrade to this version as the primary remediation measure.

For detailed patch information and security advisory, refer to the OrangeHRM GitHub Security Advisory.

Workarounds

  • Restrict access to email template functionality to only trusted administrators until patching is complete
  • Implement web application firewall rules to block requests containing path traversal sequences targeting OrangeHRM endpoints
  • Apply file system permissions to limit what files the web server process can read
  • Consider temporarily disabling email template customization features if not critically needed
bash
# Example WAF rule pattern for ModSecurity to block path traversal attempts
SecRule REQUEST_URI "@rx \.\./" "id:100001,phase:1,deny,status:403,msg:'Path Traversal Attempt Blocked'"
SecRule ARGS "@rx \.\.[\\/]" "id:100002,phase:2,deny,status:403,msg:'Path Traversal in Parameter Blocked'"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechOrangehrm

  • SeverityMEDIUM

  • CVSS Score4.6

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/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-22
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39347: OrangeHRM Auth Bypass Vulnerability

  • CVE-2026-39346: OrangeHRM Auth Bypass Vulnerability

  • CVE-2026-39349: OrangeHRM Information Disclosure Flaw

  • CVE-2026-39348: OrangeHRM Auth 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