CVE

FortiSIEM gRPC Exposure (CVE-2026-106173)

Check which FortiSIEM appliances expose the phQueryMaster gRPC port behind CVE-2026-106173, the path traversal Horizon3 turned into a public proof of concept.

AuthorTrickest
100%

Notes on this workflow

Overview: FortiSIEM phQueryMaster gRPC exposure check for CVE-2026-106173 (path traversal to arbitrary file write / cron-delayed RCE, CWE-22, CVSS 3.1 9.4 vendor / 9.8 NVD base-only). EXPOSURE FINGERPRINT ONLY on the single advisory-scoped surface tcp/27918. NO traversal or NUL payloads ever — any RPC call writes files on the target. NOT KEV; ITW unconfirmed (public PoC only).

Results: out/results.jsonl + out/findings.jsonl (exposed -> CRITICAL when version affected or unverified, MEDIUM when version evidence says not affected; port_open -> review; no_rpc_ever_called and no_traversal_or_nul stated). All probe fields carried through.

How it works: TCP connect -> TLS handshake -> HTTP/2 prior-knowledge preface + empty SETTINGS exchange. The outbound payload is a fixed module-level constant (preface + empty SETTINGS); the guard aborts on any other payload, so traversal or NUL bytes cannot leave the node. Verdicts capped at exposure (exposed / port_open / not_exposed / error); optional inventory version (7.0.0-7.5.0 affected, 7.5.1+/7.6/6.x not) modulates severity in the report only.

Target: one target per line, host or host:port. The guard pins the probe to port 27918; other FortiSIEM ports are never contacted.

Overview

This workflow checks which FortiSIEM appliances have the phQueryMaster gRPC service reachable, the surface behind CVE-2026-106173. The service binds to TCP 27918 on all interfaces, and its result-delivery RPC trusts a caller-supplied path, which is the path traversal Horizon3.ai turned into an unauthenticated arbitrary-file-write-to-code-execution proof of concept a week after Fortinet's advisory. The vulnerability is critical and the exploit is public, but the record is not on CISA KEV and EPSS is still low, so exposure of the port is the practical prioritization signal. The gRPC protocol itself is never spoken: the workflow checks reachability and fingerprints the product, and it never says vulnerable on a port alone. Each appliance comes back with a verdict you can feed into exposure management.

Pipeline

  1. Read the target list and confirm each host answers as FortiSIEM on its management surface where one is probed.
  2. Check TCP 27918 with a connect-and-close observation. No gRPC handshake, no service invocation, no payload.
  3. Score exposure: a confirmed FortiSIEM with the port reachable is exposed; a port that answers on an unconfirmed host is port_open and needs product confirmation; an appliance where the port is closed is not exposed through this path.
  4. Fold in the optional version inventory when supplied, since 7.0 through 7.4 trains have no fix at all and 7.5.1 or later carries it. Version evidence modulates severity, never the exposure verdict.
  5. Reconcile one verdict per target and write findings plus summary counts.

Inputs

  • Target list. FortiSIEM appliance addresses you are authorized to test. The default file ships a sample host; bind your own.
  • Version inventory. Optional host-to-version rows that sharpen severity.

Outputs

  • findings.jsonl. One row per appliance: target, product confirmation, port reachability, version when supplied, verdict, severity, and evidence.
  • summary.jsonl. One line with verdict counts and the sorted target lists per verdict.

Integrations

  • TCP connect-and-close on the gRPC port, with no protocol data, plus optional management-surface identification.

Sample output

The records below are illustrative and do not come from a real run. They show an appliance with the port reachable, one where only the port answered, and one with the port closed.

targetis_productgrpc_port_reachableversionverdictdetailerror
siem-a.example.comtruetrue7.3.2exposedphQueryMaster port reachable on a confirmed FortiSIEM; 7.3 has no fixnull
siem-b.example.orgnulltruenullport_openport answers but FortiSIEM is not confirmed; confirm the asset ownernull
siem-c.example.nettruefalse7.5.1not_exposedport not reachable through the tested pathnull
{"cve": "CVE-2026-106173", "product": "Fortinet FortiSIEM", "total_targets": 3, "verdict_counts": {"exposed": 1, "port_open": 1, "not_exposed": 1}, "exposed_targets": ["siem-a.example.com"], "port_open_targets": ["siem-b.example.org"], "not_exposed_targets": ["siem-c.example.net"], "error_targets": []}

FAQ

Does an open port mean the appliance is exploitable?

No, and the workflow never claims it. The port is the reachability condition for the traversal; exploiting it needs gRPC requests with attacker-controlled paths, which the workflow never sends. An exposed row means patch or restrict TCP 27918 now, not that anyone got in.

Which versions are affected?

7.5.1 or later carries the fix. The 7.0 through 7.4 trains have no fixed release, so those appliances need the network workaround, restricting TCP 27918, or a migration. FortiSIEM Cloud is not affected.

Why check the port instead of speaking gRPC?

A crafted call to the service's query RPC is the exploit. A connect-and-close observation tells you the same operational thing, whether the attack surface is reachable, without touching the protocol.

What is CVE-2026-106173?

Path traversal in the FortiSIEM phQueryMaster gRPC service, allowing an unauthenticated attacker to write files and reach code execution. Fortinet disclosed it in October 2026 and Horizon3 published a working proof of concept a week later.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.