Proof-of-concept exploit for CVE-2026-20253, enabling unauthenticated remote code execution on vulnerable Splunk Enterprise instances via file write primitive and PostgreSQL-based payload delivery.
This repository contains a functional Proof of Concept (PoC) for the vulnerability CVE-2026-20253, which affects Splunk Enterprise in specific versions. The vulnerability allows an unauthenticated attacker to:
splunk userTechnical research was conducted by watchTowr Labs and the vulnerability was reported by Alex Hordijk (hordalex).
| Field | Value |
|---|---|
| CVE ID | CVE-2026-20253 |
| CVSS Score | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CWE | CWE-306 - Missing Authentication for Critical Function |
| Publication Date | 2026-06-10 |
| Added to KEV | 2026-06-18 |
| Product | Affected Versions | Fixed Version |
|---|---|---|
| Splunk Enterprise | 10.0.0 - 10.0.6 | 10.0.7 |
| Splunk Enterprise | 10.2.0 - 10.2.3 | 10.2.4 |
| Splunk Enterprise | 10.4.0 and higher | Not affected |
| Splunk Enterprise | 9.4.x and earlier | Not affected |
✅ Vulnerability Detection - Checks if the target is vulnerable ✅ File Write Primitive - Creates/truncates arbitrary files ✅ Remote Code Execution - Executes commands on the target system ✅ Readable Results - Retrieves the output of executed commands ✅ Cleanup - Option to remove created artifacts
pip install requests
/backup endpoint is accessible without authentication./backup endpoint, the script creates empty files in any location on the system.pg_dump to create a malicious dump on the target systempg_restore to execute PL/pgSQL functions that write the payload