Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach readable collection query endpoint
-
DeliveryCraft malicious filter or join parameter
-
ExploitInject SQL into Postgres/SQLite adapter
-
ExecutionDatabase executes attacker-controlled query
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
An arbitrary file upload vulnerability in the file upload module of PayloadCMS v0.15.0 allows attackers to execute arbit
Prototype pollution in Payload CMS's @payloadcms/plugin-import-export module lets an unauthenticated remote attacker sub
Field-level access control can be bypassed in Payload CMS's document duplicate operation, letting a caller with access t
Duplicate order processing in @payloadcms/plugin-ecommerce allows remote, unauthenticated attackers to have a single Str
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
API key disclosure in Payload CMS lets an authenticated user with ordinary read access to other users' authentication do
Authenticated users who can update an auth collection document in Payload CMS can change the password field on that docu
Payload CMS versions before 3.90.0 and canary versions before 4.0.0-canary.34 contain an authorization bypass in relatio
Unauthorized read access to stored form submissions and form email configuration in Payload CMS deployments running the
Payload CMS releases before 3.90.0 (and canary builds before 4.0.0-canary.34) expose an orderable reorder endpoint that
Payload CMS prior to 3.73.0 has a SQL injection vulnerability when querying structured data, enabling database compromis
Payload CMS (npm package `payload`) versions 3.0.0 through 3.89.x and 4.0.0-canary builds before canary.34 hash account
EUVD-2026-93471
GHSA-v49j-62m6-pgrr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB