---
id: "CVE-2026-126313"
page: "https://infrastack.ai/live/CVE-2026-126313"
kind: "vulnerability"
aliases: ["CVE-2026-126313"]
title: "Frappe HRMS: employees can edit draft records belonging to others"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["erpnext", "frappe-hrms", "runtime", "self-hosted"]
not_affected_if: ["managed-hosting-patched", "version-outside-range"]
published_at: "2026-11-13T10:17:37+00:00"
first_seen_at: "2026-11-13T10:47:16+00:00"
updated_at: "2026-11-13T10:57:25+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126313", "first_seen_at": "2026-11-13T10:47:16+00:00"}]
exploit_sources: []
---

# Frappe HRMS: employees can edit draft records belonging to others

Link for people: https://infrastack.ai/live/CVE-2026-126313 (this .md is for agents)

Frappe HRMS 16.0.0 before 16.20.1 is missing an ownership check on a record type employees can create. A logged-in user with only the Employee role can create or change draft records for another employee or for a company they do not belong to.

_Summary, check and fix written by a model from the sources; labelled as such._

## Fix

- Frappe HRMS: move to `16.20.1` or later.

## Timeline

- 2026-11-13T10:47:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126313

## Documents

- [advisory] Vendor advisory: github.com https://github.com/frappe/hrms/security/advisories/GHSA-rh2j-fcxx-r67m
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/frappe-hrms-16.0.0-before-16.20.1-authorization-bypass-via-employee-records

## From the sources

Frappe HRMS 16.0.0 before 16.20.1 contains an authorization bypass because an ownership check is missing on a record type that employees can create. Authenticated users holding only the Employee role can create or change draft records for another employee, or for a company they do not belong to.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
