patchminder
Exploited in the wild · CISA KEV Used by ransomware CVE-2023-27997

Remote code executionin Fortinet FortiProxy.

Published 13 Jun 2023 · Updated 31 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 13 Jun 2023. Ransomware groups use it too.

On CISA's listKnown ransomware useAttack code is public
Severity
Critical 9.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 86.8% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.

CISA: Fortinet FortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute code or commands via specifically crafted requests.

What to do now
  • Please upgrade to FortiOS-6K7K version 7.0.12 or above Please upgrade to FortiOS-6K7K version 6.4.13 or above Please upgrade to FortiOS-6K7K version 6.2.15 or above Please upgrade to FortiOS-6K7K version 6.0.17 or above Please upgrade to FortiProxy version 7.2.4 or above Please upgrade to FortiProxy version 7.0.10 or above Please upgrade to FortiOS version 7.4.0 or above Please upgrade to FortiOS version 7.2.5 or above Please upgrade to FortiOS version 7.0.12 or above Please upgrade to FortiOS version 6.4.13 or above Please upgrade to FortiOS version 6.2.14 or above Please upgrade to FortiOS version 6.0.17 or above
  • CISA requires US federal agencies to fix it by 4 Jul 2023.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
FortiOS-6K7K
7.0.10
Not confirmed
CVE record
FortiOS-6K7K
7.0.5
Not confirmed
CVE record
FortiOS-6K7K
6.4.12
Not confirmed
CVE record
FortiOS-6K7K
6.4.10
Not confirmed
CVE record
FortiOS-6K7K
6.4.8
Not confirmed
CVE record
FortiOS-6K7K
6.4.6
Not confirmed
CVE record
FortiOS-6K7K
6.4.2
Not confirmed
CVE record
FortiOS-6K7K
6.2.9 to 6.2.13
Not confirmed
CVE record
FortiOS-6K7K
6.2.6 to 6.2.7
Not confirmed
CVE record
FortiOS-6K7K
6.2.4
Not confirmed
CVE record
FortiOS-6K7K
6.0.12 to 6.0.16
Not confirmed
CVE record
FortiOS-6K7K
6.0.10
Not confirmed
CVE record
FortiProxy
7.2.0 to 7.2.3
Not confirmed
CVE record
FortiProxy
7.0.0 to 7.0.9
Not confirmed
CVE record
FortiProxy
2.0.0 to 2.0.12
Not confirmed
CVE record
FortiProxy
1.2.0 to 1.2.13
Not confirmed
CVE record
FortiProxy
1.1.0 to 1.1.6
Not confirmed
CVE record
FortiOS
7.2.0 to 7.2.4
Not confirmed
CVE record
FortiOS
7.0.0 to 7.0.11
Not confirmed
CVE record
FortiOS
6.4.0 to 6.4.12
Not confirmed
CVE record
FortiOS
6.2.0 to 6.2.13
Not confirmed
CVE record
FortiOS
6.0.0 to 6.0.16
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. 9 Mar 2023
    CVE ID reserved by fortinet.
  2. 13 Jun 2023
    Published in the CVE List.
  3. 13 Jun 2023
    Added to CISA's Known Exploited Vulnerabilities list.
  4. 13 Jun 2023
    CISA lists known use in ransomware campaigns.
  5. 16 Jun 2023
    First public proof of concept on GitHub.
  6. 31 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
12 repositories
1 flagged suspicious
GitHubno warning signs foundBishopFox/CVE-2023-27997-check134 stars · created 16 Jun 2023Safely detect whether a FortiGate SSL VPN instance is vulnerable to CVE-2023-27997 based on response timing
GitHubno warning signs foundlexfo/xortigate-cve-2023-2799763 stars · created 12 Oct 2023xortigate-cve-2023-27997
GitHubno warning signs foundrio128128/CVE-2023-27997-POC27 stars · created 16 Jun 2023POC FortiOS SSL-VPN buffer overflow vulnerability
GitHubno warning signs founddelsploit/CVE-2023-279979 stars · created 12 Oct 2023
GitHubno warning signs foundTechinsightsPro/ShodanFortiOS2 stars · created 11 Jul 2023Search vulnerable FortiOS devices via Shodan (CVE-2023-27997)
GitHubno warning signs foundVampsecure-Labs/vamp-forticheck2 stars · created 31 Jul 2026VampSecure Labs: FortiOS CVE scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)
GitHubno warning signs foundimbas007/CVE-2023-27997-Check1 stars · created 22 Jun 2023
GitHubsuspicious, do not runabraxas/Fortigate-SSL-VPN-Exploit-KitNo link: this repository shows warning signs. Do not run it.Why: advertises a ready-made exploit
GitHubno warning signs foundpuckiestyle/cve-2023-279970 stars · created 23 Jun 2023
GitHubno warning signs foundCyb3rEnthusiast/CVE-2023-279970 stars · created 3 Sep 2023How to get access via CVE-2022-27997

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 FortiProxy vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-27997: Remote code execution in Fortinet FortiProxy. https://patchminder.com/cve/cve-2023-27997/ (accessed 5 December 2026).