CVE-2025-7971 Studio 5000 Logix Designer® – Arbitrary Code Execution Vulnerability
Attackers can execute arbitrary code via unsafe environment variable handling in Rockwell Studio 5000 Logix Designer.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-7971?
CVE-2025-7971 is a high-severity code injection vulnerability in Rockwell Automation Studio 5000 Logix Designer®, published on 14 Aug 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
A security issues exists within Studio 5000 Logix Designer due to unsafe handling of environment variables. If the specified path lacks a valid file, Logix Designer crashes; However, it may be possible to execute malicious code without triggering a crash.
Weakness: CWE-20
Which versions are affected by CVE-2025-7971?
How do I fix CVE-2025-7971?
No fix has been published for CVE-2025-7971 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-7971 being exploited?
There is no known exploitation of CVE-2025-7971 in the wild and no public exploit code.
Sources
Also known as GHSA-6643-674m-c2cp.