Tia N.List

KEV catalog · CISA Known Exploited Vulnerabilities

CVE-2026-21643 9.8
Fortinet · FortiClient EMS · Added 2026-04-13 · Published 2026-02-06
3-Day Required PoC Available KEV Automatable

Details

VulnerabilityFortinet FortiClient EMS SQL Injection Vulnerability
VendorFortinet
ProductFortiClient EMS
Date added2026-04-13
Due date2026-04-16
Required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CWECWE-89
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.2045 · 98th percentile · 2026-11-29 · 7d -0.7728
EPSS trend 0.9770 → 0.2050 -0.7720 over 21 observations
Descriptions

KEV: Fortinet FortiClient EMS contains a SQL injection vulnerability that may allow an unauthenticated attacker to execute unauthorized code or commands via specifically crafted HTTP requests.

NVD: An improper neutralization of special elements used in an sql command ('sql injection') vulnerability in Fortinet FortiClientEMS 7.4.4 may allow an unauthenticated attacker to execute unauthorized code or commands via specifically crafted HTTP requests.

Compliance SSVC + BOD 26-04

Automatableyes
Technical impacttotal
Exploitation statusunknown
3-day qualifyingYes
Public timeline3 days + forensic
Non-public timeline3 days + forensic
Forensic (public)Required
Forensic (non-public)Required

Research metadata

Last researched2026-06-12 20:05 UTC
Wall time180.0s
Searches3
Component defaultconditional

QC notes

warn component_extraction: Component 'FortiClient EMS administrative web interface - specifically the SiteMiddleware (site_middleware.py) and PostgresConnection (postgres_conn.py) components that handle the 'Site' HTTP header for multi-tenant routing; the vulnerable endpoint is GET /api/v1/init_consts where the unsanitized 'Site' header is interpolated into a PostgreSQL SET search_path query' matches or contains product name 'FortiClient EMS' — no specific component identified

Hunting hypothesis agent

Monitor for HTTP requests to FortiClient EMS /api/v1/init_consts endpoint containing SQL injection payloads in the "Site" header targeting the PostgreSQL backend.

Research details

ComponentFortiClient EMS administrative web interface - specifically the SiteMiddleware (site_middleware.py) and PostgresConnection (postgres_conn.py) components that handle the 'Site' HTTP header for multi-tenant routing; the vulnerable endpoint is GET /api/v1/init_consts where the unsanitized 'Site' header is interpolated into a PostgreSQL SET search_path query
PreconditionsNetwork reachability to the FortiClient EMS HTTPS web interface (typically TCP port 443); Multi-tenant mode must be enabled (SITES_ENABLED=true in /api/v1/init_consts response); Target must be running FortiClient EMS version 7.4.4 only (versions 7.4.0-7.4.3 and 7.2.x may also be affected per some research); No authentication required; No user interaction required agent
DeliveryRemote network delivery: An unauthenticated attacker sends crafted HTTP requests (typically GET to /api/v1/init_consts or POST to /api/v1/auth/signin) with a malicious 'Site' HTTP header containing SQL injection payloads. The injection breaks out of the SET search_path string context using a single quote and semicolon, allowing stacked SQL queries against the backend PostgreSQL (or MSSQL) database. If the backend is MSSQL, the attacker can enable xp_cmdshell and execute OS commands as SYSTEM. The attack requires no user interaction and no prior authentication.
Public PoCyes
Exploit notesCVSS attack complexity: LOW | CRITICAL severity (CVSS >= 9.0). Multiple public PoCs exist including Python scripts and a Nuclei template. The vulnerability is trivial to exploit - a single crafted HTTP request with a malicious 'Site' header triggers SQL injection. Error-based extraction via init_consts endpoint returns PostgreSQL errors in HTTP 500 responses with no rate limiting, making data exfiltration straightforward.
SummaryCVE-2026-21643 is a pre-authentication SQL injection in FortiClient EMS 7.4.4 caused by the 'Site' HTTP header being unsanitized and directly concatenated into a PostgreSQL SET search_path query in postgres_conn.py. Attackers can exploit the publicly accessible /api/v1/init_consts endpoint (no lockout protection, returns database errors) to extract admin credentials, endpoint inventory, and certificates, then chain to RCE via stacked queries enabling xp_cmdshell (on MSSQL backend) or PostgreSQL functions for OS command execution. Detection focuses on sqlservr.exe spawning shell processes (cmd.exe/powershell.exe), anomalous HTTP headers containing SQL keywords (xp_cmdshell, sp_configure), and FCTDas*.log files showing SqlException traces.

Tia coverage

First reported2026-10-13

When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.

Mentioned in

fortinet-october-2026-advisories-patch-fortisandbox-and-fortisie

Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.

Source on GitHub