CVE 9 CRITICAL

OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection_CVE-2025-66224

9 / 10
CRITICAL
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

Description

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.

AI Analysis

OrangeHRM contains an input-neutralization flaw in its mail configuration and delivery workflow, allowing user-controlled values to flow directly into the system’s sendmail command, potentially leading to code execution through arbitrary file write from sendmail parameter injection.

Basic Information

ID CVE-2025-66224
Source GitHub_M
Published Nov 29, 2025 at 03:04

Affected Product

Vendor orangehrm
Product orangehrm
Version >= 5.0, < 5.8
Affected Versions orangehrm orangehrm >= 5.0, < 5.8

CWE Classification

AI Assessment

AI Score 9 / 10
AI Severity CRITICAL
Vendor OrangeHRM
Product OrangeHRM
Version 5.0 to 5.7

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.