# CVE-2022-39952: FortiNAC - RCE

> Live exploitation tracking for CVE-2022-39952 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2022-39952

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 9.8
- **Public exploit available:** Yes
- **Affected products:** Fortinet FortiNAC
- **Weaknesses:** CWE-668 (Exposure of Resource to Wrong Sphere); CWE-73 (External Control of File Name or Path)
- **Tags:** enterprise_software, firewall

## Description

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.

## CrowdSec analysis

[CVE-2022-39952](https://euvd.enisa.europa.eu/vulnerability/CVE-2022-39952) is a critical vulnerability in Fortinet FortiNAC that allows unauthenticated attackers to gain remote code execution by manipulating file paths through crafted network requests.

CrowdSec has been tracking this vulnerability and its exploits since 6th of June 2025.

CrowdSec network observations suggest that most exploitation of CVE-2022-39952 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental.
Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2022-39952. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.

Exploitation attempts are primarily directed at URLs containing `/configwizard/keyupload.jsp`.

## Timeline

- 2023-02-16: CVE Published. CVE-2022-39952 is published to NVD.
- 2025-06-06: Rule Released. CrowdSec releases a rule to detect CVE-2022-39952 exploitation attempts against the CrowdSec Network.
- 2025-06-09: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2022-39952 for the first time.

## References

- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-39952.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2022-39952) follows observed exploitation activity for CVE-2022-39952. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
