Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-9844: CWE-427 Uncontrolled Search Path Element in Salesforce Salesforce CLI

0
High
VulnerabilityCVE-2025-9844cvecve-2025-9844cwe-427
Published: Tue Sep 23 2025 (09/23/2025, 13:11:31 UTC)
Source: CVE Database V5
Vendor/Project: Salesforce
Product: Salesforce CLI

Description

Uncontrolled Search Path Element vulnerability in Salesforce Salesforce CLI on Windows allows Replace Trusted Executable.This issue affects Salesforce CLI: before 2.106.6.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 04:31:01 UTC

Technical Analysis

CVE-2025-9844 is an Uncontrolled Search Path Element vulnerability (CWE-427) affecting the Salesforce Command Line Interface (CLI) on Windows platforms. The vulnerability arises because the CLI improperly handles the search path for executables, allowing an attacker with local privileges to insert or replace a trusted executable in a directory that the CLI searches before the legitimate executable. When the CLI runs, it may execute the malicious replacement instead of the intended binary, leading to arbitrary code execution with the privileges of the CLI user. This can compromise system confidentiality, integrity, and availability. The affected versions are all Salesforce CLI releases before 2.106.6, which do not properly validate or restrict the search path elements. The vulnerability requires local privileges but no user interaction, making it easier to exploit in environments where multiple users share systems or where attackers have gained limited access. The CVSS v3.1 base score is 8.8, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. No public exploits have been reported yet, but the vulnerability is publicly disclosed and should be considered critical for organizations relying on Salesforce CLI for development and deployment tasks on Windows.

Potential Impact

The impact of CVE-2025-9844 is substantial for organizations using Salesforce CLI on Windows. Successful exploitation allows attackers to execute arbitrary code with the privileges of the CLI user, potentially leading to full system compromise. This can result in unauthorized access to sensitive Salesforce development environments, leakage or manipulation of proprietary source code, and disruption of deployment pipelines. The integrity of development and deployment processes can be undermined, causing cascading effects on production environments and business operations. Additionally, if attackers gain persistence through this vector, they may establish footholds for further lateral movement within corporate networks. The vulnerability's ease of exploitation (low complexity, no user interaction) increases the risk, especially in multi-user or shared workstation environments. Organizations with extensive Salesforce development activities, particularly those integrating CLI tools into automated workflows, face elevated risks of operational disruption and data breaches.

Mitigation Recommendations

To mitigate CVE-2025-9844, organizations should immediately upgrade Salesforce CLI to version 2.106.6 or later once available. Until patches are applied, restrict write permissions on directories included in the executable search path to prevent unauthorized replacement of trusted executables. Implement application whitelisting and code integrity policies to detect and block execution of unauthorized binaries. Use Windows security features such as Controlled Folder Access and AppLocker to limit executable modifications and execution. Regularly audit and monitor directories in the PATH environment variable for unexpected changes or suspicious files. Employ endpoint detection and response (EDR) solutions to identify anomalous process executions related to the CLI. Educate users about the risks of running CLI tools on shared or untrusted systems. Finally, isolate development environments and limit local user privileges to reduce the attack surface.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Salesforce
Date Reserved
2025-09-02T13:07:18.226Z
Cvss Version
null
State
PUBLISHED

Threat ID: 68d29eae037b8c5ce43060c3

Added to database: 9/23/2025, 1:20:46 PM

Last enriched: 2/27/2026, 4:31:01 AM

Last updated: 3/24/2026, 3:07:27 PM

Views: 176

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses