Home / orangehrm / orangehrm / CVE-2025-66224
CVE-2025-66224: is it exploited, and which versions of orangehrm are affected and fixed?
CVE-2025-66224 is a code injection (remote code execution) vulnerability in orangehrm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: orangehrm >= 5.0, < 5.8 (CVE record by GitHub_M). Fixed in 5.8 (NVD). Severity: Critical (9.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-66224?
OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection
OrangeHRM is a comprehensive human resource management (HRM) system. From version 5.0 to 5.7, the application contains an input-neutralization flaw in its mail configuration and delivery workflow that allows user-controlled values to flow directly into the system’s sendmail command. Because these values are not sanitized or constrained before being incorporated into the command execution path, certain sendmail behaviors can be unintentionally invoked during email processing. This makes it possible for the application to write files on the server as part of the mail-handling routine, and in deployments where those files end up in web-accessible locations, the behavior can be leveraged to achieve execution of attacker-controlled content. The issue stems entirely from constructing OS-level command strings using unsanitized input within the mail-sending logic. This issue has been patched in version 5.8.
From the CVE record by GitHub_M, last updated December 1, 2025, 15:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| orangehrm | orangehrm | >= 5.0, < 5.8 |
As the CVE record by GitHub_M states it, last updated December 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| orangehrm | orangehrm | from 5.0 before 5.8 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 18:10 UTC.
How severe is CVE-2025-66224?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-66224 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 1, 2025)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 50.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/orangehrm/orangehrm/security/advisories/GHSA-2w7w-h5wv-xr55 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- November 24, 2025
- Published
- November 29, 2025, 03:04 UTC
- CVE record updated
- December 1, 2025, 15:13 UTC by GitHub_M
- NVD
- Analyzed, last modified October 18, 2026, 18:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect orangehrm?
- Apr 7, 2026CVE-2026-39349 orangehrm: weak encryption
- Apr 7, 2026CVE-2026-39348 orangehrm: missing authorization
- Apr 7, 2026CVE-2026-39347 orangehrm: improper authorization
- Apr 7, 2026CVE-2026-39346 orangehrm: improper access control
- Apr 7, 2026CVE-2026-39345 orangehrm: path traversal (reading or writing files outside the intended folder)
- Nov 29, 2025CVE-2025-66291 orangehrm: improper authorization
- Nov 29, 2025CVE-2025-66290 orangehrm: improper authorization
- Nov 29, 2025CVE-2025-66289 orangehrm: session does not expire
Questions about CVE-2025-66224
Is CVE-2025-66224 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of orangehrm are affected by CVE-2025-66224?
orangehrm >= 5.0, < 5.8, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-66224?
5.8, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-66224?
Critical (9.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-66224?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.