Knox CVE Database
/
CVE-2026-21643
Critical
9.8

CVE-2026-21643: Fortinet FortiClient EMS SQL Injection Vulnerability

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.

Added to the CISA KEV catalog:
April 13, 2026

Overview

FortiClient EMS 7.4.4 contains a SQL injection flaw in its HTTP API that allows an unauthenticated remote attacker to send a crafted request and interact directly with the underlying PostgreSQL database. No credentials or user interaction are required. Successful exploitation can expose database contents, manipulate stored data, or potentially achieve OS-level command execution on the EMS server depending on backend configuration. The flaw is actively exploited and listed in CISA's Known Exploited Vulnerabilities catalog.

Vulnerability details

Affected vendor
Fortinet
Affected product
FortiClient EMS
Weakness type (CWE)
CWE-89

The vulnerability is a classic CWE-89 SQL injection: user-supplied input is incorporated into a SQL query without sanitization, allowing an attacker to break out of the intended query context and inject arbitrary SQL. In FortiClient EMS, the injection point is the HTTP 'Site' header processed by the /api/v1/init_consts endpoint. Because the header value is passed directly into a PostgreSQL query without escaping or parameterization, an attacker controls the SQL that the database engine executes. The backend is PostgreSQL, which exposes functions capable of reading files, writing files, and executing OS commands under certain privilege configurations.


An attacker with network access to the EMS management interface sends an unauthenticated HTTP GET request to /api/v1/init_consts with a malicious SQL payload embedded in the 'Site' header. No authentication token or prior session is needed. At minimum, the attacker can extract database contents including schema, credentials, and endpoint configuration. Whether the PostgreSQL service account holds privileges sufficient to chain SQL functions into OS command execution is not confirmed by the available facts; the advisory does not specify the database account's OS-level privilege configuration. The only precondition is that the EMS web interface is reachable over the network.

Severity and impact

9.8
Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Exploitation status

This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Known ransomware campaign use
Unknown

Detection and monitoring

  • Monitor web server or application logs for requests to /api/v1/init_consts that include anomalous 'Site' header values: SQL metacharacters (semicolons, double-dashes, single quotes), function names such as pg_sleep, version(), or current_database(), or values substantially longer than a normal tenant identifier.
  • Review PostgreSQL query logs for unexpected statements originating from the EMS application account, particularly time-delay functions (pg_sleep), COPY TO/FROM PROGRAM constructs, or queries referencing system tables (pg_user, information_schema) that the application would not normally issue.
  • Alert on HTTP 400 or 500 responses from the EMS API that include PostgreSQL error strings in the response body, which indicate error-based injection attempts are reaching the database layer.

Remediation

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Federal (FCEB) remediation due date
April 16, 2026

Additional hardening

  • Update FortiClient EMS to a version later than 7.4.4 per the vendor advisory (FG-IR-25-1142); the affected version listed in the facts is 7.4.4 with no fixed boundary specified beyond that release, so consult the vendor advisory in References for the confirmed fixed build.
  • Restrict network access to the EMS management interface to trusted administrative hosts and management VLANs only; the attack requires direct HTTP reachability to the EMS web port, so firewall rules blocking untrusted sources eliminate remote exploitation.
  • Review and reduce the OS-level privileges of the PostgreSQL service account running under EMS; limiting the account to the minimum required database permissions reduces the potential impact of any SQL injection attempt.
  • Enable detailed PostgreSQL query logging and forward logs to a SIEM for alerting on anomalous query patterns; this provides both detection coverage and forensic evidence if exploitation is attempted against unpatched instances.

Key dates

Published (NVD)
February 6, 2026
Added to CISA KEV
April 13, 2026
Remediation deadline
April 16, 2026
Last updated
June 17, 2026

References

Frequently asked questions

Does CVE-2026-21643 affect my FedRAMP authorization?

If Fortinet FortiClient EMS runs inside your authorization boundary, yes. CVE-2026-21643 appears in CISA's Known Exploited Vulnerabilities (KEV) catalog, and its remediation deadline of April 16, 2026 has already passed. For a FedRAMP-authorized service, an unpatched KEV in your boundary is an assessor finding. An overdue one is a finding your assessor and sponsoring agency can already see. Your options now are to remediate it or formally document the mitigation and the delay.

How does Knox help me handle CVE-2026-21643?

Knox does not patch your software. Remediating Fortinet FortiClient EMS is your responsibility under the FedRAMP shared-responsibility model. What Knox provides is the pre-authorized, single-tenant boundary to remediate within, along with continuous compliance monitoring and audit-artifact coverage to help you document the fix for your next assessment. The remediation work is yours to carry out; maintaining a defensible compliance posture while you do it is not something you manage on your own.

How does Knox's monitoring help with vulnerabilities like this?

Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on an ongoing basis. For a CVE like CVE-2026-21643, that means exposure surfaces during continuous monitoring rather than only when an assessor flags it at a scheduled review.

How do I get FedRAMP authorized with Knox?

Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.

CVE-2026-21643's remediation deadline of April 16, 2026 has passed. What happens now?

If CVE-2026-21643 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing it out now and documenting why the deadline slipped is what keeps your authorization clean and the agency relationship intact.

Access continuous compliance

We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.