The vulnerability, CVE-2026-105859, describes an unauthorized update to collection documents when orderable: true is configured. The provided commit 36fa9af73dd04fa59f4b4a06d11454538c4c1409 directly addresses this by modifying the packages/payload/src/config/orderable/index.ts file. The core of the vulnerability lies within the addOrderableEndpoint function, which is responsible for handling the reordering of documents. In the vulnerable version, the access control check (executeAccess) was only applied to the first document (docsToMove[0]) in a batch reorder operation, if collection.access?.update was configured. This allowed an attacker to include unauthorized documents in the docsToMove array, and these documents would be updated without proper access validation. The patch removes this insufficient check and introduces a new, more robust assertUpdateAccess function. This new function explicitly iterates over all documents intended for update and performs individual access checks for each. The assertUpdateAccess function is then called at multiple points within addOrderableEndpoint to ensure comprehensive access control before any document updates are committed. Therefore, addOrderableEndpoint is identified as the vulnerable function because it previously contained the flawed logic that led to the access control bypass. Exploitation would involve sending a request to the endpoint handled by addOrderableEndpoint with multiple documents, where only the first document satisfies access control, allowing the others to be updated without authorization.