{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.0.0"
                  },
                  {
                    "fixed": "16.20.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "19a835b7ca10132365a8707931d65381aa68a846"
            },
            {
              "fixed": "6f5ac249283f6fa1013fd5616f3d95f686ba7bb2"
            }
          ],
          "repo": "https://github.com/frappe/hrms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rh2j-fcxx-r67m"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126313.json"
  },
  "details": "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.",
  "id": "CVE-2026-126313",
  "modified": "2026-11-14T02:31:08.972585949Z",
  "published": "2026-11-13T09:36:16.853Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126313.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/hrms/security/advisories/GHSA-rh2j-fcxx-r67m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126313"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/frappe-hrms-16.0.0-before-16.20.1-authorization-bypass-via-employee-records"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe HRMS 16.0.0 before 16.20.1 Authorization Bypass via Employee Records"
}