Skip to main content
pjang
Staff & Editor
Staff & Editor
Oct 22, 2026 9:21 PM UTC
Sticky

Using the FortiGate to protect against PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619

  • Oct 26, 2026 7:47 PM UTC
  • 3 replies
  • 22485 views
  • Translate All

Description

This article discusses the recent critical-severity vulnerabilities for PHP (CVE-2026-109618 and CVE-2026-109619, published 2026-10-21) and how the FortiGate can protect affected services until they can be patched.

Scope

FortiGate, IPS, OT Virtual Patch;

Solution

Important:

Refer to the PSIRT Advisory FG-IR-26-186 regarding the above two CVEs and how they relate to Fortinet products. At the time of this writing, FortiOS itself is not impacted by these PHP-specific CVEs. Instead, this article discusses how the FortiGate can be used to protect other services that do use PHP.

 

At this time, Fortinet has released both IPS signatures and Operational Technology (OT) Virtual Patching signatures for both of the above CVEs. For more information on these signatures, refer to the following entries on the FortiGuard Labs encyclopedia:

 

Note:

Check the above FortiGuard entries for information on the specific database version that introduces support for the associated signatures, then check the FortiGate to ensure that it has updated to a matching or later database version (no firmware updates required). At the time of this writing, support was added as of the following versions:

  • OT Patch Definitions: 37.316

  • (IPS) Attack Definitions and Attack Extended Definitions: 37.317

 

Once the databases are updated on the FortiGate, the signatures can be checked under Security Profiles -> IPS Signatures:

 

c2712c3d.png

 

Finally, ensure that the new signatures are loaded into an IPS sensor or Virtual Patching Profile and then assigned to an appropriate Firewall Policy to begin inspecting traffic being sent to your potentially-vulnerable web servers. For more info on configuring IPS sensors and Virtual Patching profiles, refer to the following documentation:

 

Important:

The default action of the IPS-based signatures in definition 37.317 is set to Pass.

The default action of the IPS-based signatures in definition 37.319 is set to Drop. (OT Virtual Patch signatures do not include default actions and follow the Action set within the Virtual Patching profile).

 

When adding the signatures to an IPS sensor via rule entries, administrators must change the Action from Default to Block (suggested), Reset, or Quarantine in order to deny the matching traffic:

 

c0db76bd.png

 

Additionally, consider that SSL Deep Inspection may be required to completely inspect traffic, particularly when forwarding encrypted HTTPS traffic. See also:

 

Additional notes:

  • OT Virtual Patching requires a separate license on each FortiGate in order to access the associated signatures (see also: Operational Technology (OT) Datasheet).

  • To validate the version of signature database being used, run the command diagnose autoupdate versions and grep for the related databases:

diagnose autoupdate versions | grep OT -A 7
diagnose autoupdate versions | grep Attack -A 7


  • Alternatively, navigate to System -> FortiGuard in the GUI and check under the Intrusion Prevention System (IPS) and Operation Technology (OT) Security Service sections respectively.

  • To manually force an update of the signature databases, run the command execute update-ips in the CLI or navigate to System -> FortiGuard and select Update licenses & definitions now on the right-hand menu.

  • Important: the FortiGate must have an IPS sensor applied in the configuration (e.g. on at least one Firewall Policy) otherwise it will not conduct an update of the IPS database.

 

Related articles:

PHP2Shell Remote Code Execution Vulnerabilities (Fortinet Threat Signal Report)

How to block PHP2Shell (CVE-2026-109618, CVE-2026-109619) on FortiWeb

Technical Tip: How does FortiCNAPP Protect from CVE-2026-109618 & CVE-2026-109619, PHP Remote Code Execution Vulnerabilities

3 replies

Staff & Editor
Oct 23, 2026 2:37 PM UTC

Great Job Presley!

Translate
dinesh2019
New Member
Oct 23, 2026 7:12 PM UTC

Is there possibility enabling blocking may impact legitimate PHP application traffic if any requests are identified as matching the signatures ?

Translate
pjang
Staff & Editor
pjangAuthor
Staff & Editor
Oct 23, 2026 11:43 PM UTC

I would say there is ALWAYS a possibility of false-positive impacts, which is why the above Virtual Patch and IPS signatures are set to Pass by default and are only considered to be temporary mitigation efforts (and why our documentation generally suggests to carefully test IPS in your particular environment to identify possible false-positive matches).

The main goal for administrators is to buy enough time to update their applications and close out the vulnerabilities at the source. Once the software is patched, the mitigating signatures can be removed. If there are false-positives in the meantime then that isn’t great, but it’s less impactful than not having any mitigations at all.

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024