Unauthenticated Path Traversal and Remote Code Execution in Fortinet FortiSIEM
CVE-2026-106173 is a path traversal vulnerability in the phQueryMaster gRPC component of Fortinet FortiSIEM 7.5.0. The SendQueryResult handler processes QueryResultReq messages and constructs output paths using insufficiently validated, attacker-controlled query-id metadata. Directory traversal permits writes outside the intended query-results directory, while embedded NUL bytes bypass the automatically appended filename suffix, enabling precise file overwrites. An unauthenticated remote attacker can convert this arbitrary file-write capability into code execution by overwriting a script executed by an existing scheduled job. Public proof-of-concept code is available, and active exploitation has been confirmed without public attribution.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises system integrity through attacker-controlled file creation or overwrite and can lead to arbitrary command execution on the affected appliance. Code execution can expose sensitive information accessible to the execution context, alter security-monitoring functionality or collected data, and disrupt SIEM availability. Overwriting existing files preserves their ownership and permissions, allowing an existing scheduled execution mechanism to run malicious replacement content.
If you can’t patch tonight, do this now.
Until upgrading, restrict TCP port 27918 to authorized, trusted systems and prevent public internet access to the service. Controls protecting other FortiSIEM services do not necessarily protect this separate gRPC endpoint. No virtual patch is available. Inspect relevant appliance scripts and executables for unexpected changes and anomalous modification times; application logs may not explicitly identify exploitation, and timestamp anomalies alone do not prove compromise.
Patch, then assume compromise.
Upgrade FortiSIEM 7.5.0 to version 7.5.1 or a later vendor-supported fixed release, following Fortinet advisory FG-IR-26-180. The FortiSIEM 7.6 branch is listed as unaffected. Investigate potentially exposed appliances for unauthorized file modifications; applying the update does not establish that a previously exposed appliance is uncompromised.
5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
83 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.