# CVE-2018-13379: An Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") in Fortinet FortiOS 6.0.0 to 6.0.4, 5…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2021-11-03; federal due date 2022-05-03; known ransomware use
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 100.00% (percentile 100, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** EDB-47287, EDB-47288
- **Published:** 2019-06-04T20:18:08.000Z
- **Modified:** 2026-06-17T01:39:18.123Z

## Who should check

- Anyone running Fortinet FortiOS, FortiProxy FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12, 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

## Description

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.

## Affected and fixed versions

- Fortinet FortiOS, FortiProxy: FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12, 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 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Timeline

- 2019-06-04: Published
- 2021-11-03: Added to CISA KEV (exploited in the wild)
- 2022-05-03: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-13379. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-13379.md
Affected: Fortinet FortiOS, FortiProxy FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12, 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
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Fortinet FortiOS, FortiProxy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-13379 being exploited?

Yes. CISA lists CVE-2018-13379 in its Known Exploited Vulnerabilities catalog since 2021-11-03, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 100.00% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-13379?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2018-13379?

Fortinet FortiOS, FortiProxy FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12, 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.

### Is there a fix for CVE-2018-13379?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2018-13379?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://fortiguard.com/advisory/FG-IR-18-384>
- vendor: <https://www.fortiguard.com/psirt/FG-IR-20-233>
- exploit: <https://www.exploit-db.com/exploits/47288>
- exploit: <https://www.exploit-db.com/exploits/47287>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-13379>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-13379>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/47288>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2018-13379> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-13379>
