Skip to main content

Frappe HRMS CVE-2026-40889

| EUVDEUVD-2026-24278 MEDIUM
Improper Access Control (CWE-284)
2026-04-21 GitHub_M
6.5
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
6.5 MEDIUM

Network-accessible endpoint exploitable by any authenticated user (PR:L, AV:N, AC:L); impact is read-only file access with no integrity or availability consequence.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

6
Source Code Evidence Fetched
Jul 24, 2026 - 07:08 vuln.today
Analysis Generated
Jul 24, 2026 - 07:08 vuln.today
Patch released
Apr 27, 2026 - 19:39 nvd
Patch available
Patch available
Apr 21, 2026 - 21:02 EUVD
EUVD ID Assigned
Apr 21, 2026 - 20:00 euvd
EUVD-2026-24278
CVE Published
Apr 21, 2026 - 19:32 nvd
MEDIUM 6.5

DescriptionGitHub Advisory

Frappe HR is an open-source human resources management solution (HRMS). Prior to versions 15.58.2 and 16.4.2, authenticated users can access unauthorized files by exploiting certain api endpoint. Versions 15.58.2 and 16.4.2 contain a patch. No known workarounds are available.

AnalysisAI

Unauthorized file access in Frappe HRMS allows any authenticated user to retrieve files attached to documents they are not permitted to view by calling the attachment API endpoint without proper authorization enforcement. Affected versions span both the v15 branch (prior to 15.58.2) and v16 branch (prior to 16.4.2); patched releases are available from the vendor. No public exploit exists and EPSS is 0.03% (8th percentile), though the confidentiality impact is significant given that HR systems routinely store payroll records, employment contracts, and personal employee data.

Technical ContextAI

Frappe HRMS is an open-source human resources management system built on the Frappe Python/JavaScript framework, identified by CPE cpe:2.3:a:frappe:hrms:*:*:*:*:*:*:*:*. The root cause is CWE-284 (Improper Access Control): the file attachment API endpoint failed to validate whether the requesting authenticated user had permission to access documents referenced in the API call. The v15.58.2 release notes confirm the fix is in PR #4165, which corrects the 'attachment API to correctly list files linked to a document, including each file's name, download link, and privacy status' - indicating the endpoint previously returned file metadata and download links regardless of document-level permissions.

RemediationAI

Upgrade to Frappe HRMS version 15.58.2 (v15 branch) or 16.4.2 (v16 branch), available at https://github.com/frappe/hrms/releases/tag/v15.58.2 and https://github.com/frappe/hrms/releases/tag/v16.4.2 respectively. The vendor explicitly states no known workarounds are available. As a compensating control pending upgrade, organizations should audit access logs for the HRMS attachment API endpoint for anomalous cross-document queries, restrict HRMS access to trusted internal networks or VPN only to reduce the attack surface, and ensure the principle of least privilege is enforced on user accounts - noting that any authenticated account is sufficient to exploit the unpatched vulnerability.

More in Frappe

View all
CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

CVE-2025-52041 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at erpnext/stock/doctype/stock_reconciliation/stock_reco

CVE-2025-52040 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Inje

CVE-2025-52039 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_material_requests_based_on_supplier() at erpnext/stock/doctype/material_requ

Share

CVE-2026-40889 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy