Skip to main content
Vulnerability Database/CVE-2026-103508

CVE-2026-103508: P4 Search Arbitrary File Write RCE Vulnerability

CVE-2026-103508 is a remote code execution vulnerability in P4 Search allowing authenticated admins to write or delete files outside intended directories. This post covers technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-103508 Overview

CVE-2026-103508 is a path traversal vulnerability [CWE-23] in Perforce P4 Search, formerly known as Helix Search. An authenticated user with administrative privileges on the connected P4 Server can supply a crafted logging configuration. The crafted configuration causes files to be written or deleted outside the intended logging directory. Successful exploitation can lead to code execution as the P4 Search service account. The flaw affects P4 Search version 2026.4.2 and earlier. Perforce resolved the issue in version 2026.4.3.

Critical Impact

An authenticated administrator can achieve arbitrary file write or deletion outside the logging directory, leading to code execution under the P4 Search service account.

Affected Products

  • Perforce P4 Search (formerly Helix Search) 2026.4.2 and earlier
  • Perforce P4 Search deployments connected to a P4 Server with administrative users
  • Environments relying on P4 Search for Helix Core content indexing

Discovery Timeline

  • 2026-10-15 - CVE-2026-103508 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-103508

Vulnerability Analysis

P4 Search accepts a logging configuration that specifies where the service writes log files. The service fails to constrain the configured path to the intended logging directory. An authenticated P4 Server administrator can submit a crafted configuration that references paths outside the logging root. The P4 Search process then writes or deletes files at attacker-chosen locations.

The attacker-controlled file write primitive can be converted into code execution. Writing to startup scripts, scheduled task definitions, or library search paths used by the P4 Search service account yields execution under that identity. Delete primitives can remove integrity controls or allow symlink-based follow-on attacks.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory, classified as [CWE-23]. The logging configuration parser does not canonicalize or validate the supplied directory against an allow list. Relative path components and absolute paths are accepted without rejection. The flaw grants the file system privileges of the P4 Search service account to any administrator who can modify the logging configuration.

Attack Vector

Exploitation requires network access to P4 Search and administrative privileges on the connected P4 Server. The attacker modifies the logging configuration to point to a sensitive directory writable by the service account. The service then creates, overwrites, or deletes files at that location. Because administrative privileges are a prerequisite, the primary risk model is privilege escalation across trust boundaries, compromise of the search host from a compromised P4 Server admin account, or insider abuse.

No verified public exploit code is available. Refer to the Perforce Security Advisory for vendor technical details.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-103508

Indicators of Compromise

  • Log file paths in the P4 Search configuration that reference directories outside the designated logging root or contain traversal sequences such as ..
  • Unexpected file creation, modification, or deletion events in system directories performed by the P4 Search service account
  • New or modified startup scripts, cron jobs, scheduled tasks, or shared libraries writable by the P4 Search service account

Detection Strategies

  • Audit the P4 Search logging configuration for any path outside the approved logging directory and compare against a known-good baseline
  • Monitor P4 Server administrative actions that touch P4 Search configuration endpoints and correlate with file system changes on the P4 Search host
  • Alert on process lineage where the P4 Search service account spawns shells, interpreters, or writes to executable paths

Monitoring Recommendations

  • Enable file integrity monitoring on operating system startup directories, service binaries, and the P4 Search installation root
  • Centralize P4 Search and P4 Server audit logs and retain configuration change history for forensic review
  • Track and alert on changes to the log or logging path parameters in P4 Search configuration

How to Mitigate CVE-2026-103508

Immediate Actions Required

  • Upgrade P4 Search to version 2026.4.3 or later, which contains the vendor fix
  • Review all P4 Server accounts with administrative privileges and remove unnecessary admin rights
  • Rotate credentials for any P4 Server administrator account suspected of compromise before patching
  • Inspect the current P4 Search logging configuration and reset it to a path inside the intended logging directory

Patch Information

Perforce resolved CVE-2026-103508 in P4 Search 2026.4.3. Download instructions and release notes are available through the Perforce Security Advisory. Apply the update on all P4 Search instances connected to production P4 Servers.

Workarounds

  • Restrict P4 Server administrative privileges to a minimal, audited set of users until the patch is applied
  • Run the P4 Search service under a dedicated low-privilege account with no write access to system or startup directories
  • Apply operating system access controls that deny the P4 Search service account write access outside its designated data and log directories
bash
# Configuration example: verify installed P4 Search version
p4search -V

# Confirm the logging path resolves inside the intended directory
readlink -f /opt/perforce/p4search/logs

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.