CVE-2018-13379: Fortinet FortiOS SSL VPN Path Traversal Vulnerability
CVE-2018-13379 is a critical-severity flaw (CVSS 9.1) affecting fortiproxy, fortios, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12 and FortiProxy 2.0.0, 1.2.0 to 1.2.8, 1.1.0 to 1.1.6, 1.0.0 to 1.0.7 under SSL VPN web portal allows an unauthenticated attacker to download system files via special crafted HTTP resource requests.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 100.0% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-03, used in ransomware |
| Weakness | CWE-22 |
| Published | 2019-06-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: milo2012/CVE-2018-13379 (253 stars)
- GitHub PoC: Blazz3/cve2018-13379-nmap-script (12 stars)
- GitHub PoC: Zeop-CyberSec/fortios_vpnssl_traversal_leak (9 stars)
- Write-up: fortiguard.com/advisory/FG-IR-18-384
- Exploit-DB: Fortinet FortiOS 5.6.3 <= 5.6.7 / FortiOS 6.0.0 <= 6.0.4 - Credentials Disclosure
- Exploit-DB: Fortinet FortiOS 5.6.3 <= 5.6.7 / FortiOS 6.0.0 <= 6.0.4 - Credentials Disclosure (Metasploit)
- Metasploit: FortiOS Path Traversal Credential Gatherer
- Nuclei scan template: Fortinet FortiOS - Credentials Disclosure
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-13379?
fortiproxy: upgrade to 1.2.9; fortios: upgrade to 5.4.13, 5.6.8, 6.0.5. Exact commands for each OS are on this page.
Is CVE-2018-13379 being exploited?
Yes. CVE-2018-13379 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-13379 affect?
CVE-2018-13379 affects fortiproxy, fortios. Severity is critical (CVSS 9.1). An Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12 and FortiProxy 2.0.0, 1.2.0 to 1.2.8, 1.1.0 to 1.1.6, 1.0.0 to 1.0.7 under SSL VPN web
How urgent is CVE-2018-13379?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Fortinet FortiOS vulnerabilities · Fortinet vulnerabilities
Related CVEs
- CVE-2026-59837 MEDIUM 6.6 UPGRADE UPGRADE A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.4.0 through 7.4.1, FortiOS 7.2 all versions,
- CVE-2023-46718 MEDIUM 6.7 UPGRADE UPGRADE A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.
- CVE-2024-50571 HIGH 7.2 UPGRADE UPGRADE A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.2, FortiAnalyzer 7.4.0
- CVE-2026-23573 MEDIUM 6.1 UPGRADE UPGRADE An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability [CWE-79]
- CVE-2026-59839 MEDIUM 5.5 UPGRADE UPGRADE A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet For