Security advisory
An issue in OrangeHRM v.5.7 allows an attacker to escalate privileges via UserService.php and the checkForOldHash function. Authentication decisions may be made via PHP loose-equality comparisons if a specific MD5 value is present in the credential store. NOTE: this is disputed by the Supplier because an adversary has no way to place the specific MD5 value into the credential store (unless they already have full privileges) and because the specific MD5 value would not realistically be present otherwise.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-44040
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:18 UTC · Revision 1
Source evidence
An issue in OrangeHRM v.5.7 allows an attacker to escalate privileges via UserService.php and the checkForOldHash function. Authentication decisions may be made via PHP loose-equality comparisons if a specific MD5 value is present in the credential store. NOTE: this is disputed by the Supplier because an adversary has no way to place the specific MD5 value into the credential store (unless they already have full privileges) and because the specific MD5 value would not realistically be present otherwise.
osv:CVE-2025-44040
Complete source record
{
"id": "10c41a5af19326b948af0f041dde8b7f9a2636ce022803a9fed979384c2f6c12",
"url": "https://osv.dev/vulnerability/CVE-2025-44040",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-44040",
"summary": "An issue in OrangeHRM v.5.7 allows an attacker to escalate privileges via UserService.php and the checkForOldHash function. Authentication decisions may be made via PHP loose-equality comparisons if a specific MD5 value is present in the credential store. NOTE: this is disputed by the Supplier because an adversary has no way to place the specific MD5 value into the credential store (unless they already have full privileges) and because the specific MD5 value would not realistically be present otherwise.",
"evidence": "osv:CVE-2025-44040",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-44040",
"aliases": [
"CVE-2025-44040"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/orangehrm/orangehrm",
"type": "GIT",
"events": [
{
"introduced": "194a751e23977d76374386f2e405ac68eeed6904"
},
{
"fixed": "194a751e23977d76374386f2e405ac68eeed6904"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:orangehrm:orangehrm:5.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.7"
},
{
"last_affected": "5.7"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "194a751e23977d76374386f2e405ac68eeed6904"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v5.7"
}
]
}
}
],
"versions": [
"5.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-44040.json"
}
}
],
"modified": "2026-10-28T02:30:51.527287822Z",
"provider": "osv",
"references": [
"https://github.com/orangehrm/orangehrm/releases/tag/v5.7",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/44xxx/CVE-2025-44040.json",
"https://github.com/hexomedin3/advisories/tree/main/CVE-2025-44040",
"https://nvd.nist.gov/vuln/detail/CVE-2025-44040"
],
"provider_metadata": {
"isDisputed": true,
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/44xxx/CVE-2025-44040.json"
}
},
"related_cves": [
{
"value": "CVE-2025-44040",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520204,
"published_at": "2025-05-21T00:00:00+00:00"
}