Skip to main content

Payload CMS CVE-2026-105845

| EUVDEUVD-2026-93471 CRITICAL
SQL Injection (CWE-89)
2026-10-06 GitHub_M GHSA-v49j-62m6-pgrr
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach readable collection query endpoint
  2. Delivery
    Craft malicious filter or join parameter
  3. Exploit
    Inject SQL into Postgres/SQLite adapter
  4. Execution
    Database executes attacker-controlled query
  5. Impact
    Exfiltrate or tamper with stored data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Payload instance uses the SQLite (@payloadcms/db-sqlite) or Postgres (@payloadcms/db-postgres) database adapter - MongoDB deployments are explicitly NOT affected - and that untrusted users can query readable collections while supplying dynamic query filters (where conditions) or join parameters. The limiting factor is read exposure: the attacker must be able to reach a collection whose access control permits the query, so if affected collections are locked down by Payload access control and untrusted users cannot pass dynamic filter/join parameters, exploitation is blocked (this is also the documented workaround). Affected versions are Payload 3.0.0 through before 3.88.0 and 4.0.0-canary.0 through before 4.0.0-canary.27.

Impact

This is a genuine high-priority issue, not a CVSS-inflated one. The provided CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N) scores 9.8 Critical and aligns with the vulnerability class: CWE-89 SQL injection reachable over the network with low complexity. The core risk signal is strong because the flaw sits in the data-access layer (SQLite and Postgres adapters) of a web-facing CMS, and injection is reachable through normal query features (dynamic filters and joins) rather than an obscure code path. However, several exploitation-probability signals are MISSING from the input: no EPSS score, no CISA KEV entry, and no POC/exploit artifact were provided - so there is no public exploit identified at time of analysis and no evidence of active exploitation. The PR:N (unauthenticated) rating should be qualified: the description requires an 'untrusted user who can query readable collections,' which is only equivalent to fully unauthenticated access when the affected collections are publicly readable; in deployments where read access is gated by Payload access control, some authentication or role is effectively required - verify against the actual collection access configuration. Net: treat as an urgent patch for any Payload deployment on the Postgres or SQLite adapter that exposes query-able collections to untrusted input; MongoDB deployments are explicitly not affected.

Exploit ScenarioDerived

An attacker interacts with a public or low-privilege API/GraphQL query endpoint of a Payload site backed by Postgres or SQLite and supplies a crafted dynamic filter (where clause) or join parameter whose value is concatenated into the underlying SQL. Because attack complexity is low (AC:L) and no user interaction is needed, the attacker iterates filter payloads to break out of the intended query and read or manipulate arbitrary database contents. No public exploit was provided in the input, so this scenario is inferred from the CWE-89 class and the CVSS network/low-complexity vector.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

SQL injection in Payload CMS 3.0.0 through before 3.88.0 (and 4.0.0-canary builds before 4.0.0-canary.27) allows remote attackers to inject arbitrary SQL when the instance runs the SQLite (@payloadcms/db-sqlite) or Postgres (@payloadcms/db-postgres) adapter and untrusted users can query readable collections while supplying dynamic filters or join parameters. MongoDB-backed deployments are explicitly not affected, and the practical blast radius is bounded by which collections are readable to the attacker - if access control blocks those queries or dynamic filter/join input is not accepted, exploitation is blocked (the vendor-documented workaround). Vendor patches ship in 3.88.0 and 4.0.0-canary.27; no public exploit code was identified at time of analysis, and our independent assessment rates this a genuine high-priority issue with read-confidentiality impact dominating (CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L) rather than the vendor-published 9.8.

RemediationAI

Upgrade the payload package to 3.88.0 or later on the 3.x line, or to 4.0.0-canary.27 or later on the canary line - vendor-released patches for CVE-2026-105845 - and redeploy so the patched query-path/sort validation is active (npm fixed versions: payload 3.88.0 and 4.0.0-canary.27; commit https://github.com/payloadcms/payload/commit/a742140ab4fca3160f7f83e9e7d996552ffc3b5a, advisory https://github.com/payloadcms/payload/security/advisories/GHSA-v49j-62m6-pgrr). If immediate upgrade is not possible, apply the documented workaround: reject or strip dynamic query filters (where clauses) and join parameters supplied by untrusted users, and tighten collection read access control so untrusted users cannot query affected collections; the trade-off is reduced API functionality - clients lose server-side filtering, sorting, and relational join queries on those collections, and overly restrictive read rules can break legitimate app features or GraphQL/REST consumers, so scope the restriction to untrusted roles rather than disabling filtering globally. Because the underlying weakness is missing validation of caller-supplied query paths, also treat any custom code or plugins that pass user input directly into Payload's where/sort/join options as untrusted and sanitize it, and consider temporarily placing the Payload API behind an authenticated reverse proxy or WAF rule that blocks anomalous filter/sort parameter payloads - noting such network-level controls are blast-radius reduction only, are easily bypassed by encoding variations, and do not substitute for the patch. Verified no public exploit code was identified at time of analysis, so prioritization can be driven by whether your deployment uses the SQLite/Postgres adapters and exposes readable collections to untrusted users rather than by active exploitation pressure.

Affected VersionsENISA

payload 3.0.0, < 3.88.0
payload 4.0.0-canary.0, < 4.0.0-canary.27

Affected Packages

npm payload fix: 3.88.0, 4.0.0-canary.27
euvd payload_4_0_0_canary_0 fix: 4.0.0-canary.27

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Payload is a free, open-source headless CMS written in TypeScript/Node.js that exposes collections and a query API; database access is abstracted through adapters, with @payloadcms/db-sqlite and @payloadcms/db-postgres translating Payload query objects - 'where' filters, sort directives, and relationship/join parameters - into SQL against SQLite or PostgreSQL. The root cause is CWE-89: query paths and sort fields supplied by callers reach the SQL builder without being validated against the collection schema and field-level access rules, so crafted filter, sort, or join values can be woven into the generated SQL statement instead of being treated as data. The upstream fix commit (a742140ab4fca3160f7f83e9e7d996552ffc3b5a) is consistent with that diagnosis: it introduces validateSortQuery in packages/payload/src/collections/operations/find.ts, findDistinct.ts, findVersions.ts, and update.ts, and adds query-path validation logic under packages/payload/src/database/queryValidation/ (validateQueryPaths.ts). The same commit also contains an unrelated change hardening example app redirect handling via getSafeRedirect, which is not part of this SQL injection issue. Only the SQL adapters are in scope; the MongoDB adapter does not build SQL and is unaffected.

Know when Payload gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.6 HIGH

Network-reachable injection via query filters with low complexity and no auth when collections are publicly readable (PR:N); full data read gives C:H, while write/DoS via the ORM query path is partial (I:L/A:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 17:04 EUVD
CVE Published
Oct 06, 2026 - 15:58 cve.org
CRITICAL 9.8

DescriptionCVE.org

Payload is a free and open source headless content management system. In versions from 3.0.0 before 3.88.0 and canary versions before 4.0.0-canary.27, an untrusted user who can query readable collections through dynamic filters or joins can submit a request that causes SQL injection in the SQLite and Postgres adapters. This issue is fixed in versions 3.88.0 and 4.0.0-canary.27.

Technical POC Analysis

Bug class: CWE-89, SQL injection.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A critical SQL injection flaw in Payload CMS (versions 3.0.0 up to but not including 3.88.0, plus 4.0.0-canary builds before 4.0.0-canary.27) allows an unauthenticated remote attacker to read confidential data from any collection that untrusted users are permitted to query, but only on instances running the SQLite or Postgres database adapter. MongoDB-backed deployments are explicitly unaffected, and the reachable data is bounded by existing access controls, so the exposure is primarily a confidentiality risk concentrated in content repositories holding customer, partner, or unreleased business information. Leadership should treat this as a high-priority remediation item because the fix requires an application upgrade and a review of who can query which collections.

Business Impact: High
Compensating Controls

No vendor-released patch was identified in our tracked patch status at time of analysis, although the vendor advisory names fix versions 3.88.0 and 4.0.0-canary.27, so those builds should be validated and applied as soon as obtainable. Interim mitigations are the vendor-documented workaround: restrict collection read access control so untrusted users cannot query readable collections, and do not accept dynamic filter or join parameters from untrusted input, which closes the injection path. MongoDB-backed deployments are unaffected and require only version hygiene, and exploitation is blocked wherever access control denies the query or dynamic filter/join input is not accepted. There is confirmed active exploitation status of no public exploit identified at time of analysis, and the vector is unauthenticated (CVSS PR:N).

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source headless CMS, common but not ubiquitous enterprise footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2022-27952 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of PayloadCMS v0.15.0 allows attackers to execute arbit

CVE-2026-105844 CRITICAL POC
9.3 Oct 06

Prototype pollution in Payload CMS's @payloadcms/plugin-import-export module lets an unauthenticated remote attacker sub

CVE-2026-105851 CRITICAL POC
9.3 Oct 06

Field-level access control can be bypassed in Payload CMS's document duplicate operation, letting a caller with access t

CVE-2026-105850 HIGH POC
8.8 Oct 06

Duplicate order processing in @payloadcms/plugin-ecommerce allows remote, unauthenticated attackers to have a single Str

CVE-2026-105854 HIGH POC
8.7 Oct 06

Malformed multipart request bodies sent to Payload CMS versions 3.0.0 through 3.89.x and 4.0.0-canary.0 through 4.0.0-ca

CVE-2026-105849 HIGH POC
7.7 Oct 06

API key disclosure in Payload CMS lets an authenticated user with ordinary read access to other users' authentication do

CVE-2026-105855 HIGH POC
7.6 Oct 06

Authenticated users who can update an auth collection document in Payload CMS can change the password field on that docu

CVE-2026-105852 MEDIUM POC
6.9 Oct 06

Payload CMS versions before 3.90.0 and canary versions before 4.0.0-canary.34 contain an authorization bypass in relatio

CVE-2026-105857 CRITICAL
10.0 Oct 06

Unauthorized read access to stored form submissions and form email configuration in Payload CMS deployments running the

CVE-2026-105859 CRITICAL
9.8 Oct 06

Payload CMS releases before 3.90.0 (and canary builds before 4.0.0-canary.34) expose an orderable reorder endpoint that

CVE-2026-25544 CRITICAL POC
9.8 Feb 06

Payload CMS prior to 3.73.0 has a SQL injection vulnerability when querying structured data, enabling database compromis

CVE-2026-105804 MEDIUM POC
5.7 Oct 06

Payload CMS (npm package `payload`) versions 3.0.0 through 3.89.x and 4.0.0-canary builds before canary.34 hash account

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy