Check Point CVE-2026-123039: PHP2Shell Plus Gaia Root Bug Used to Backdoor Gateways and Wipe ESXi
Introduction
Check Point disclosed that attackers have been rooting its security gateways since late October. They break in through the PHP2Shell bugs (CVE-2026-109618 / CVE-2026-109619) in the Mobile Access portal, then escalate with CVE-2026-123039, a Gaia OS local privilege escalation in the DynamicCLI service. About two dozen customers were compromised. Some had backdoors installed, and at least one had a wiper deployed against an ESXi host behind the firewall. CISA added CVE-2026-123039 to KEV on November 13 with a three-day deadline. Install the November Jumbo Hotfix, hunt for the IOCs below, and treat any confirmed hit as a rebuild.
What Happened
CVE-2026-123039 (CVSS 7.8 per Check Point) is an incorrect-permissions bug in DynamicCLI. The service runs as root and accepts requests on a local socket without properly authenticating the caller, so any local process can get commands executed as root. On its own, it needs local access. Paired with PHP2Shell, which gives code execution as the web user on the Mobile Access portal, it becomes a remote root chain.
According to Check Point's advisory and research:
- Initial access (from Oct 30): PHP2Shell exploitation of internet-facing Mobile Access portals, first against Israeli organizations.
- Privilege escalation: CVE-2026-123039 through the DynamicCLI socket.
- Persistence: PHP webshells, plus the TSGA backdoor with its TSProxy networking component, which provide encrypted remote access, configuration theft and log tampering.
- Lateral movement: In one case, SSH from the gateway to a VMware ESXi host.
- Destruction: destroy_v6, a Linux wiper that deletes files and tries to overwrite their contents, with a politically themed note named DREAM_ANNEXATION.txt.
- Second wave (Nov 2): Broader scanning across countries and sectors, with no destructive activity linked to it.
Check Point says the activity resembles China-nexus tooling but has not made a confident attribution. Fixes for both PHP2Shell and the Gaia bug were available from October 23, before the observed attacks. CISA added CVE-2026-123039 to KEV on November 13 with a November 16 due date.
Why It Matters
The firewall is the device that is supposed to be watching everything else. Root on a Check Point gateway gives an attacker the VPN user database and session keys, the firewall policy, and a trusted position for SSH into management networks. TSGA can also tamper with logs, so the device you would normally rely on for evidence may be lying to you. Check Point specifically lists unexplained gaps in firewall traffic logs as an indicator.
This is also the clearest example so far of PHP2Shell reaching beyond web hosting. Any appliance with a PHP-based portal inherited the bug. Vendors that bundle PHP in their products need their own patch cycle, and an OS-level PHP update on your servers does nothing for them.
Who Is Affected
- Check Point Security Gateways, Firewall, Scalable Platforms (Maestro), Security Management Server and Multi-Domain Security Management on Gaia OS.
- Highest risk: gateways with the Mobile Access blade exposed to the internet. That is the PHP2Shell entry point.
- First fixed Jumbo Hotfix takes, per Check Point's November release notes:
| Gaia release | First fixed Jumbo Hotfix |
|---|---|
| R82.20 | Take 14 |
| R82.10 | Take 52 |
| R82 | Take 132 |
| R81.20 | Take 174 |
- R81.10 and R81: see sk1000362 for emergency hotfixes.
How to Protect Yourself
1. Install the fixed Jumbo Hotfix
These takes fix both the Gaia LPE and the bundled PHP2Shell bugs. Check what you are running from expert mode:
# Gaia version and installed hotfixes
clish -c "show version all"
cpinfo -y all 2>/dev/null | grep -iE 'JUMBO|Take'
Install through CPUSE (installer in clish, or SmartConsole/Gaia Portal) to at least the takes listed above. For R81.10 and R81, follow sk1000362.
2. Stopgap: stop DynamicCLI
If you can live without Dynamic CLI until you can patch, stop dynamic_server and keep it from restarting, as Check Point's advisory describes. This is not a substitute for the hotfix.
3. Restrict Mobile Access exposure
Limit the Mobile Access portal to known source ranges where your users allow it. Where the business does not need it, disable the blade on internet-facing gateways until they are patched and checked.
4. Hunt for Check Point's IOCs
From expert mode on each gateway and management server:
# PHP2Shell session-upload artifacts
grep -rl 'upload_progress_pwn' /tmp /var/tmp /var/lib/php* /opt/CPsuite-*/fw1/tmp 2>/dev/null
# named malware and ransom-style note
find / -xdev \( -iname '*TSGA*' -o -iname '*TSProxy*' -o -iname 'destroy_v6*' -o -name 'DREAM_ANNEXATION.txt' \) 2>/dev/null
# suspicious CPconfigdaemon processes and unexpected tools in /tmp
ps auxww | grep -i '[C]Pconfigdaemon'
find /tmp /var/tmp -xdev -type f -perm -u+x -newermt '2026-10-23' -ls 2>/dev/null
# recently modified PHP under web/portal paths
find / -xdev -name '*.php' -newermt '2026-10-23' -type f 2>/dev/null | grep -vE '^/proc'
Check Point also recommends looking for commands executed through the system() sink, and for root commands that did not go through the default Clish wrapper. Both suggest DynamicCLI socket abuse. In SmartLog, look for gaps in traffic logs and for unexpected administrative or SSH sessions from the gateway to internal hosts, especially ESXi.
5. If you find a hit, rebuild
Check Point notes that patching does not remove backdoors or reverse destructive activity, and that a lack of IOCs does not prove a device is clean. For a confirmed compromise, take an image for forensics, reinstall Gaia from clean media, restore policy from a known-good management backup, and rotate everything the gateway knew: VPN pre-shared keys and certificates, local admin passwords, LDAP/RADIUS service accounts, and SIC trust. Then check the ESXi hosts and any other systems the gateway could reach over SSH.
Source
- Check Point — Security Advisory: Active Exploitation of PHP2Shell and Local Privilege Escalation
- Check Point Support — sk1000362
- BleepingComputer — Check Point warns of zero-day flaw exploited for root access
- eSecurity Planet — Check Point Flaw Exploited as CISA's Nov. 16 Deadline Hits
- CISA — CISA Adds Two Known Exploited Vulnerabilities to Catalog (Nov 13, 2026)