CVE-2025-66224CWE-94code-injection

CVE-2025-66224

High · published November 29, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
45.9
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in OrangeHRM can let an attacker directly affect server commands through email! 🔥 Think of it like a restaurant that takes orders without double-checking the ingredients. If a customer can slip in a secret note, it’s possible they could order something that would cause chaos in the kitchen – like a fire in the fryer! This vulnerability means that by manipulating the email configuration, an attacker could trick the system into writing files on the server. If those files end up in publicly accessible areas, it could lead to the execution of malicious content, potentially compromising sensitive data or even taking control of the server itself. Absolutely devastating!

Put simply

Think of it like a restaurant that takes orders without double-checking the ingredients. If a customer can slip in a secret note, it’s possible they could order something that would cause chaos in the kitchen – like a fire in the fryer! The flaw arises from the application constructing OS-level command strings using unsanitized user input within its mail-sending logic. This oversight enables unauthorized command execution via manipulated email parameters.

What to do

This vulnerability means that by manipulating the email configuration, an attacker could trick the system into writing files on the server. If those files end up in publicly accessible areas, it could lead to the execution of malicious content, potentially compromising sensitive data or even taking control of the server itself. Absolutely devastating! To protect your system, immediately update OrangeHRM to version 5.8, where this vulnerability is patched. Additionally, review your mail configuration to ensure no unsanitized user inputs are incorporated into command executions. Regular audits could save your day! You’ve got this! Implement these fixes, and you’ll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00562 · 45.9th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-11-29T09:15Z
Affected products (1)
ProductVersionsFixed in
orangehrm/orangehrm≥ 5.0, < 5.85.8
References (1)
EPSS history
Timeline
  • 29 NOV 03:04Z
    OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection
    cvelistv5