CVE-2025-67862 Code injection in FortiOS
Authenticated administrators can execute arbitrary Lua scripts via crafted CLI commands due to unsafe debug access levels in FortiOS and FortiProxy.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-67862?
CVE-2025-67862 is a medium-severity code injection vulnerability in Fortinet Fortios, published on 9 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An Internal Asset Exposed to Unsafe Debug Access Level or State vulnerability [CWE-1244] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.2, FortiOS 7.4.0 through 7.4.7, FortiOS 7.2.0 through 7.2.10, FortiOS 7.0.0 through 7.0.16, FortiOS 6.4 all versions, FortiProxy 7.6.0 through 7.6.3, FortiProxy 7.4.0 through 7.4.10, FortiProxy 7.2.0 through 7.2.14, FortiProxy 7.0 all versions may allow an authenticated admin to execute lua scripts via crafted CLI commands.
Weakness: CWE-1244
Which versions are affected by CVE-2025-67862?
It affects 2 products.
Products include Fortinet Fortios, Fortinet Fortiproxy.
How do I fix CVE-2025-67862?
No fix has been published for CVE-2025-67862 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-67862 being exploited?
There is no known exploitation of CVE-2025-67862 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-h6fm-ggmr-98gx.