CVE-2025-66224

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:orangehrm:orangehrm:*:*:*:*:*:*:*:*

History

03 Dec 2025, 16:55

Type Values Removed Values Added
References () https://github.com/orangehrm/orangehrm/security/advisories/GHSA-2w7w-h5wv-xr55 - () https://github.com/orangehrm/orangehrm/security/advisories/GHSA-2w7w-h5wv-xr55 - Vendor Advisory
CPE cpe:2.3:a:orangehrm:orangehrm:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
First Time Orangehrm
Orangehrm orangehrm

29 Nov 2025, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-29 04:15

Updated : 2025-12-03 16:55


NVD link : CVE-2025-66224

Mitre link : CVE-2025-66224

CVE.ORG link : CVE-2025-66224


JSON object : View

Products Affected

orangehrm

  • orangehrm
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')