CVE-2025-66224

Source
https://cve.org/CVERecord?id=CVE-2025-66224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66224
Aliases
  • GHSA-2w7w-h5wv-xr55
Published
2025-11-29T03:04:42.301Z
Modified
2025-12-05T12:32:24.986605Z
Severity
  • 9.0 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66224.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

Git / github.com/orangehrm/orangehrm

Affected ranges

Type
GIT
Repo
https://github.com/orangehrm/orangehrm
Events

Affected versions

v.*
v.5.0
v5.*
v5.1
v5.2
v5.3
v5.4
v5.5
v5.6
v5.6.1
v5.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66224.json"