CVE-2025-21127 Photoshop Desktop | Uncontrolled Search Path Element (CWE-427)

High 7.8 Published Updated

An attacker can execute arbitrary code by manipulating the search path environment variable, requiring the victim to run the application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-21127?

CVE-2025-21127 is a high-severity vulnerability in Adobe Photoshop, published on 14 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Photoshop Desktop versions 25.12, 26.1 and earlier are affected by an Uncontrolled Search Path Element vulnerability that could lead to arbitrary code execution. An attacker could manipulate the search path environment variable to point to a malicious library, resulting in the execution of arbitrary code when the application loads. Exploitation of this issue requires user interaction in that a victim must run the vulnerable application.

Weakness: CWE-427

Which versions are affected by CVE-2025-21127?

It affects 1 product.

Products include Adobe Photoshop.

How do I fix CVE-2025-21127?

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

Is CVE-2025-21127 being exploited?

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

All Adobe Photoshop vulnerabilities

Sources

Also known as GHSA-46hr-24vx-hm3m.

Is CVE-2025-21127 in your software?

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

Check your SBOMs for free