patchminder
Proof of concept · GitHub CVE-2023-42791

Path traversalin Fortinet FortiManager.

Published 20 Feb 2024 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 4.0% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 7.4.1 or later
In plain words

A relative path traversal in Fortinet FortiManager version 7.4.0 and 7.2.0 through 7.2.3 and 7.0.0 through 7.0.8 and 6.4.0 through 6.4.12 and 6.2.0 through 6.2.11 allows attacker to execute unauthorized code or commands via crafted HTTP requests.

What to do now
  • Please upgrade to FortiAnalyzer-BigData version 7.2.6 or above Please upgrade to FortiAnalyzer-BigData version 7.0.7 or above Please upgrade to FortiAnalyzer-BigData version 6.4.8 or above Please upgrade to FortiAnalyzer-BigData version 6.2.6 or above Please upgrade to FortiManager version 7.4.1 or above Please upgrade to FortiManager version 7.2.4 or above Please upgrade to FortiManager version 7.0.9 or above Please upgrade to FortiManager version 6.4.13 or above Please upgrade to FortiManager version 6.2.12 or above Please upgrade to FortiAnalyzer version 7.4.1 or above Please upgrade to FortiAnalyzer version 7.2.4 or above Please upgrade to FortiAnalyzer version 7.0.9 or above Please upgrade to FortiAnalyzer version 6.4.13 or above Please upgrade to FortiAnalyzer version 6.2.12 or above
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
FortiManager
7.4.0
Not confirmed
CVE record
FortiManager
7.2.0 to 7.2.3
Not confirmed
CVE record
FortiManager
7.0.0 to 7.0.8
Not confirmed
CVE record
FortiManager
6.4.0 to 6.4.12
Not confirmed
CVE record
FortiManager
6.2.0 to 6.2.11
Not confirmed
CVE record
FortiAnalyzer
7.4.0
Not confirmed
CVE record
FortiAnalyzer
7.2.0 to 7.2.3
Not confirmed
CVE record
FortiAnalyzer
7.0.0 to 7.0.8
Not confirmed
CVE record
FortiAnalyzer
6.4.0 to 6.4.12
Not confirmed
CVE record
FortiAnalyzer
6.2.0 to 6.2.11
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 14 Sep 2023
    CVE ID reserved by fortinet.
  2. 20 Feb 2024
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
  4. 12 Feb 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundsynacktiv/CVE-2023-42791_CVE-2024-236666 stars · created 12 Feb 2025Exploitations scripts for CVE-2023-42791 and CVE-2024-23666.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other FortiManager vulnerabilities

Same weakness: Relative path traversal

All CWE-23 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-42791: Path traversal in Fortinet FortiManager. https://patchminder.com/cve/cve-2023-42791/ (accessed 5 December 2026).