BreachSpiderVerified, not vibes

CVE-2025-44040 in Orangehrm

High 7.2

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 h...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.2
EPSS0.9%
EPSS percentile59th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Orangehrm Orangehrm 5.7

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-44040
BreachSpider IDBS-2025-GLOBAL-260759-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published2025-05-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-269: Improper Privilege Management

Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.

Related attack patterns (CAPEC)

CAPEC-58 Restful Privilege Elevation via CWE-269

CAPEC-122 Privilege Abuse via CWE-269

CAPEC-233 Privilege Escalation via CWE-269

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A privilege escalation vulnerability exists in OrangeHRM v.5.7 due to improper handling of MD5 hashes in the UserService.php file, specifically within the checkForOldHash function. This could allow an attacker to escalate their privileges if they can manipulate the credential store to include a specific MD5 value.

The vulnerability arises from the use of PHP loose-equality comparisons when checking for old password hashes. An attacker could potentially exploit this by placing a specific MD5 value into the credential store, although the supplier disputes this possibility.

Questions

What is CVE-2025-44040?

A privilege escalation vulnerability exists in OrangeHRM v.5.7 due to improper handling of MD5 hashes in the UserService.php file, specifically within the checkForOldHash function. This could allow an attacker to escalate their privileges if they can manipulate the credential store to include a specific MD5 value.

What is the CVSS score for CVE-2025-44040?

CVE-2025-44040 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.9%.

Is CVE-2025-44040 actively exploited?

No confirmed active exploitation of CVE-2025-44040 as of 2026-09-25.

How do I remediate CVE-2025-44040?

Priority: MEDIUM.

What systems are affected by CVE-2025-44040?

CVE-2025-44040 affects Orangehrm Orangehrm.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Orangehrm","product":"Orangehrm","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.