CVE-2026-39345 OrangeHRM Affected by Arbitrary File Read via Path Traversal in Email Template Loader
Authenticated attackers can read arbitrary local files in OrangeHRM due to improper path restriction in the email template loader.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-39345?
CVE-2026-39345 is a medium-severity path traversal vulnerability in orangehrm, published on 7 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
OrangeHRM is a comprehensive human resource management (HRM) system. From 5.0 to 5.8, OrangeHRM Open Source 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. This vulnerability is fixed in 5.8.1.
Weakness: CWE-22
Which versions are affected by CVE-2026-39345?
It affects 1 product.
Products include Orangehrm Orangehrm.
How do I fix CVE-2026-39345?
No fix has been published for CVE-2026-39345 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-39345 being exploited?
There is no known exploitation of CVE-2026-39345 in the wild and no public exploit code.
Other vulnerabilities in orangehrm
- CVE-2007-1193 Other in n/a
- CVE-2025-66224 OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection
- CVE-2019-12839 Command injection in n/a
- CVE-2025-66225 OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow
- CVE-2025-66289 OrangeHRM is Vulnerable to Persistent Session Access Due to Missing Invalidation After User Disable and Password Change
Sources
Also known as GHSA-xq24-qv66-9v3m.