NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-105859: Payload: Unauthorized update to collection documents

criticalCVSS 3.1 9.8GHSA-f7hx-52q9-hcrf

Payload CMS (npm package payload) has a missing-authorization flaw in the endpoint behind `orderable: true`. A remote, unauthenticated attacker can update collection documents and bypass both collection and field-level access control. Only projects that set `orderable: true` on a collection or join field are affected. Upgrade to 3.90.0 or 4.0.0-canary.34.

Published Oct 7, 2026 · Analysis Oct 25, 2026

What an attacker can do

Payload's orderable option adds an endpoint that moves documents to a new position in a sorted collection. That endpoint, addOrderableEndpoint, ran the collection's update access check only once, against the first document in the batch, with empty data. It then wrote the order change without enforcing access on the update itself. A request to this endpoint could therefore change documents the caller has no right to edit, including documents that the update rule protects.

The advisory rates this 9.8: network reachable, no privileges, no user interaction. In practice, anyone who can reach your Payload API can modify content in an orderable collection. That includes published pages, product listings or any collection that drives a site. The advisory describes updates to collection documents. It does not describe reading data or running code.

Who is affected

Affected: payload below 3.90.0, and 4.0.0-canary.0 up to but not including 4.0.0-canary.34. Your project is exposed only if a collection or join field sets orderable: true. Search your config for that string.

Check the installed version:

npm ls payload

Check all other @payloadcms/* packages too, since they are released in step with the core.

payload

Ecosystem
npm
Affected
< 3.90.0
Fixed in
3.90.0
Check
npm ls payload

payload

Ecosystem
npm
Affected
>= 4.0.0-canary.0, < 4.0.0-canary.34
Fixed in
4.0.0-canary.34
Check
npm ls payload

How to fix it

Upgrade payload to 3.90.0, or to 4.0.0-canary.34 on the v4 canary line. Upgrade the other Payload packages to the same version.

npm install [email protected]

The fix (commit 36fa9af) runs the collection's access.update for every affected document with its proposed order value, rejects the request with Forbidden if no document matches, and passes overrideAccess: false to the update calls. The advisory lists no workaround. Removing orderable: true is a stopgap that follows from the affected-configuration condition, not a vendor recommendation.

How to tell if you were hit

Look in your request logs for calls to the orderable reorder endpoint on collections you configured with orderable: true, especially from unauthenticated sessions or from users who lack update rights. Then compare the order field values of documents that your access.update rules protect against a known-good backup or version history. Unexpected order changes on protected documents point to abuse. The advisory publishes no exploit indicators.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

An attacker can submit a request to a specific endpoint that permits collection documents to be updated regardless of access control and field level access control.

You are affected if:

  • You are configuring orderable: true with any collection or join field.

Patches

In the patched version access control is properly enforced.

Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.

Credited to Zerotistic.

Questions

Am I affected if I don't use orderable?

No. The advisory says you are affected only if you configure orderable: true on a collection or join field. Projects without that option do not expose the endpoint.

Does CVE-2026-105859 need authentication?

The CVSS vector says no privileges and no user interaction are required (AV:N/PR:N). The advisory describes the bypass as working regardless of access control.

Is this exploited in the wild?

No source reports exploitation. It is not in CISA's KEV catalog, and EPSS is low (0.0035). Treat it as urgent anyway if you use orderable, given the 9.8 score.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More npm vulnerabilities

All npm entries