New Splunk Windows Flaw Enables Privilege Escalation Attacks

New Splunk Windows Flaw Enables Privilege Escalation Attacks

New Splunk Windows Flaw Enables Privilege Escalation Attacks

Image generated by Google’s Nano Banana

Splunk for Windows has a high-severity flaw that lets local users escalate privileges through misconfigured file permissions. Learn how to fix it.

Écrit par
Ken Underhill
Ken Underhill
Dec 8, 2025

A newly disclosed high-severity flaw in Splunk for Windows allows local users to escalate privileges due to incorrect file permissions applied during installation and upgrades.

The issue impacts both Splunk Enterprise and Universal Forwarder, creating a pathway for attackers to overwrite sensitive files and gain elevated system access.

The Splunk Enterprise vulnerability “… lets non-administrator users on the machine access the directory and all its contents,“ Splunk said in its advisory.

Inside the Splunk permission flaws

The vulnerabilities CVE-2025-20386 (affecting Splunk Enterprise) and CVE-2025-20387 (affecting Splunk Universal Forwarder) originate from improper permission configurations applied by Splunk’s Windows installer.

During both new installations and version upgrades, the installer may assign overly broad NTFS access rights to Splunk’s default installation directories, granting non-administrator users read/write permissions to files that should be protected.

These directories contain high-impact components, including:

  • Executable binaries that Splunk services load at startup
  • Configuration files controlling indexing, forwarding, and authentication behavior
  • PowerShell, Python, and batch scripts invoked by Splunk’s service processes
  • Modular inputs and technology add-ons capable of running code with elevated privileges

With write access to these assets, an authenticated but low-privileged user may:

  • Replace Splunk binaries (e.g., splunkd.exe) with malicious trojans or backdoored executables
  • Modify critical configuration files, enabling execution of attacker-controlled code or altering service behavior
  • Inject rogue startup scripts that run automatically under the privileged Splunk service account
  • Hijack DLLs or supporting executables in the installation directory to achieve system-level persistence
  • Escalate privileges from a standard user to NT AUTHORITY\SYSTEM by abusing Splunk’s elevated service permissions

Because Splunk services typically run with LocalSystem-level rights, any malicious file the service loads results in immediate privilege escalation and full compromise of the underlying host.

Splunk rated the flaws CVSS 8.0 due to the potential for complete loss of confidentiality, integrity, and availability.

Although exploitation requires an authenticated user, many enterprise environments grant broad internal access — meaning the barrier to exploitation may be significantly lower in real-world deployments.

Critical steps to harden Splunk deployments

Because attackers can exploit misconfigured permissions to replace binaries, inject malicious scripts, or escalate privileges to SYSTEM, securing Splunk directories and services is essential.

  • Patch Splunk Enterprise and Universal Forwarder to the latest fixed versions as soon as possible.
  • Restrict NTFS permissions on Splunk directories so only administrators can modify binaries, configs, and scripts.
  • Implement application allow-listing to block unauthorized executables from running inside Splunk directories.
  • Run Splunk services with least-privilege accounts and limit interactive logons on Splunk servers.
  • Monitor Splunk paths with EDR and file-integrity tools to detect unauthorized changes or suspicious child processes.
  • Validate configuration integrity across all Splunk deployments, including directory permissions, apps, and forwarder settings.
  • Segment Splunk infrastructure and monitor for lateral movement or privilege-escalation attempts originating from Splunk systems.

By implementing these controls, organizations can reduce the risk of privilege escalation within Splunk’s Windows components and effectively limit the blast radius of any attempted compromise.

Editor’s note: This article first appeared on our sister publication, eSecurityPlanet.com.

Ken Underhill

Ken Underhill is an award-winning cybersecurity professional, bestselling author, and technology leader with more than 25 years of experience in IT, cybersecurity, and risk management. His career spans network administration, incident response, penetration testing, and entrepreneurship, giving him firsthand experience helping organizations reduce risk and ensure compliance. Ken is also a former nurse and combat medic and he uses this background to break down complex cybersecurity topics into digestible content for a broad, global audience. A multi-exit cybersecurity founder, Ken has spent decades helping organizations strengthen their security posture, manage risk, and navigate complex technology challenges. His expertise includes overall cybersecurity strategy, cloud security, incident response, risk management, security awareness, and emerging threats affecting businesses. Ken is also an advisor to multiple startups on AI security and risk. In addition to his hands-on industry experience, Ken is a cybersecurity newsletter writer for TechnologyAdvice, where he covers cybersecurity news/trends and actionable best practices for business and IT professionals. Ken is also an educator with over 2 million people going through his courses over the years. He has won the Global Cybersecurity 40 under 40 (2x winner), the Cyber Champion award from Women's Society of Cyberjutsu, and the 2019 SC Media award for Outstanding Educator. Ken is also a volunteer with organizations like Minorities in Cybersecurity, Black Girls Hack, and the Whole Cyber Human Initiative, which helps veterans transition into security careers. Ken holds a Master of Science in Cybersecurity and Information Assurance from Western Governors University and a Bachelor of Science in Information Systems, with a major in Cybersecurity Management, from Strayer University. His certifications include the Certificate of Cloud Security Knowledge (CCSK), Certified Ethical Hacker (CEH), and Computer Hacking Forensic Investigator (CHFI) and he is a former adjunct professor of Digital Forensics. Ken also had a streaming cybersecurity television show from 2020-2022 that reached over 200K monthly viewers around the world. His work and expertise have been featured in Forbes, Reader's Digest, Medium, TechRepublic, Fox, NBC, CBS, Dark Reading, MSN Money, and other leading publications and media outlets, making him a trusted voice on cybersecurity, election security, and privacy.