Authenticated code execution via crafted CLI commands
Published Feb 2, 2022 · Updated Jan 13, 2026
Stack-based buffer overflows in multiple Fortinet appliance CLIs allow attackers to execute arbitrary code using crafted commands. The command-line interpreter mishandles crafted command data and overwrites stack buffers, although Fortinet has not disclosed the specific parser or copy operation. Successful exploitation requires an authenticated CLI session and grants code execution in the affected appliance context.
Summary
What happened
Stack-based buffer overflows in multiple Fortinet appliance CLIs allow attackers to execute arbitrary code using crafted commands. The command-line interpreter mishandles crafted command data and overwrites stack buffers, although Fortinet has not disclosed the specific parser or copy operation. Successful exploitation requires an authenticated CLI session and grants code execution in the affected appliance context.
The record
- CVE
- CVE-2021-36193
- Published
- Feb 2, 2022
- Updated
- Jan 13, 2026
- Vendor
- Fortinet
- Product
- FortiFone
- Classifications
- CWE-121, CWE-787, T1059
- Attack vector
- Unavailable
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 2, 2022CVE publishedPublication date reported by the CVE source.
- Jan 13, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.0.0 <=3.0.11
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo