Frappe does not consistently enforce the linked DocType's own permissions when a record is retrieved through the REST API. When one document references another through a Link field, fields from the linked record may be returned even though the user lacks direct permission to access that DocType. The supported preconditions are a low-privileged authenticated account and network access to the REST API; interaction from another user is not required. This is CWE-863: Incorrect Authorization, because the access-control boundary for the requested document is not consistently applied to the referenced document. The available evidence does not identify a specific endpoint, parameter, or payload, and does not establish that every query type or deployment configuration is affected.