Skip to navigation

Threat reportVulnerabilityTL-2026-4182

Splunk Enterprise Patroni REST API Missing Authentication Leads to Unauthenticated OS Command Execution (CVE-2026-76268)

criticalACTIVE

CVE-2026-76268 is a missing-authentication flaw (CWE-306, CVSS 9.8) in the Patroni REST API of the PostgreSQL sidecar in Splunk Enterprise 10.4.0-10.4.2 and 10.2.0-10.2.6. An unauthenticated attacker with network access to a search head cluster member can execute attacker-controlled OS commands.

Key facts

IdentifiersTL-2026-4182, CVE-2026-76268
Also known asSVD-2026-1001, Splunk Patroni REST API RCE
SeverityCRITICAL
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
EPSSCVE-2026-76268: 0.4% (32.1th percentile)
Affected productsSplunk Splunk Enterprise (search head cluster members, PostgreSQL sidecar / Patroni)
Weaknesses (CWE)CWE-306
Toolsmurrez/CVE-2026-76268 PoC (Python, requests/urllib3)
MITRE ATT&CK techniquesT1046 Network Service Discovery, T1059.004 Unix Shell, T1190 Exploit Public-Facing Application, T1588.005 Exploits, T1595.002 Vulnerability Scanning
MotivationUNKNOWN
Target sectorsenterprise
Target regionsGlobal
Detection rules9 (1 shown free)
Sources8 cited sources

Detection coverage

As of 2026-10-22, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4182 across Splunk SPL, Microsoft KQL and Sigma, covering 7 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: CVE-2026-76268 Shell Or Interpreter Spawned By Splunk PostgreSQL Sidecar Archiver

Detects a shell, downloader or interpreter started as a child of the Splunk PostgreSQL sidecar postgres process (archiver). This is where archive_command runs the attacker command about 3 seconds after the restart in CVE-2026-76268.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1059.004, T1552.001, T1070.004
  • Data sources: sysmon:linux, DeviceProcessEvents, linux process_creation
  • Severity: critical
  • Confidence: high

Splunk SPL

index=linux sourcetype="sysmon:linux" EventCode=1 ```TL-2026-4182 CVE-2026-76268 archive_command execution spawning a shell from the Splunk PostgreSQL sidecar```
ParentImage="*/postgres" (ParentImage="*splunk*" OR ParentCommandLine="*archiver*")
(Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/curl" OR Image="*/wget" OR Image="*/nc" OR Image="*/ncat" OR Image="*/python3" OR Image="*/perl")
| eval payload_indicator=if(match(CommandLine, "curl|wget|/dev/tcp|ncat|bash -i|base64|POCBIT|/tmp/"), 1, 0), cred_access=if(match(CommandLine, "splunk\.secret|etc/auth|/etc/shadow|/etc/passwd|\.pgpass|server\.conf"), 1, 0), log_tamper=if(match(CommandLine, "(rm|truncate|shred|unlink)\s.*(var/log|var/lib/splunk)|>\s*/var/log"), 1, 0)
| where payload_indicator=1 OR cred_access=1 OR log_tamper=1 OR match(Image, "/(curl|wget|nc|ncat|python3|perl)$")
| stats count min(_time) as first_seen values(CommandLine) as command_lines values(User) as users max(cred_access) as cred_access max(log_tamper) as log_tamper by host, ParentImage, ParentCommandLine, Image
| convert ctime(first_seen)

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where (InitiatingProcessFileName in~ ("postgres", "postgres.bin") and InitiatingProcessFolderPath has "splunk") or InitiatingProcessCommandLine has "postgres: archiver"
| where FileName in~ ("sh", "bash", "dash", "curl", "wget", "nc", "ncat", "python3", "perl")
| extend CredAccess = ProcessCommandLine matches regex @"splunk\.secret|etc/auth|/etc/shadow|/etc/passwd|\.pgpass|server\.conf", LogTamper = ProcessCommandLine matches regex @"(rm|truncate|shred|unlink)\s.*(var/log|var/lib/splunk)|>\s*/var/log"
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, FileName, ProcessCommandLine, CredAccess, LogTamper

Sigma

title: Shell Or Interpreter Spawned By Splunk PostgreSQL Sidecar
id: 7c1e4a52-3b8d-4f6a-9e21-5d0a8c3b1f06
status: experimental
description: Detects a shell, downloader or interpreter started by the Splunk PostgreSQL sidecar postgres process, the execution point of archive_command in CVE-2026-76268.
references:
  - https://advisory.splunk.com/advisories/SVD-2026-1001
  - https://horizon3.ai/attack-research/vulnerabilities/cve-2026-76268/
  - https://github.com/murrez/CVE-2026-76268
author: Threadlinqs Team
date: 2026-10-22
tags:
  - attack.execution
  - attack.t1059.004
  - attack.initial-access
  - attack.t1190
  - attack.credential-access
  - attack.t1552.001
  - attack.defense-evasion
  - attack.t1070.004
  - cve.2026-76268
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith: '/postgres'
    ParentImage|contains: 'splunk'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/curl'
      - '/wget'
      - '/nc'
      - '/ncat'
      - '/python3'
      - '/perl'
  selection_cred:
    CommandLine|contains:
      - 'splunk.secret'
      - 'etc/auth'
      - '/etc/shadow'
      - '.pgpass'
  selection_tamper:
    CommandLine|contains:
      - 'rm -f /opt/splunk/var/log'
      - 'truncate -s 0 /opt/splunk/var/log'
      - '> /var/log'
  condition: selection_parent and (selection_child or selection_cred or selection_tamper)
falsepositives:
  - Legitimate WAL archiving where archive_command is a sh -c wrapper around cp or a backup tool
level: high

Known false positives:

  • Legitimate WAL archiving where archive_command runs through sh -c with cp or a backup tool
  • Administrative maintenance executed under the sidecar postgres user

Tuning notes: Baseline the real archive_command in use and exclude its exact command line. The sidecar postgres binary path varies by install; adjust the ParentImage filter to your $SPLUNK_HOME layout. Without Sysmon for Linux use auditd execve records with ppid and pcomm.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • CVE-2026-76268 Patroni Config Patch Followed By Restart (Exploit Sequence) · unlock with TL Creds
  • CVE-2026-76268 Download Or Reverse-Shell Staging From Splunk PostgreSQL Sidecar · unlock with TL Creds
  • CVE-2026-76268 Sweep Of Patroni Candidate Ports 8008 8009 8010 18008 · unlock with TL Creds
  • CVE-2026-76268 Patroni Log Shows archive_command Or Archive Mode Changed · unlock with TL Creds
  • CVE-2026-76268 PoC Marker [indicator] Created Or Referenced · unlock with TL Creds
  • CVE-2026-76268 PoC Repository Or Out-Of-Band Callback Reference In Network Telemetry · unlock with TL Creds
  • CVE-2026-76268 Splunk Patroni Unauthenticated PATCH /config archive_command Injection · unlock with TL Creds
  • CVE-2026-76268 Patroni GET /patroni Fingerprinting Sweep · unlock with TL Creds

Indicators of compromise

As of 2026-10-22, Threadlinqs Intelligence tracks 7 indicators of compromise for TL-2026-4182.

Sample indicators (2 of 7)

  • Domain: pocbit[.]org
  • URL: hxxps://github[.]com/murrez/CVE-2026-76268

Defanged, TLP:CLEAR. Full set of 7 indicators: unlock with TL Creds.

7 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

A public PoC exists on GitHub; Splunk reports no in-the-wild exploitation.

Splunk advisory SVD-2026-1001 (published 2026-10-07) describes a missing authentication check on critical configuration operations exposed by the Patroni REST API. Patroni is an open-source high-availability manager for PostgreSQL. In Splunk Enterprise 10.x it runs in the PostgreSQL sidecar on search head cluster (SHC) members. An unauthenticated user with network access to that API can execute attacker-controlled operating-system commands on the member. Horizon3.ai notes that internet exposure is not required; reachability from an internal network is enough.

Affected versions for this CVE are Splunk Enterprise 10.4.0 through 10.4.2 and 10.2.0 through 10.2.6. Fixes are 10.4.3 and 10.2.7. Horizon3.ai and secondary reporting state that the 10.0.x and 9.4.x branches are not affected by this CVE. The SVD-2026-1001 advisory covers 17 CVEs and lists 10.0.10 and 9.4.15 as fixed versions for other issues in the bundle. Splunk does not document a fixed port: its example configuration uses a port, but the IPC Broker assigns a random available port when no service address is configured, so defenders should not check only TCP 8008.

A public PoC (github.com/murrez/CVE-2026-76268, Python with requests/urllib3) shows the mechanism. Per an automated read of the repository, which was not independently verified, it fingerprints Patroni with GET /patroni and sends an unauthenticated PATCH /config that sets PostgreSQL dynamic parameters. These include archive_command, wal_level=replica, archive_mode=always and archive_timeout=1. It then sends POST /restart so PostgreSQL applies the configuration, and archive_command runs a shell command on the next WAL archival cycle, about 3 seconds later. The PoC's default proof command writes /tmp/POCBIT-76268-OK, and it can verify execution via an out-of-band callback. It has check, exploit and mass (threaded) modes. Preconditions per the PoC are that the target is an SHC member, the [postgres] sidecar is enabled, and the Patroni port is reachable. A SIEM host compromise can expose ingested data and credentials and allow tampering with logs, which raises the priority of this flaw.

Splunk reports no exploitation at advisory time and the CVE was not listed in CISA KEV in the sources reviewed. No threat actor, malware family or network infrastructure has been associated with the flaw. Mitigation is to upgrade. If Edge Processor, OpAmp and SPL2 data pipelines are unused, set disabled = true under [postgres] in $SPLUNK_HOME/etc/system/local/server.conf and restart. Also restrict access to the Patroni listener to cluster members only.

MITRE ATT&CK techniques by tactic:

Discovery

T1046 Network Service Discovery

Execution

T1059.004 Unix Shell

Initial Access

T1190 Exploit Public-Facing Application

Resource Development

T1588.005 Exploits

Reconnaissance

T1595.002 Vulnerability Scanning

Remediation

Patches

  • Splunk Enterprise 10.4.3
  • Splunk Enterprise 10.2.7

Immediate actions

  • Upgrade Splunk Enterprise to 10.4.3 or later (10.4 branch) or 10.2.7 or later (10.2 branch)
  • Restrict network access to the Patroni REST API listener on search head cluster members to authorized cluster nodes only; identify the real port from configuration (postgres:patroni address / IPC Broker) rather than assuming TCP 8008
  • Hunt for unauthenticated PATCH /config and POST /restart requests to the Patroni listener and for unexpected archive_command values in the Patroni dynamic configuration

Workarounds

  • If Edge Processor, OpAmp and SPL2 data pipelines are unused, set [postgres] disabled = true in $SPLUNK_HOME/etc/system/local/server.conf and restart Splunk Enterprise

Longer-term hardening

  • Segment search head cluster management and sidecar interfaces from user and server networks
  • Monitor changes to server.conf [postgres] and PostgreSQL dynamic parameters
  • Alert on shell child processes of the PostgreSQL sidecar

Affected and fixed versions

  • Splunk — Splunk Enterprise (search head cluster members, PostgreSQL sidecar / Patroni)
    Vulnerable versions: 10.4.0-10.4.2; 10.2.0-10.2.6
    Fixed in: 10.4.3; 10.2.7

Timeline

  • Horizon3.ai publishes analysis and develops a NodeZero Rapid Response test; its article references a public PoC on GitHub.
  • At advisory time Splunk reports no in-the-wild exploitation; the CVE is not listed in CISA KEV in sources reviewed.
  • Splunk Enterprise 10.4.3 and 10.2.7 released as fixed versions for CVE-2026-76268.
  • CVE-2026-76268 record created and published (CWE-306, Patroni REST API).
  • Splunk publishes advisory SVD-2026-1001 (17 CVEs); CVE-2026-76268 is rated Critical, CVSS 9.8.
  • Pentest-Tools adds a network-scanner detection for the Patroni REST API missing-authentication RCE.

Sources cited

Other reports on CVE-2026-76268

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats