Fortinet FortiOS 4.0 vulnerabilities
51 published vulnerabilities affect Fortinet FortiOS 4.0, 5 of them known to be exploited in the wild.
What to upgrade to
The newest release on the 4.0 line is 4.0.4, with 51 known CVEs. The newest Fortinet FortiOS release we know of is 8.0.3, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 4.0.4newest 4.0 release | none | 51CVE-2020-12812, CVE-2016-1909, CVE-2021-26109 and 48 more | none |
| 8.0.3newest release | all 515 exploited, 3 critical | none | none |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting Fortinet FortiOS 4.0
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2020-12812An improper authentication vulnerability in SSL VPN in FortiOS 6.4.0, 6.2.0 to 6.2.3, 6.0.9 and below may result in a user being able to log in successfully… | 9.8 | Exploited | 45% | 6.0.10CVE record |
| CVE-2016-1909Fortinet FortiAnalyzer before 5.0.12 and 5.2.x before 5.2.5; FortiSwitch 3.3.x before 3.3.3; FortiCache 3.0.x before 3.0.8; and FortiOS 4.1.x before 4.1.11… | 9.8 | None known | 71% | –NVD |
| CVE-2021-26109An integer overflow or wraparound vulnerability in the memory allocator of SSLVPN in FortiOS before 7.0.1 may allow an unauthenticated attacker to corrupt… | 9.8 | None known | 2% | 7.0.1CVE record |
| CVE-2021-44168A download of code without integrity check vulnerability in the "execute restore src-vis" command of FortiOS before 7.0.3 may allow a local authenticated… | 7.8 | Exploited | under 1% | 7.0.3CVE record |
| CVE-2021-24018A buffer underwrite vulnerability in the firmware verification routine of FortiOS before 7.0.1 may allow an attacker located in the adjacent network to… | 8.8 | None known | 1% | 7.0.1CVE record |
| CVE-2018-13371An external control of system vulnerability in FortiOS may allow an authenticated, regular user to change the routing settings of the device via connecting to… | 8.8 | None known | 1% | –CVE record |
| CVE-2020-12820Under non-default configuration, a stack-based buffer overflow in FortiOS version 6.0.10 and below, version 5.6.12 and below may allow a remote attacker… | 8.8 | None known | under 1% | 5.6.13NVD |
| CVE-2023-29181Format String Bug in Fclicense daemon | 8.8 | None known | under 1% | –vendor advisory |
| CVE-2019-5591A Default Configuration vulnerability in FortiOS may allow an unauthenticated attacker on the same subnet to intercept sensitive information by impersonating… | 6.5 | Exploited | 19% | –CVE record |
| CVE-2022-30307A key management error vulnerability affecting the RSA SSH host key in FortiOS 7.2.0 and below, 7.0.6 and below, 6.4.9 and below may allow an unauthenticated… | 8.1 | None known | under 1% | –CVE record |
| CVE-2019-6693Use of a hard-coded cryptographic key to cipher sensitive data in FortiOS configuration backup file may allow an attacker with access to the backup file to… | 6.5 | Exploited | 8% | –NVD |
| CVE-2018-9185An information disclosure vulnerability in Fortinet FortiOS 6.0.0 and below versions reveals user's web portal login credentials in a Javascript file sent to… | 8.1 | None known | 2% | –CVE record |
| CVE-2014-2216The FortiManager protocol service in Fortinet FortiOS before 4.3.16 and 5.0.0 before 5.0.8 on FortiGate devices allows remote attackers to cause a denial of… | 7.5 | None known | 5% | –NVD |
| CVE-2020-12819A heap-based buffer overflow vulnerability in the processing of Link Control Protocol messages in FortiGate versions 5.6.12, 6.0.10, 6.2.4 and 6.4.1 and… | 7.5 | None known | under 1% | 5.6.13NVD |
| CVE-2021-26108A use of hard-coded cryptographic key vulnerability in the SSLVPN of FortiOS before 7.0.1 may allow an attacker to retrieve the key by reverse engineering | 7.5 | None known | 1% | 7.0.1CVE record |
| CVE-2020-15938When traffic other than HTTP/S (eg: SSH traffic, etc...) traverses the FortiGate in version below 6.2.5 and below 6.4.2 on port 80/443, it is not redirected to… | 7.5 | None known | under 1% | –NVD |
| CVE-2019-17655A cleartext storage in a file or on disk (CWE-313) vulnerability in FortiOS SSL VPN 6.2.0 through 6.2.2, 6.0.9 and earlier and FortiProxy 2.0.0, 1.2.9 and… | 7.5 | None known | 1% | 6.2.3NVD |
| CVE-2019-15705An Improper Input Validation vulnerability in the SSL VPN portal of FortiOS versions 6.2.1 and below, and 6.0.6 and below may allow an unauthenticated remote… | 7.5 | None known | 2% | –NVD |
| CVE-2019-15703An Insufficient Entropy in PRNG vulnerability in Fortinet FortiOS 6.2.1, 6.2.0, 6.0.8 and below for device not enable hardware TRNG token and models not… | 7.5 | None known | 1% | –CVE record |
| CVE-2018-13381A buffer overflow vulnerability in Fortinet FortiOS 6.0.0 through 6.0.4, 5.6.0 through 5.6.7, 5.4 and earlier versions and FortiProxy 2.0.0, 1.2.8 and earlier… | 7.5 | None known | 2% | –NVD |
| CVE-2018-13376An uninitialized memory buffer leak exists in Fortinet FortiOS 5.6.1 to 5.6.3, 5.4.6 to 5.4.7, 5.2 all versions under web proxy's disclaimer response web… | 7.5 | None known | 2% | –NVD |
| CVE-2017-3130An information disclosure vulnerability in Fortinet FortiOS 5.6.0, 5.4.4 and below versions allows attacker to get FortiOS version info by inspecting FortiOS… | 7.5 | None known | 1% | –CVE record |
| CVE-2018-13380A Cross-site Scripting (XSS) vulnerability in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, 5.4.0 to 5.4.12, 5.2 and below and Fortinet FortiProxy 2.0.0… | 6.1 | Proof of concept | 62% | –NVD |
| CVE-2017-17544A privilege escalation vulnerability in Fortinet FortiOS 6.0.0 to 6.0.6, 5.6.0 to 5.6.10, 5.4 and below allows admin users to elevate their profile to… | 7.2 | None known | 2% | 6.2.0CVE record |
| CVE-2017-7738An Information Disclosure vulnerability in Fortinet FortiOS 5.6.0 to 5.6.2, 5.4.0 to 5.4.5, 5.2 and below versions allow an admin user with super_admin… | 7.2 | None known | 1% | –CVE record |
| CVE-2017-3133A Cross-Site Scripting vulnerability in Fortinet FortiOS versions 5.6.0 and earlier allows attackers to execute unauthorized code or commands via the… | 6.1 | Proof of concept | 11% | –CVE record |
| CVE-2017-3132A Cross-Site Scripting vulnerability in Fortinet FortiOS versions 5.6.0 and earlier allows attackers to Execute unauthorized code or commands via the action… | 6.1 | Proof of concept | 8% | –CVE record |
| CVE-2019-17656A Stack-based Buffer Overflow vulnerability in the HTTPD daemon of FortiOS 6.0.10 and below, 6.2.2 and below and FortiProxy 1.0.x, 1.1.x, 1.2.9 and below… | 6.5 | None known | 2% | –NVD |
| CVE-2020-6648A cleartext storage of sensitive information vulnerability in FortiOS command line interface in versions 6.2.4 and earlier and FortiProxy 2.0.0, 1.2.9 and… | 6.5 | None known | under 1% | 6.0.12NVD |
| CVE-2019-5587Lack of root file system integrity checking in Fortinet FortiOS VM application images all versions below 6.0.5 may allow attacker to implant malicious programs… | 6.5 | None known | under 1% | 6.0.5CVE record |
| CVE-2013-4604Fortinet FortiOS before 5.0.3 on FortiGate devices does not properly restrict Guest capabilities, which allows remote authenticated users to read, modify, or… | 6.5 | None known | 1% | –NVD |
| CVE-2018-13374A Improper Access Control in Fortinet FortiOS 6.0.2, 5.6.7 and before, FortiADC 6.1.0, 6.0.0 to 6.0.1, 5.4.0 to 5.4.4 allows attacker to obtain the LDAP server… | 4.3 | Exploited | 38% | 6.0.3NVD |
| CVE-2017-14187A local privilege escalation and local code execution vulnerability in Fortinet FortiOS 5.6.0 to 5.6.2, 5.4.0 to 5.4.8, and 5.2 and below versions allows… | 6.2 | None known | under 1% | –CVE record |
| CVE-2022-23438An improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in FortiOS version 7.0.5 and prior and 6.4.9 and prior… | 6.1 | None known | under 1% | –NVD |
| CVE-2019-6696An improper input validation vulnerability in FortiOS 6.2.1, 6.2.0, 6.0.8 and below until 5.4.0 under admin webUI may allow an attacker to perform an URL… | 6.1 | None known | under 1% | –CVE record |
| CVE-2018-13384A Host Header Redirection vulnerability in Fortinet FortiOS all versions below 6.0.5 under SSL VPN web portal allows a remote attacker to potentially poison… | 6.1 | None known | 1% | 6.0.5CVE record |
| CVE-2017-14190A Cross-site Scripting vulnerability in Fortinet FortiOS 5.6.0 to 5.6.2, 5.4.0 to 5.4.7, 5.2 and earlier, allows attacker to inject arbitrary web script or… | 6.1 | None known | 1% | –CVE record |
| CVE-2017-14186A Cross-site Scripting (XSS) vulnerability in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, 5.4 and below versions under SSL VPN web portal allows a remote… | 5.4 | Proof of concept | 4% | –CVE record |
| CVE-2018-9195Use of a hardcoded cryptographic key in the FortiGuard services communication protocol may allow a Man in the middle with knowledge of the key to eavesdrop on… | 5.9 | None known | 2% | –CVE record |
| CVE-2016-8492The implementation of an ANSI X9.31 RNG in Fortinet FortiGate allows attackers to gain unauthorized read access to data handled by the device via IPSec/TLS… | 5.9 | None known | 1% | –NVD |
| CVE-2019-5593Improper permission or value checking in the CLI console may allow a non-privileged user to obtain Fortinet FortiOS plaint text private keys of system's… | 5.5 | None known | under 1% | –CVE record |
| CVE-2014-0351The FortiManager protocol service in Fortinet FortiOS before 4.3.16 and 5.x before 5.0.8 on FortiGate devices does not prevent use of anonymous ciphersuites… | 5.4 | None known | under 1% | –NVD |
| CVE-2026-71408UI DoS attack | 5.3 | None known | under 1% | 7.6.7NVD |
| CVE-2020-12818An insufficient logging vulnerability in FortiGate before 6.4.1 may allow the traffic from an unauthenticated attacker to Fortinet owned IP addresses to go… | 5.3 | None known | under 1% | 6.4.1CVE record |
| CVE-2018-13367An information exposure vulnerability in FortiOS 6.2.3, 6.2.0 and below may allow an unauthenticated attacker to gain platform information such as version… | 5.3 | None known | under 1% | –CVE record |
| CVE-2018-13365An Information Exposure vulnerability in Fortinet FortiOS 6.0.1, 5.6.5 and below, allow attackers to learn private IP as well as the hostname of FortiGate via… | 5.3 | None known | under 1% | –CVE record |
| CVE-2018-13366An information disclosure vulnerability in Fortinet FortiOS 6.0.1, 5.6.7 and below allows attacker to reveals serial number of FortiGate via hostname field… | 5.3 | None known | under 1% | –CVE record |
| CVE-2013-1414Multiple cross-site request forgery (CSRF) vulnerabilities in Fortinet FortiOS on FortiGate firewall devices before 4.3.13 and 5.x before 5.0.2 allow remote… | 5.1 | None known | 2% | –NVD |
| CVE-2015-5965The SSL-VPN feature in Fortinet FortiOS before 4.3.13 only checks the first byte of the TLS MAC in finished messages, which makes it easier for remote… | 5.0 | None known | 2% | –NVD |
| CVE-2015-3626Cross-site scripting (XSS) vulnerability in the DHCP Monitor page in the Web User Interface (WebUI) in Fortinet FortiOS before 5.2.4 on FortiGate devices… | 4.3 | None known | 1% | –NVD |
| CVE-2026-25815Fortinet FortiOS through 7.6.6 allows attackers to decrypt LDAP credentials stored in device configuration files, as exploited in the wild from 2025-12-16… | 3.2 | None known | under 1% | –CVE record |
Other Fortinet FortiOS 4.0 releases
How this list is made
These are the CVEs Dawnsentry matches to each Fortinet FortiOS version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.