ZeroHour
The Hacker Newspublished ()ingested @TheHackersNews

Critical Splunk Enterprise Flaw Lets Attackers Run Code Without Authentication

criticalExploit / PoC exploited in the wildimportance 60CVE-2026-20253

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2026-20253
Unauthenticated RCE in Splunk Enterprise via PostgreSQL sidecar endpoint

CVE-2026-20253 is a critical (CVSS 9.8) missing-authentication flaw (CWE-306) in the PostgreSQL sidecar service endpoint of Splunk Enterprise, which lacks authentication controls. Any unauthenticated user who can reach the endpoint over the network can invoke file operations without credentials, creating or truncating arbitrary files on the host; public research (watchTowr) and news coverage describe this leading to pre-authentication remote code execution. The flaw affects Splunk Enterprise 10.2 versions below 10.2.4 and 10 versions below 10.0.7, while versions 9.4 and earlier are not affected. Exploitation is confirmed: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-06-18, media reports indicate it is under active attack, and EPSS assigns a 96.9% probability of exploitation within 30 days.

Do: Upgrade to Splunk Enterprise 10.2.4 (10.2 track) or 10.0.7 (10 track) or later; Splunk Enterprise 9.4 and earlier are unaffected. If you cannot upgrade immediately, disable the PostgreSQL sidecar service per vendor guidance and ensure the endpoint is not reachable from untrusted networks. As a KEV entry, federal agencies must apply vendor mitigations in line with BOD 26-04 by the CISA deadline; audit whether the PostgreSQL sidecar service is enabled and whether it is exposed to the internet.

9.897% KEV PoC
  • Splunk (Cisco) Splunk Enterprise 10.2 versions below 10.2.4 and 10 versions below 10.0.7 (versions 9.4 and earlier are not affected)
largeTens of thousands of internet-exposed Splunk Enterprise instances, though only 10.x deployments with the sidecar service are vulnerable
Full article641 words · extracted from thehackernews.com · click to collapse

Ravie LakshmananJun 13, 2026Vulnerability / Enterprise Software

Splunk has released security updates to address a critical security flaw in Splunk Enterprise that could be exploited to conduct unauthenticated file operations and even remote code execution.

The vulnerability, tracked as CVE-2026-20253, is rated 9.8 on the CVSS scoring system.

"In Splunk Enterprise versions below 10.2.4 and 10.0.7, an unauthenticated user could create or truncate arbitrary files through a PostgreSQL sidecar service endpoint," Splunk said in an alert this week.

"The vulnerability exists because the PostgreSQL sidecar service endpoint lacks authentication controls, allowing any network-reachable user to invoke file operations without credentials."

The issue has been addressed in the following versions -

  • Splunk Enterprise 10.0.0 to 10.0.6 - Fixed in 10.0.7
  • Splunk Enterprise 10.2.0 to 10.2.3 - Fixed in 10.2.4
  • Splunk Enterprise 10.4 - Not affected

Splunk, which is part of Cisco, said Splunk Cloud is not impacted by the vulnerability as Postgres sidecars are not used in the product.

What the Flaw is All About

On Friday, watchTowr Labs released additional technical details of CVE-2026-20253, stating it could be exploited to achieve pre-authenticated remote code execution on susceptible systems through the "/v1/postgres/recovery/backup" and "/v1/postgres/recovery/restore" endpoints.

The attack chain works as follows -

  • Connect to an attacker-controlled database and dump its contents into an arbitrary file using the /backup endpoint
  • Load the dump of the attacker-controlled database into the local PostgreSQL instance using the /restore endpoint by including a "passfile" argument that specifies the path to a ".pgpass" file ("/opt/splunk/var/packages/data/postgres/.pgpass") containing the password for the "postgres_admin" user
  • SQL queries defined in the database dump will get executed by Splunk's PostgreSQL instance

An attacker could weaponize this weakness to define a new function that uses lo_export - a function used to extract a BLOB from the database and save it as a file on the file system - to write attacker-controlled content to a file, following which the function gets executed during the restoration process.

"At this point, we can authenticate, restore attacker-controlled SQL, and interact with the local database," security researchers Piotr Bazydlo and Yordan Ganchev said. "Once we could restore attacker-controlled SQL into the local PostgreSQL instance, we quickly put together a database dump template that gave us a controlled file write."

Armed with an arbitrary file write primitive on the Splunk file system, an attacker could escalate further to remote code execution by overwriting a Python script that Splunk frequently executes (e.g., "/opt/splunk/etc/apps/splunk_secure_gateway/bin/ssg_enable_modular_input.py") to include the malicious payload.

The entire sequence of actions is below -

  • Create a database and configure it such that a user can authenticate without a password and grant it sufficient permissions to invoke functions like lo_export
  • Use the /backup endpoint to drop a dump of the remote database onto the Splunk file system
  • Use the /restore endpoint to load the malicious database dump, trigger execution of the malicious function during the restore process, and write an attacker-controlled Python script to the Splunk file system

Although there is no evidence of the flaw being exploited in the wild, the availability of the exploit specifics can be enough to drive threat actors to trigger opportunistic attempts. It's essential that users move quickly to apply the fixes to stay protected.

Update

In an update to its advisory on June 18, 2026, the Splunk Product Security Incident Response Team (PSIRT) said it "became aware of limited exploitation of this vulnerability," urging customers to upgrade to a fixed software release to remediate the issue.

The development has prompted the U.S. Cybersecurity and Infrastructure Security Agency (CISA) to add the flaw to its Known Exploited Vulnerabilities (KEV) catalog, requiring Federal Civilian Executive Branch (FCEB) agencies to apply the fixes by June 21, 2026.

Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.

Text extracted automatically; images, tables and formatting may be missing. Original: https://thehackernews.com/2026/06/critical-splunk-enterprise-flaw-lets.html