{"id":"CVE-2025-66224","aliases":["CVE-2025-66224"],"related":[],"kind":"vulnerability","state":"published","title":"OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"OrangeHRM es un sistema integral de gestión de recursos humanos (HRM). Desde la versión 5.0 hasta la 5.7, la aplicación contiene una falla de neutralización de entrada en su configuración de correo y flujo de trabajo de entrega que permite que valores controlados por el usuario fluyan directamente al comando sendmail del sistema. Debido a que estos valores no son saneados ni restringidos antes de ser incorporados en la ruta de ejecución del comando, ciertos comportamientos de sendmail pueden ser invocados involuntariamente durante el procesamiento de correo electrónico. Esto hace posible que la aplicación escriba archivos en el servidor como parte de la rutina de manejo de correo, y en implementaciones donde esos archivos terminan en ubicaciones accesibles por la web, el comportamiento puede ser aprovechado para lograr la ejecución de contenido controlado por el atacante. El problema se deriva completamente de la construcción de cadenas de comandos a nivel de sistema operativo utilizando entrada no saneada dentro de la lógica de envío de correo. Este problema ha sido parcheado en la versión 5.8.","source":"nvd"}],"published":"2025-11-29T03:04:42.301Z","modified":"2026-10-18T18:10:00.100Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":">= 5.0, < 5.8","status":"affected"}],"vendor":"orangehrm","product":"orangehrm","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.8"}],"vendor":"orangehrm","product":"orangehrm","cpe":"cpe:2.3:a:orangehrm:orangehrm:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/orangehrm/orangehrm/security/advisories/GHSA-2w7w-h5wv-xr55","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-12-01T15:13:01.629Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66224","url":"https://www.cve.org/CVERecord?id=CVE-2025-66224","licence":"CVE Terms of Use","modified":"2025-12-01T15:13:29.930Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66224","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66224","licence":"Public domain","modified":"2026-10-18T18:10:00.100Z"}],"updatedAt":"2026-11-25T22:59:08.094Z","epss":{"score":0.00602,"percentile":0.50171,"date":"2026-12-01T12:00:22.000Z"}}