Threat reportVulnerabilityTL-2026-3399
CVE-2026-63316: SQL Injection in Payload CMS via in/not_in query parameters
CERT Polska disclosed a SQL injection flaw (CWE-89) in Payload CMS where user input in the `in` and `not_in` query parameters is not properly neutralized, letting an authenticated attacker inject SQL. Versions before 3.90.0 and 4.0.0-canary.0 through 4.0.0-canary.34 are affected; no exploitation, PoC or CVSS score has been published.
Key facts
| Identifiers | TL-2026-3399, CVE-2026-63316, CVE-2026-105856, CVE-2026-105845 |
|---|---|
| Severity | MEDIUM |
| EPSS | CVE-2026-105845: 0.3% (32.2th percentile); CVE-2026-105856: 0.2% (22.0th percentile); CVE-2026-63316: 0.2% (17.6th percentile) |
| Affected products | Payload Payload CMS |
| Weaknesses (CWE) | CWE-89 |
| Malware | payload |
| MITRE ATT&CK techniques | T1078 Valid Accounts, T1190 Exploit Public-Facing Application, T1213 Data from Information Repositories, T1565.001 Stored Data Manipulation |
| Motivation | UNKNOWN |
| Target sectors | technology, news - media, ecommerce, government administration |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-10-13, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3399 across Splunk SPL, Microsoft KQL and Sigma, covering 9 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Payload CMS Credential Guessing, Valid Login, then in/not_in Server-Error Burst (CVE-2026-63316)
Correlates, per source, a successful Payload auth-collection login (POST /api/<collection>/login returning 200) with three or more HTTP 5xx responses to where[field][in]/[not_in] requests, and flags whether five or more failed logins (401/403) preceded it. CVE-2026-63316 requires an authenticated attacker, so the chain is credential guessing or stuffing (T1110.004), use of a valid account (T1078), then error-based probing of the vulnerable query path (T1190). The research lists database 5xx or SQL syntax errors following in/not_in requests as an injection-probing indicator.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1110.004, T1078, T1190
- Data sources: index=web sourcetype=access_combined, index=web sourcetype=nginx:plus:access, index=web sourcetype=apache:access
- Severity: medium
- Confidence: medium
Splunk SPL
index=web sourcetype IN ("access_combined","nginx:plus:access","apache:access") uri_path="/api/*" | eval q=urldecode(uri_query), method=upper(coalesce(method,http_method)) | eval evt=case(method="POST" AND match(uri_path,"^/api/[^/]+/login$") AND status=200,"login_ok", method="POST" AND match(uri_path,"^/api/[^/]+/login$") AND (status=401 OR status=403),"login_fail", match(q,"(?i)\x5b(not_in|in)\x5d=") AND status>=500,"in_op_error") | where isnotnull(evt) | stats count(eval(evt="login_fail")) as login_failures count(eval(evt="login_ok")) as logins count(eval(evt="in_op_error")) as in_op_errors values(uri_path) as paths min(_time) as first_seen max(_time) as last_seen by src_ip host | where logins>=1 AND in_op_errors>=3 | eval credential_guessing=if(login_failures>=5,"yes","no"), first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T")Microsoft KQL
let opCtx = @"(?i)\[(not_in|in)\]=";
let errs = AppServiceHTTPLogs
| where TimeGenerated > ago(24h)
| where CsUriStem startswith "/api/"
| extend DecodedQuery = url_decode(CsUriQuery)
| where DecodedQuery matches regex opCtx and ScStatus >= 500
| summarize ErrCount = count(), FirstErr = min(TimeGenerated), LastErr = max(TimeGenerated), Paths = make_set(CsUriStem, 20), SampleQueries = make_set(substring(DecodedQuery, 0, 200), 5) by CIp;
let logins = AppServiceHTTPLogs
| where TimeGenerated > ago(24h)
| where CsMethod == "POST" and CsUriStem matches regex @"^/api/[^/]+/login$" and ScStatus == 200
| summarize LoginTime = min(TimeGenerated), Users = make_set(CsUsername, 10) by CIp;
let failures = AppServiceHTTPLogs
| where TimeGenerated > ago(24h)
| where CsMethod == "POST" and CsUriStem matches regex @"^/api/[^/]+/login$" and ScStatus in (401, 403)
| summarize LoginFailures = count() by CIp;
errs
| where ErrCount >= 3
| join kind=inner logins on CIp
| where FirstErr >= LoginTime
| join kind=leftouter failures on CIp
| extend LoginFailures = coalesce(LoginFailures, 0), CredentialGuessing = coalesce(LoginFailures, 0) >= 5
| project CIp, LoginFailures, CredentialGuessing, LoginTime, FirstErr, LastErr, ErrCount, Users, Paths, SampleQueriesSigma
title: Payload CMS API Server Error on in/not_in Where Operator
id: 2b9e6d14-5a37-4c80-b1f3-9d6e4a8c7f25
name: payload_in_operator_server_error
status: experimental
description: Detects an HTTP 5xx response to a Payload CMS REST request that uses the where[field][in] or [not_in] operator, which can indicate SQL injection probing against CVE-2026-63316. Intended as the base rule for the correlation below.
references:
- https://cert.pl/en/posts/2026/10/CVE-2026-63316/
author: Threadlinqs Team
date: 2026-10-13
tags:
- attack.initial-access
- attack.t1190
- cve.2026.63316
logsource:
category: webserver
detection:
selection_path:
cs-uri-stem|startswith: '/api/'
selection_operator:
cs-uri-query|contains:
- '[in]='
- '[not_in]='
- '%5Bin%5D='
- '%5Bnot_in%5D='
selection_status:
sc-status|gte: 500
condition: all of selection_*
falsepositives:
- Application bugs or database outages that return 5xx on filtered list requests
level: low
---
title: Payload CMS Repeated in/not_in Server Errors From One Source (CVE-2026-63316)
id: e4a8d3c7-1b62-4f95-8a0d-5c7b2e9f1a36
status: experimental
description: Three or more server errors on in/not_in where-operator requests from the same client within 10 minutes, consistent with an authenticated user probing Payload CMS for SQL injection (CVE-2026-63316).
references:
- https://cert.pl/en/posts/2026/10/CVE-2026-63316/
author: Threadlinqs Team
date: 2026-10-13
tags:
- attack.initial-access
- attack.privilege-escalation
- attack.t1078
- attack.t1190
- cve.2026.63316
correlation:
type: event_count
rules:
- payload_in_operator_server_error
group-by:
- c-ip
timespan: 10m
condition:
gte: 3
falsepositives:
- Sustained backend outage affecting list queries
level: medium
---
title: Payload CMS Failed Auth-Collection Login
id: 3f7d0a68-b2c5-4e19-86a4-0d9e1c5b7a32
name: payload_login_failure
status: experimental
description: Failed (401/403) POST to a Payload CMS auth-collection login route. Base rule for credential-guessing correlation ahead of authenticated exploitation of CVE-2026-63316.
references:
- https://cert.pl/en/posts/2026/10/CVE-2026-63316/
author: Threadlinqs Team
date: 2026-10-13
tags:
- attack.credential-access
- attack.t1110.004
- cve.2026.63316
logsource:
category: webserver
detection:
selection:
cs-method: 'POST'
cs-uri-stem|re: '^/api/[^/]+/login$'
sc-status:
- 401
- 403
condition: selection
falsepositives:
- Users mistyping passwords
level: informational
---
title: Payload CMS Credential Guessing Burst Against Login Route (CVE-2026-63316 Precursor)
id: 8e1b4c93-5d07-4a2f-9b68-c3f0a7d12e54
status: experimental
description: Ten or more failed Payload CMS logins from one client within 10 minutes. CVE-2026-63316 needs an authenticated attacker, so credential stuffing or guessing is a plausible precursor to valid-account use.
references:
- https://cert.pl/en/posts/2026/10/CVE-2026-63316/
author: Threadlinqs Team
date: 2026-10-13
tags:
- attack.credential-access
- attack.t1110.004
- attack.initial-access
- attack.t1078
- cve.2026.63316
correlation:
type: event_count
rules:
- payload_login_failure
group-by:
- c-ip
timespan: 10m
condition:
gte: 10
falsepositives:
- Shared NAT egress with many users mistyping passwords
- Monitoring probes using stale credentials
level: mediumKnown false positives:
- Backend or database outage producing 5xx on list queries from a legitimate logged-in editor
- Shared NAT egress IP where one user logs in and another triggers application errors
- Application bugs on filtered list views after a deployment
Tuning notes: Tune the error threshold (3), the failure threshold (5) and the window to your traffic; exclude health checks and known monitoring IPs. If the app sits behind a proxy, use the real client address (X-Forwarded-For field) as src_ip. The login regex matches any /api/<slug>/login path, so it covers custom auth collections; adjust it if you front auth separately. Payload returns 401 for bad credentials by default; add 429 if you rate-limit logins.
- [indicator] CMS SQL Injection Syntax in in/not_in Operator - Azure App Service (CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS Credential Guessing, Login, then in/not_in Server Errors - Azure App Service (CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS Bulk Collection, Write-by-Where and Account Tampering - Application Gateway (CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS SQL Injection Probe in in/not_in Where Operator (Sigma, CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS Login Guessing and Repeated in/not_in Server Errors (Sigma correlation, CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS Schema Enumeration, Write Method or Users Write With SQL Tokens (Sigma, CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS SQL Injection Metacharacters in in/not_in Where Operator (CVE-2026-63316) · unlock with TL Creds
- [indicator] CMS Bulk Collection, Write-by-Where and Account Tampering via in/not_in (CVE-2026-63316) · unlock with TL Creds
Indicators of compromise
As of 2026-10-13, Threadlinqs Intelligence tracks 9 indicators of compromise for TL-2026-3399.
Technical analysis
CVE-2026-63316 is a SQL injection vulnerability (CWE-89) in Payload CMS, a Node.js/TypeScript headless CMS. The CERT Polska advisory (published 2026-10-13) states that improper neutralization of input supplied in the `in` and `not_in` query parameters allows an authenticated attacker to perform SQL injection attacks. The reporter, 0xMesbaha, disclosed it through the CERT Polska Coordinated Vulnerability Disclosure program.
Payload documents `in` and `not_in` as where-clause operators that take a comma-delimited list of values. In REST they are expressed as `where[field][in]=a,b,c` and `where[field][not_in]=a,b,c`. The advisory identifies these operators as the injection point. It does not describe the exploit mechanics, the affected database adapters, or the privileges the authenticated attacker needs beyond being authenticated.
Affected: all Payload versions before 3.90.0, and 4.0.0-canary.0 through 4.0.0-canary.34. Fixed: 3.90.0 and 4.0.0-canary.34. The advisory lists 4.0.0-canary.34 as both affected and fixed; this inconsistency is unresolved in the source, so defenders should move to a canary build later than .34 or to 3.90.0 or later. The upstream v3.90.0 release notes (2026-09-18) say the release contains a set of critical security fixes but intentionally omit exploit details, so the fix for this CVE cannot be matched to a specific change from public sources.
The source provides no CVSS score, no exploitation status, no PoC and no IOCs. The MEDIUM severity is a provisional analyst placeholder, not a source-stated value. Payload has had other SQL injection issues in 2026 (for example CVE-2026-105845, fixed in 3.88.0 and 4.0.0-canary.27, reported with CVSS 9.8 by a third-party aggregator), which indicates the query-building layer is a recurring weak point. That is context only; those are separate CVEs and are not evidence about this one. Defenders should not assume active exploitation.
MITRE ATT&CK techniques by tactic:
Initial Access
T1078 Valid Accounts; T1190 Exploit Public-Facing Application
Privilege Escalation
Collection
T1213 Data from Information Repositories
Impact
Remediation
Patches
- Upgrade Payload to 3.90.0 or later
- For the 4.x canary line, move to a build later than 4.0.0-canary.34 because the advisory lists .34 as both affected and fixed
Immediate actions
- Inventory Payload CMS deployments (npm package `payload`) and identify any running a version before 3.90.0 or 4.0.0-canary.0 through 4.0.0-canary.34
- Review web/API access logs for requests to Payload REST and GraphQL endpoints with SQL metacharacters in where[...][in] or where[...][not_in] values
- Review which accounts hold authenticated access to Payload APIs and remove unused or untrusted accounts
Workarounds
- No vendor workaround is stated in the advisory; restrict API access to trusted authenticated users until patched
Longer-term hardening
- Place a WAF with SQL injection rules in front of Payload API routes
- Run the application database user with least privilege so injected queries have limited reach
- Track Payload GitHub security advisories and release notes, since upstream releases have bundled several security fixes
Affected and fixed versions
- Payload — Payload CMS
Vulnerable versions: all versions before 3.90.0; 4.0.0-canary.0 through 4.0.0-canary.34
Fixed in: 3.90.0; 4.0.0-canary.34 (listed by the advisory as both affected and fixed; unresolved)
Timeline
- Separate Payload SQL injection CVE-2026-105845 published, fixed in 3.88.0 and 4.0.0-canary.27 (context only; not this CVE)
- Separate Payload SQL injection CVE-2026-105856 (GHSA-pj7x-6wpf-pgvp, CVSS 8.6) disclosed for db-sqlite/db-postgres adapters via json/blocksAsJSON field paths; SQLite adapters fixed in 3.90.0 and 4.0.0-canary.34 (context only; not stated to be this CVE)
- Payload v3.90.0 released with a set of security fixes whose details are intentionally omitted from the release notes; the advisory lists 3.90.0 as fixed for CVE-2026-63316
- Threadlinqs opens tracking; no exploitation, PoC or IOCs are reported, and NVD returned no data for the CVE at time of research
- CVE-2026-63316 record published; no CVSS score is stated in the CERT Polska advisory
- CERT Polska publishes the advisory for CVE-2026-63316, crediting 0xMesbaha
Sources cited
- CERT Polska: Vulnerability in Payload CMS software (CVE-2026-63316) cert.pl · Advisory · 2026-10-13
- CVE Record: CVE-2026-63316 CVE Program · Advisory · 2026-10-13
- CERT Polska Coordinated Vulnerability Disclosure program cert.pl · Advisory
- Payload CMS documentation: Query operators (in, not_in) payloadcms.com · Vendor report
- Vulert: CVE-2026-105856 SQL Injection in @payloadcms/db-sqlite and db-postgres (related, separate CVE) vulert.com · Research · 2026-07-10
- Vulert: CVE-2026-105845 SQL Injection in Payload (related, separate CVE) vulert.com · Research · 2026-06-10
- Payload CMS v3.90.0 release notes GitHub · Code repository · 2026-09-18
- Payload CMS GitHub security advisories GitHub · Code repository
Previous and next in vulnerability
- Critical Ghostscript Heap Buffer Overflow in JPEG 2000 Output Adapter Enables RCE via Malicious PDFs (CVE-2026-39919) Previous report
- Progress MarkLogic Server: 31 Vulnerabilities (CVE-2026-9191, CVE-2026-85947 through CVE-2026-85976) Enabling Privilege Escalation, Code Execution and Authentication Bypass Next report
AI-drafted from 8 cited sources; published ; last updated —.