CVE-2021-31559 in Splunk
A crafted request bypasses S2S TCP Token authentication writing arbitrary events to an index in Splunk Enterprise Indexer 8.1 versions before 8.1.5 and 8.2 versions before 8.2.1. The vulnerability impacts Indexers configured to use TCPTokens. It does not impact Universal Forwarders.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Splunk | Splunk | 8.2.0 ≥ 8.1.0, < 8.1.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A crafted request bypasses S2S TCP Token authentication writing arbitrary events to an index in Splunk Enterprise Indexer 8.1 versions before 8.1.5 and 8.2 versions before 8.2.1. The vulnerability impacts Indexers configured to use TCPTokens. It does not impact Universal Forwarders.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-31559 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-272613-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2022-05-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-288: CWE-288
Related attack patterns (CAPEC)
CAPEC-127 Directory Indexing via CWE-288
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-288
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Splunk Enterprise Indexer allows an attacker to bypass S2S TCP Token authentication and write arbitrary events to an index, impacting versions 8.1 before 8.1.5 and 8.2 before 8.2.1.
An attacker can craft a request that bypasses the S2S TCP Token authentication mechanism, enabling them to write arbitrary events to an index in the Splunk Enterprise Indexer.
Questions
What is CVE-2021-31559?
A vulnerability in Splunk Enterprise Indexer allows an attacker to bypass S2S TCP Token authentication and write arbitrary events to an index, impacting versions 8.1 before 8.1.5 and 8.2 before 8.2.1.
What is the CVSS score for CVE-2021-31559?
CVE-2021-31559 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.9%.
Is CVE-2021-31559 actively exploited?
No confirmed active exploitation of CVE-2021-31559 as of 2026-09-25.
How do I remediate CVE-2021-31559?
Priority: HIGH. Advisory: https://www.splunk.com/en_us/product-security/announcements/svd-2022-0503.html PSIRT: [email protected]
What systems are affected by CVE-2021-31559?
CVE-2021-31559 affects Splunk Splunk.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Splunk","product":"Splunk","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.