Exploited vulnerability

Fortinet FortiClientEMS SQL Injection (CVE-2026-21643)

A critical SQL injection in the web interface of Fortinet FortiClientEMS 7.4.4.

  • On CISA KEV
CVE ID
CVE-2026-21643
CVSS
9.8 Critical base and 9.1 temporal (CVSS v3.1, Fortinet advisory; NVD lists 9.8 from Fortinet; the CVE record shows 9.1 with temporal metrics); no CVSS 4.0 score in the record or NVD
CISA KEV
Listed
Affected product
Fortinet FortiClientEMS 7.4.4
Exploited
Yes
Published
6 February 2026 (Fortinet advisory FG-IR-25-1142 and CVE record); CISA KEV 13 April 2026

In short

CVE-2026-21643 is a critical SQL injection in the web interface of Fortinet FortiClientEMS 7.4.4. An unauthenticated attacker can send crafted HTTP requests to run unauthorized code or commands. Fortinet fixed it in 7.4.5, and CISA added it to the KEV catalog on 13 April 2026.

Profile MapVulnerability
  1. CVECVE-2026-21643
  2. ProductFortinet Fortinet FortiClientEMS 7.4.4
  3. CISA KEVListedKnown Exploited Vulnerabilities
  4. ExploitedYesin real attacks
  5. Fix Steps5actions listedRotate Secrets After Patching

What it allows

Fortinet's advisory FG-IR-25-1142, titled "SQLi in administrative interface," describes an improper neutralization of special elements in an SQL command (CWE-89). It says this may let an unauthenticated attacker "execute unauthorized code or commands via specifically crafted HTTP requests." Fortinet lists the component as the GUI and the severity as Critical.

Fortinet says its own Product Security team found the flaw internally and credits Gwendal Guégniaud. The SQL injection glossary entry explains the bug class.

Where the Injection Sits

Bishop Fox, which published its own analysis on 9 March 2026, traced the bug to the multi-tenant "Sites" feature. It says FortiClientEMS 7.4.4 copies the HTTP Site header into a PostgreSQL SET search_path statement without any filtering. That happens before the login check runs.

Bishop Fox confirmed the injection in a lab on two pre-authentication endpoints, /api/v1/auth/signin and /api/v1/init_consts. It says the second returns database errors in the response body and has no lockout, so an attacker can read data one request at a time. Bishop Fox also says single-site installs are not affected, a point Fortinet's advisory does not state.

What an Attacker Gains

Bishop Fox says a successful request runs arbitrary SQL with the rights of the EMS database user. It reports that in the virtual machine image Fortinet ships, that user is a PostgreSQL superuser. In its lab that allowed file creation on the host as the postgres system user.

The researchers also list admin password hashes, API tokens, the endpoint inventory and ZTNA certificates as data within reach. Those are lab findings from Bishop Fox, not statements from Fortinet.

Exploitation Signals for CVE-2026-21643

CISA added the flaw to KEV on 13 April 2026, 66 days after Fortinet published the advisory. We checked these public signals on 4 November 2026.

Exploit signals
  • CISA KEVYesAdded 13 April 2026 with a due date of 16 April 2026; ransomware campaign use is marked Unknown3 Nov
  • Exploitation in CISA SSVCYesExploitation active, automatable yes, technical impact total6 Feb
  • Fortinet advisoryYesThe summary says it "has been observed to be exploited in the wild"; its details table lists Known Exploited as No4 Nov
  • EPSSYesScore 0.97735, percentile 0.99905 on 3 November3 Nov
  • Public PoC code on GitHubYesTwo repositories created 27 and 28 March 2026: a safe error-based checker with a Nuclei template, and an exploit write-up4 Nov
  • Brandefense BlackholeYesTwo Telegram posts. An 8 June 2026 digest says the flaw was exploited in attacks. A 2 June 2026 post advertises an attack toolkit with a module for this CVE4 Nov
Verdict In CISA KEV since 13 April 2026; the Fortinet advisory text says exploitation wa

The advisory's two statements about exploitation disagree, so we rely on the KEV listing and the SSVC entry. The CVE record's CISA enrichment also lists a GitHub exploit link among its references.

Fortinet has other management-plane flaws on this site, such as the FortiManager missing authentication flaw CVE-2024-47575. FortiClientEMS is a separate product with its own fix path.

Who is affected

Fortinet's advisory lists one affected release in one product family. FortiClientEMS 7.4.4 is the only affected version, and 7.4.5 is the fix. The record's CPE entry and NVD agree.

FortiClientEMSFortinet advisorySolution
7.4Affected7.4.4Fixedupgrade to 7.4.5 or above
  • Affected
  • Fixed

The advisory timeline says Fortinet removed FortiEMS Cloud on 6 February 2026 because it is not affected. Bishop Fox adds that the vulnerable code was introduced in a 7.4.4 refactoring and replaced in 7.4.5, so the flaw lived for one release.

Bishop Fox says the fix switched to parameterized identifier handling. We recommend upgrading even if you believe multi-tenant mode is off. Our patch management entry covers how to verify a rollout.

Timeline

  1. 2 Jan 2026

    Fortinet reserves CVE-2026-21643.

  2. 6 Feb 2026

    Fortinet publishes FG-IR-25-1142 and the CVE record. The same day it removes FortiEMS Cloud from the advisory as not affected.

  3. 9 Mar 2026

    Bishop Fox publishes its analysis of the Site header injection.

  4. 27 Mar 2026

    The earliest GitHub repository we found for the CVE is created.

  5. 13 Apr 2026

    CISA adds the CVE to KEV with a due date of 16 April 2026.

  6. 17 Jun 2026

    NVD last modifies the analyzed entry.

  7. 3 Nov 2026

    EPSS scores the CVE at 0.97735.

What to do

  1. Upgrade FortiClientEMS 7.4.4 to 7.4.5

    Fortinet's solution is 7.4.5 or above. Versions 7.2 and 8.0 are listed as not affected.

  2. Limit Who Can Reach the EMS Web Interface

    Until the upgrade is done, allow HTTPS to the EMS server only from management networks. Bishop Fox says the attack needs only HTTPS access and no credentials.

  3. Review Logs for the Bishop Fox Indicators

    Bishop Fox suggests checking Apache logs for slow responses on /api/v1/auth/signin and /api/v1/init_consts, and for HTTP 500 on init_consts. In the PostgreSQL error log, look for SET search_path values that contain quotes or semicolons.

  4. Rotate Secrets After Patching

    Bishop Fox lists admin password hashes and API tokens as extractable. We recommend rotating EMS admin passwords and tokens if the server ran 7.4.4 while reachable.

  5. Treat the KEV Due Date as Passed

    CISA's required action is to apply the vendor's mitigations or stop using the product. The due date was 16 April 2026, so an unpatched 7.4.4 server is already overdue.

Questions

Is CVE-2026-21643 exploited?

CISA lists it in KEV, added on 13 April 2026, and its SSVC entry records exploitation as active. Fortinet's advisory summary says it has been observed exploited in the wild.

Which FortiClientEMS versions are affected by CVE-2026-21643?

Only 7.4.4. Fortinet lists 7.2 and 8.0 as not affected, and the fix is 7.4.5 or above.

Does CVE-2026-21643 need multi-tenant mode?

Bishop Fox says the injection works through the multi-tenant Site header and that single-site installs are not affected. Fortinet's advisory does not say this, so upgrade every 7.4.4 server.

Why do the CVSS scores differ for CVE-2026-21643?

Fortinet's advisory gives base 9.8 and temporal 9.1. NVD shows 9.8, while the CVE record lists 9.1 together with temporal metrics.

Sources

  1. SQLi in administrative interface (FG-IR-25-1142) Fortinet FortiGuard PSIRT
  2. CVE-2026-21643 Record CVE Program / Fortinet CNA
  3. CVE-2026-21643 NVD
  4. Known Exploited Vulnerabilities Catalog, CVE-2026-21643 CISA
  5. Pre-Authentication SQL Injection in FortiClient EMS 7.4.4 Bishop Fox
  6. Exploit Prediction Scoring System (EPSS) FIRST