CVE-2025-9844 Path traversal in Salesforce CLI

High 8.8 Published Updated

An attacker can replace a trusted executable via uncontrolled search path, leading to code execution on Windows systems using Salesforce CLI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-9844?

CVE-2025-9844 is a high-severity path traversal vulnerability in Salesforce CLI, published on 23 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-427

Which versions are affected by CVE-2025-9844?

How do I fix CVE-2025-9844?

No fix has been published for CVE-2025-9844 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-9844 being exploited?

There is no known exploitation of CVE-2025-9844 in the wild and no public exploit code.

Sources

Also known as GHSA-p96x-fw5c-mhr8.

Is CVE-2025-9844 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free