CVE-2022-39952
Exploitation confirmed. First attested on 2023-10-14 by GCVE · kevintel, GCVE · shadowserver.
- Published2023-02-16
- Fixed in9.4.1 · 9.2.6 · 9.1.8
- WeaknessCWE-668 · CWE-73
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-02-1619:15CVE publishedNVD
- 2023-10-1414:57Listed as exploited by GCVEGCVE
- 2023-10-1414:57Exploitation first reportedGCVE
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-39952?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-39952?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.4 | ≥ 9.4.0, < 9.4.1 | 9.4.1 | NVD |
| 9.2 | ≥ 9.2.0, < 9.2.6 | 9.2.6 | NVD |
| 9.1 | ≥ 9.1.0, < 9.1.8 | 9.1.8 | NVD |
| 8.x | ≥ 8.3.7, ≤ 8.8.9 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As fortinet, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Fortinet FortiNACother versions: not affectedAffected
- = 9.4.0no fix stated
- ≥ 9.2.0, ≤ 9.2.5no fix statedsemver
- ≥ 9.1.0, ≤ 9.1.7no fix statedsemver
- ≥ 8.8.0, ≤ 8.8.11no fix statedsemver
- ≥ 8.7.0, ≤ 8.7.6no fix statedsemver
- ≥ 8.6.0, ≤ 8.6.5no fix statedsemver
- ≥ 8.5.0, ≤ 8.5.4no fix statedsemver
- = 8.3.7no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-02-16
Fix
- Update Fortinet fortinac to 9.4.1 · 9.2.6 · 9.1.8
Advisories and patches
- fortiguard.comVendor Advisory
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 4 repositories, unverifiedhorizon3ai/CVE-2022-39952shiyeshu/CVE-2022-39952_webshellChocapikk/CVE-2022-39952dkstar11q/CVE-2022-39952-better PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/linux/http/fortinac_keyupload_file_writerank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- GCVEexploitation2023-10-14
- CISA-ADPSSVC decisionnone2024-10-23
- OpenCVESSVC decisionnone—
- CNACVSS 3.19.8known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-73known since 2026-10-23
- NVDweakness (CWE)CWE-668read 2026-10-23
- FIRST EPSSEPSS score99.8 %read 2026-11-03
- PoC-in-GitHubproof of concept4read 2026-11-03
- ProjectDiscoverydetectionread 2026-11-03
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2022-42396same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4wjq-4wff-qw9csame flawGitHub Advisory Database · CC-BY-4.0
- exploit/linux/http/fortinac_keyupload_file_writeexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-02-16
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-4wjq-4wff-qw9c
Frequently asked questions
What is CVE-2022-39952?
Is CVE-2022-39952 actively exploited?
What is the CVSS score for CVE-2022-39952?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4wjq-4wff-qw9c
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0