/

CVE-2026-126414

Severity:

HIGH RISK

(8.8)

Missing Authorization (CWE-862) in Frappe HRMS Records

CVE-2026-126414

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-862

Impact:

Unauthorized modification of employee records

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Certain Frappe HRMS record-update endpoints do not check whether an authenticated user is authorized to change the target employee's record. An Employee-role user may therefore modify records belonging to other employees, putting the integrity and confidentiality of HR data at risk.

Affected context

The issue affects certain record-update endpoints in Frappe HRMS 15.0.0 before 15.64.2 and 16.0.0 before 16.20.0. It becomes a concern when an endpoint accepts a record update from an authenticated Employee-role user without checking that the user is permitted to modify the specific record.

Exploit preconditions

  • Attack surface: Record-update endpoints in Frappe HRMS
  • Required access: An authenticated account with the Employee role
  • Trigger point: A request to update a record belonging to another employee
  • Why exploitation is possible: The affected endpoint does not enforce an ownership or equivalent authorization check for the target record

Why this happens

The underlying bug is a missing authorization check at the point where a record update is handled. Authentication and role membership alone do not establish permission to modify every record; the application must also verify access to the specific target object. This is an instance of CWE-862: Missing Authorization.

Potential impact

  • An attacker may alter other employees' records without permission.
  • Unauthorized changes could affect the accuracy of HR data and related workflows.
  • Depending on the records exposed, sensitive information could be indirectly affected or misused.

General mitigation guidance

Defensive patterns focus on enforcing authorization for every operation on a specific record.

  • Check the authenticated user's permission to update the target record on the server side.
  • Apply ownership, organizational-scope, or delegated-access rules consistently across update endpoints.
  • Deny access by default when authorization cannot be established.
  • Minimize the permissions granted to user roles and avoid relying on client-side checks.
  • Include authorization checks in shared service or data-access layers where appropriate, while preserving endpoint-specific policy requirements.

How teams detect issues like this

  • Review record-update handlers for authorization checks tied to the specific target record, not just authentication or role membership.
  • Use static analysis or code review rules to flag update paths that load or modify records without an associated permission check.
  • Add policy tests that verify users cannot update records outside their ownership or authorized scope.
  • Monitor audit logs for employee accounts making changes to records outside their expected scope.
  • Automated code review tools may help identify endpoints with inconsistent access-control enforcement.

Sources

SourceLink
github.comgithub.com/frappe/hrms/security/advisories/GHSA-87rf-mqrq-hmm3
vulncheck.comvulncheck.com/advisories/frappe-hrms-15.0.0-before-15.64.2-missing-authorization-in-record-update-endpoints

Frequently asked

questions

An authenticated user with the Employee role may be able to modify records belonging to other employees through affected update endpoints.

Yes. The described issue requires an authenticated account with the Employee role; the authorization gap concerns which records that account can change.

Enforce server-side authorization for the specific record on every update request, using ownership or other applicable access policies.

Apply deny-by-default access controls consistently, test cross-user record access, and review update paths for checks that validate both the user's identity and their permission to modify the target record.

Find out what's already
exploitable in your codebase.