# CVE-2025-64155: FortiSIEM command injection gives root without a login, exploited

An unauthenticated attacker who can reach FortiSIEM's phMonitor service can write files and run code as root. Horizon3 published a working exploit on patch day, and Defused saw attacks two days later.

- Vendor: Fortinet, FortiSIEM (phMonitor service)
- Severity: CRITICAL (CVSS 3.1 9.4)
- Exploited (CISA KEV): not listed
- EPSS: 43.9% on 2026-11-23
- Public exploit: yes
- Patch available: yes
- Vendor advisory: FG-IR-25-772, https://fortiguard.fortinet.com/psirt/FG-IR-25-772
- Published: 2026-01-13; updated: 2026-10-13
- Page: https://patchtonight.com/cve/CVE-2025-64155/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiSIEM 7.4.0 | 7.4.1 or later |
| FortiSIEM 7.3.0 to 7.3.4 | 7.3.5 or later |
| FortiSIEM 7.2.0 to 7.2.6 | 7.2.7 or later |
| FortiSIEM 7.1.0 to 7.1.8 | 7.1.9 or later |
| FortiSIEM 7.0.0 to 7.0.4 | Migrate to a fixed release |
| FortiSIEM 6.7.0 to 6.7.10 | Migrate to a fixed release |
| FortiSIEM 7.5, FortiSIEM Cloud, Collector nodes | Not affected |

## What it is

FortiSIEM's **phMonitor** service accepts dozens of commands over the network **without any authentication**. Horizon3.ai found that one of them, a storage configuration request with the storage type set to `elastic`, passes attacker-controlled XML into a shell script that tests the connection. Argument injection there lets an attacker **download a file to any path the admin user can write** (CWE-78).

Horizon3 chains that with a second bug: `/opt/charting/redishb.sh` is writable by the admin user but run by **root** every minute. Overwriting it gives root on the FortiSIEM node. Fortinet scores the result 9.4 in the CVE record; its advisory says 9.8.

Horizon3 published a working exploit on GitHub on patch day, January 13, 2026. Two days later, Defused reported "active, targeted exploitation" in its honeypots, according to BleepingComputer. Fortinet's advisory had not been updated to say so, and the CVE is not in CISA's KEV catalog.

phMonitor has been the way in for earlier FortiSIEM bugs too. Horizon3 found this one while looking at CVE-2025-25256.

## Am I affected?

**Yes, if a FortiSIEM Super or Worker node runs an affected version (table above) and an attacker can reach the phMonitor port, TCP 7900.**

- **Not affected:** FortiSIEM 7.5, FortiSIEM Cloud and Collector nodes.
- **No fix coming:** 7.0 and 6.7 get no patch. Fortinet says to migrate to a fixed release.

FortiSIEM holds logs and credentials for much of your environment, so root on it is serious even if it isn't internet-facing.

## What to do

1. **Upgrade every Super and Worker node** to 7.4.1, 7.3.5, 7.2.7, 7.1.9 or later, or to 7.5. On 7.0 or 6.7, plan the migration now.
2. **Until then, restrict access to TCP 7900.** This is Fortinet's only workaround. Only other FortiSIEM nodes should be able to reach it.
3. **Keep FortiSIEM off the internet** and in its own network segment, as Arctic Wolf recommends.
4. **Check for compromise** (below), especially if port 7900 was reachable from untrusted networks after January 13.
5. **If you find signs,** treat the node as compromised by root: rebuild it, and rotate the credentials FortiSIEM stores for the devices and services it collects from.

## Detection

Horizon3 points to the phMonitor message log:

- In `/opt/phoenix/log/phoenix.logs`, look for lines with **`PHL_ERROR`** that contain a **URL and a file path**. That is the exploit's download request: the URL of the payload and where it was written.
- Check `/opt/charting/redishb.sh` for content you don't recognise or a recent change time. Root runs it every minute.
- Check `/opt/phoenix/bin/phLicenseTool` the same way. Horizon3 replaced it with a reverse shell during testing.
- Look for outbound connections from FortiSIEM nodes to hosts you don't know, especially right after a `PHL_ERROR` line.

No attacker IP addresses from the honeypot activity were published in the sources we could open.

## Sources

- [Fortinet advisory FG-IR-25-772](https://fortiguard.fortinet.com/psirt/FG-IR-25-772)
- [CVE record](https://cveawg.mitre.org/api/cve/CVE-2025-64155)
- [Horizon3.ai, three years of remotely rooting FortiSIEM](https://horizon3.ai/attack-research/disclosures/cve-2025-64155-three-years-of-remotely-rooting-the-fortinet-fortisiem/)
- [Horizon3.ai proof of concept](https://github.com/horizon3ai/CVE-2025-64155)
- [BleepingComputer, Defused reports exploitation](https://www.bleepingcomputer.com/news/security/hackers-now-exploiting-critical-fortinet-fortisiem-vulnerability-in-attacks/)
- [Arctic Wolf](https://arcticwolf.com/resources/blog/cve-2025-64155/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
