Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-66224
VULNERABILITY

CVE-2025-66224

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.0
Severity
CRITICAL
Vector
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/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

Timeline

Published
Nov 29, 2025 04:15
Modified
Oct 18, 2026 18:10
Last observed
Oct 20, 2026 20:38

CWE

CWE-94

Affected product identifiers

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

References