CVE-2022-39952: A external control of file name or path in Fortinet FortiNAC versions 9.4.0, 9.2.0 through 9.2.5, 9.1.0 throug
CVE-2022-39952 is a critical-severity flaw (CVSS 9.8) affecting fortinac. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A external control of file name or path in Fortinet FortiNAC versions 9.4.0, 9.2.0 through 9.2.5, 9.1.0 through 9.1.7, 8.8.0 through 8.8.11, 8.7.0 through 8.7.6, 8.6.0 through 8.6.5, 8.5.0 through 8.5.4, 8.3.7 may allow an unauthenticated attacker to execute unauthorized code or commands via specifically crafted HTTP request.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
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
- 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: horizon3ai/CVE-2022-39952 (266 stars)
- GitHub PoC: Chocapikk/CVE-2022-39952 (3 stars)
- GitHub PoC: shiyeshu/CVE-2022-39952_webshell (2 stars)
- GitHub PoC: dkstar11q/CVE-2022-39952-better
- Metasploit: Fortinet FortiNAC keyUpload.jsp arbitrary file write
- Nuclei scan template: Fortinet FortiNAC - Arbitrary File Write
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-2022-39952?
fortinac: upgrade to 9.1.8, 9.2.6, 9.4.1. Exact commands for each OS are on this page.
Is CVE-2022-39952 being exploited?
CVE-2022-39952 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-39952 affect?
CVE-2022-39952 affects fortinac. Severity is critical (CVSS 9.8). A external control of file name or path in Fortinet FortiNAC versions 9.4.0, 9.2.0 through 9.2.5, 9.1.0 through 9.1.7, 8.8.0 through 8.8.11, 8.7.0 through 8.7.6, 8.6.0 through 8.6.5, 8.5.0 through 8.5.4, 8.3.7 may allow an unauthenticated a
How urgent is CVE-2022-39952?
Priority 72/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-31488 MEDIUM 6.8 UPGRADE An improper neutralization of inputs during web page generation vulnerability [CWE-79] in FortiNAC version 9.4
- CVE-2023-33300 MEDIUM 5.3 UPGRADE A improper neutralization of special elements used in a command ('command injection') in Fortinet FortiNAC 7.2
- CVE-2023-33299 CRITICAL 9.8 UPGRADE A deserialization of untrusted data in Fortinet FortiNAC below 7.2.1, below 9.4.3, below 9.2.8 and all earlier
- CVE-2023-26206 MEDIUM 6.8 UPGRADE An improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiNAC 9
- CVE-2023-26203 MEDIUM 6.7 UPGRADE DOWNGRADE A use of hard-coded credentials vulnerability [CWE-798] in FortiNAC-F version 7.2.0, FortiNAC version 9.4.2 an