CVE-2025-31104 Command injection in FortiADC
Attackers can execute unauthorized code or commands on Fortinet FortiADC devices due to improper neutralization of special elements in OS commands.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31104?
CVE-2025-31104 is a high-severity command injection vulnerability in Fortinet FortiADC, published on 10 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiADC 7.6.0 through 7.6.1, FortiADC 7.4.0 through 7.4.6, FortiADC 7.2.0 through 7.2.7, FortiADC 7.1.0 through 7.1.4, FortiADC 7.0 all versions, FortiADC 6.2 all versions, FortiADC 6.1 all versions, FortiADC 6.0 all versions, FortiADC 5.4 all versions, FortiADC 5.3 all versions, FortiADC 5.2 all versions, FortiADC 5.1 all versions, FortiADC 5.0 all versions, FortiADC 4.8 all versions, FortiADC 4.7 all versions, FortiADC 4.6 all versions, FortiADC 4.5 all versions, FortiADC 4.4 all versions, FortiADC 4.3 all versions, FortiADC 4.2 all versions, FortiADC 4.1 all versions, FortiADC 4.0 all versions, FortiADC 3.2 all versions, FortiADC 3.1 all versions, FortiADC 3.0 all versions may allow attacker to execute unauthorized code or commands via <insert attack vector here>
Weakness: CWE-78
Which versions are affected by CVE-2025-31104?
It affects 1 product.
Products include Fortinet Fortiadc.
How do I fix CVE-2025-31104?
No fix has been published for CVE-2025-31104 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-31104 being exploited?
There is no known exploitation of CVE-2025-31104 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiADC
Sources
Also known as GHSA-qr4w-3pf4-j7r3.