# CVE-2026-35616: FortiClient EMS API authentication bypass, exploited as a zero-day

A crafted unauthenticated request to the FortiClient EMS API bypasses authentication and authorization and can run code or commands. Exploited since at least March 31, 2026, listed in CISA KEV, and used in May to push an infostealer. A public PoC is on GitHub and EPSS is now 94%.

- Vendor: Fortinet, FortiClient EMS
- Severity: CRITICAL (CVSS 3.1 9.1)
- Exploited (CISA KEV): yes, added 2026-04-06
- EPSS: 94.0% on 2026-11-23
- Public exploit: yes
- Patch available: yes
- Vendor advisory: FG-IR-26-099, https://fortiguard.fortinet.com/psirt/FG-IR-26-099
- Published: 2026-04-04; updated: 2026-10-22
- Page: https://patchtonight.com/cve/CVE-2026-35616/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiClient EMS 7.4.5 to 7.4.6 | Fortinet hotfix for 7.4.5 or 7.4.6, or 7.4.7 or later |
| FortiClient EMS 8.0 and 7.2 | Not affected |
| FortiClient Cloud, FortiSASE | Already remediated by Fortinet, no action needed |

## What it is

FortiClient EMS is the server that manages FortiClient on your endpoints: policies, VPN profiles and scripts. In 7.4.5 and 7.4.6, its API has an improper access control flaw (CWE-284). An unauthenticated attacker can send crafted requests that are treated as privileged administrative actions. Fortinet says this may allow unauthorized code or commands.

This was a **zero-day**. watchTowr saw exploitation on March 31, 2026, and Defused reported it to Fortinet before the April 4 advisory. CISA added it to KEV on April 6.

The server is also a distribution point. In May, Arctic Wolf saw attackers use the bypass to edit a Remote Access Profile and an endpoint policy so a malicious script ran on managed Windows machines when they opened an IPsec tunnel. The script ran a credential stealer, which Arctic Wolf calls EKZ Infostealer, disguised as a Fortinet patch. It takes browser passwords, cookies and autofill data.

Fortinet says the same product had another exploited bug shortly before this one, CVE-2026-21643, which Defused also found. watchTowr says it has not confirmed the two are linked.

A public proof of concept is on GitHub (user Alaatk). Its README describes an exploit for the auth bypass in 7.4.5 and 7.4.6. Tenable noted a GitHub PoC in April but had not verified it, and we have not tested this one. FIRST's EPSS now puts exploitation probability at 94% (100th percentile), up from 9.1%. Expect more opportunistic scanning.

Scores differ by source: the CVE record carries CVSS 9.1, while Fortinet's advisory page and the NVD entry show 9.8. Either way it is critical.

## Am I affected?

You are affected if you run **FortiClient EMS 7.4.5 or 7.4.6** without the hotfix. Fortinet lists FortiClient EMS **8.0 and 7.2 as not affected**. FortiClient Cloud and FortiSASE were already remediated by Fortinet.

The advisory names no extra configuration requirement. Treat any 7.4.5 or 7.4.6 server as exposed, and treat one whose API is reachable from the internet as urgent. Shadowserver counted more than 2,000 exposed EMS instances, mostly in the USA and Germany, and that count may include honeypots.

Check the version shown by your EMS server. If you run 7.4.5 or 7.4.6, confirm the hotfix is installed using the build information in Fortinet's release notes.

## What to do

1. **Apply Fortinet's hotfix for 7.4.5 or 7.4.6, or upgrade to 7.4.7 or later.** Fortinet says the hotfix fully prevents the issue. Don't wait for 7.4.7 if you haven't patched. The hotfix instructions are in the 7.4.5 and 7.4.6 release notes.
2. **Restrict network access to the EMS management port (8013)** to trusted IP ranges (Arctic Wolf). Fortinet's advisory lists no workaround other than the hotfix, so this reduces exposure but doesn't replace patching.
3. **If the server was reachable while vulnerable, assume it may be compromised.** watchTowr advises against cleaning in place. Restore from a known-good backup from before the likely compromise window, or rebuild and migrate data.
4. **Audit the configuration** for changes you didn't make: endpoint policies, VPN profiles and Remote Access Profiles (especially added scripts), administrator accounts, application firewall rules and compliance settings.
5. **If endpoints ran the fake patch,** treat browser credentials and session cookies on them as stolen. Arctic Wolf advises resetting passwords, revoking sessions for cloud and internal apps, and reissuing payment cards saved in browser autofill.

## Detection

Search from **March 31, 2026** onward. Arctic Wolf's strongest signals are on the EMS server:

- The log line `Certificate not found in request header.` It appeared in both lab and real exploitation.
- Within seconds, a second line: `Certificate user: fortinet-ca2 FortiGate: Fabric device (SN=fortinet-ca2) successfully updated`. Arctic Wolf saw this only in real attacks.
- New or unexpected EMS accounts, and logins from Tor, VPS providers or unfamiliar networks. In Arctic Wolf's cases, malicious logins from Tor exit nodes followed within hours.
- Changes to the `remind_upgrade_after` setting, and Remote Access Profile or endpoint policy edits that add an `on_connect` or script action.

On managed endpoints:

- The process chain `fortitray.exe` or `ipsec.exe`, then `cmd.exe`, then `powershell.exe`, then `FortiEndpoint_Patch.exe`. The `.cmd` file is a GUID name under `C:\Program Files\Fortinet\FortiClient\logs\Trace\scripts\`.
- Base64-encoded PowerShell that starts right after a VPN or IPsec tunnel comes up.
- A FortiEndpoint executable running from `C:\ProgramData`, and `C:\ProgramData\log.txt` being created, read by PowerShell and then deleted.

On the network, look for any host that downloads an executable from a raw IP over HTTP, or POSTs to `83.138.53[.]110`.

watchTowr and Fortinet published no indicators for the initial March exploitation, so detection for that period depends on log review and configuration audit.

## Sources

- [Fortinet advisory FG-IR-26-099](https://fortiguard.fortinet.com/psirt/FG-IR-26-099)
- [CVE record (Fortinet CNA)](https://cveawg.mitre.org/api/cve/CVE-2026-35616)
- [NVD entry with CISA KEV fields](https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-35616)
- [watchTowr analysis](https://watchtowr.com/resources/fortinet-forticlient-ems-zero-day-cve-2026-35616-active-exploitation-underway/)
- [Arctic Wolf, EKZ Infostealer campaign](https://arcticwolf.com/resources/blog/forticlient-ems-exploited-via-cve-2026-35616-to-deliver-ekz-infostealer-disguised-as-a-fortinet-patch/)
- [BleepingComputer, Defused and Shadowserver reporting](https://www.bleepingcomputer.com/news/security/new-fortinet-forticlient-ems-flaw-cve-2026-35616-exploited-in-attacks/)
- [Tenable, public PoC on GitHub](https://tenable.com/blog/cve-2026-35616-fortinet-forticlientems-improper-access-control-vulnerability-exploited-in-the)
- [Cyber Security News, PoC release](https://cybersecuritynews.com/poc-released-for-forticlient-ems-vulnerability/amp/)
- [GitHub PoC repository (Alaatk)](https://github.com/Alaatk/CVE-2026-35616)
- [FIRST EPSS](https://www.first.org/epss/)
- [Help Net Security, campaign summary](https://www.helpnetsecurity.com/2026/05/29/forticlient-ems-vulnerability-infostealer/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
