Skip to navigation

Threat reportVulnerabilityTL-2026-6472

PHP Patches Seven Critical RCE Vulnerabilities (CVE-2026-115560, CVE-2026-129481, CVE-2026-129182, CVE-2026-129474, CVE-2026-126714, CVE-2026-129289, CVE-2026-129496)

criticalPATCHED

On 2026-11-19 the PHP project released 8.6.0 and 8.5.13, with security releases 8.4.28, 8.3.37 and 8.2.36, fixing seven critical (CVSS v4.0 9.2) flaws that can lead to remote code execution. They cover session handling, use-after-free bugs, PHP-FPM/LSAPI request smuggling and a timezone-cache use-after-free.

Key facts

IdentifiersTL-2026-6472, CVE-2026-115560, CVE-2026-129481, CVE-2026-129182, CVE-2026-129474, CVE-2026-126714, CVE-2026-129289, CVE-2026-129496
Also known asPHP November 2026 security release, PHP 8.5.13 security release
SeverityCRITICAL
CVSS9.2 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N)
Affected productsPHP Group PHP (ext-session, ext-date, engine, sapi-fpm)
Weaknesses (CWE)CWE-20, CWE-502, CWE-416, CWE-459, CWE-367, CWE-662, CWE-444, CWE-670
MalwarePHP
MITRE ATT&CK techniquesT1059 Command and Scripting Interpreter, T1190 Exploit Public-Facing Application, T1499.004 Application or System Exploitation, T1565.001 Stored Data Manipulation
MotivationUNKNOWN
Target sectorstechnology, government administration, finance, health, education, retail
Target regionsGlobal
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-11-19, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6472 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Shell or Downloader Spawned by PHP-FPM / Web Server Worker - Post-Exploitation of TL-2026-6472 PHP RCE (CVE-2026-129289, CVE-2026-115560)

Detects a PHP-FPM, lsphp, php-cgi, Apache or httpd process spawning a shell, downloader or scripting interpreter. Successful RCE via the TL-2026-6472 flaws (FastCGI smuggling CVE-2026-129289 executing attacker PHP as the worker, or session deserialization gadget chains CVE-2026-115560 / CVE-2026-126714) is expected to surface as child processes of the web worker, the same pattern seen in the related PHP2Shell shells. No exploitation of the seven CVEs is confirmed; this is behaviour-first coverage for the post-exploitation stage (T1190, T1059, T1059.004, T1505.003).

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1059, T1059.004, T1505.003
  • Data sources: sysmon_for_linux, microsoft_defender_for_endpoint_linux, auditd
  • Severity: high
  • Confidence: medium

Splunk SPL

index=os sourcetype="sysmon:linux" EventCode=1 (ParentImage="*/php-fpm*" OR ParentImage="*/php-cgi" OR ParentImage="*/lsphp*" OR ParentImage="*/apache2" OR ParentImage="*/httpd") (Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/curl" OR Image="*/wget" OR Image="*/nc" OR Image="*/ncat" OR Image="*/python3" OR Image="*/perl") | stats count AS spawns earliest(_time) AS first_seen values(CommandLine) AS command_lines by host User ParentImage Image | convert ctime(first_seen) | sort - spawns

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName startswith 'php-fpm' or InitiatingProcessFileName in~ ('php-cgi', 'lsphp', 'apache2', 'httpd')
| where FileName in~ ('sh', 'bash', 'dash', 'curl', 'wget', 'nc', 'ncat', 'python3', 'perl')
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine
| order by Timestamp desc

Sigma

title: Shell or Downloader Spawned by PHP Web Worker
id: d6a4f5e7-8b9c-42a3-9dc4-e5f6a7b8c904
status: experimental
description: Detects PHP-FPM, lsphp, php-cgi, Apache or httpd processes spawning a shell, downloader or interpreter, expected after RCE through the TL-2026-6472 PHP flaws (for example CVE-2026-129289 FastCGI smuggling or session deserialization gadget chains).
references:
  - https://github.com/php/php-src/security/advisories/GHSA-qc49-hpvq-g2w6
  - https://github.com/php/php-src/security/advisories/GHSA-658j-r8rw-q6mx
  - https://www.securityweek.com/php2shell-exploitation-moves-from-probes-to-working-shells/
author: Threadlinqs Team
date: 2026/11/19
tags:
  - attack.initial_access
  - attack.t1190
  - attack.execution
  - attack.t1059.004
  - attack.persistence
  - attack.t1505.003
  - cve.2026.129289
  - cve.2026.115560
logsource:
  category: process_creation
  product: linux
detection:
  parent_fpm:
    ParentImage|contains:
      - '/php-fpm'
      - '/php-cgi'
      - '/lsphp'
  parent_apache:
    ParentImage|endswith:
      - '/apache2'
      - '/httpd'
  child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/curl'
      - '/wget'
      - '/nc'
      - '/ncat'
      - '/python3'
      - '/perl'
  condition: (parent_fpm or parent_apache) and child
falsepositives:
  - Applications that legitimately shell out (image conversion, PDF generation, git or backup wrappers)
  - Apache CGI scripts and mod_cgi handlers
level: high

Known false positives:

  • Applications that legitimately shell out from PHP (ImageMagick, wkhtmltopdf, git or backup wrappers)
  • Apache mod_cgi / suexec scripts that start shells by design

Tuning notes: Build an allow-list of (ParentImage, CommandLine) pairs from a 14-day baseline per application and exclude them. Raise priority when the child is curl/wget/nc or the command line contains an IP or pipe to sh. Replace sourcetype with the one used for Sysmon for Linux or auditd execve with parent process enrichment.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Fatal Error in User-Defined Stream Wrapper stream_close() During PHP Session Shutdown - CVE-2026-129481 · unlock with TL Creds
  • PHP Session File Tampering and Web-Worker [indicator] Writes - CVE-2026-126714 / CVE-2026-115560 Session Abuse · unlock with TL Creds
  • Execution of Community-Reported PHP2Shell / RedTail Dropper Payload Hashes (Related to TL-2026-6472) · unlock with TL Creds
  • nginx Unexpected FastCGI Record From PHP-FPM Upstream - CVE-2026-129289 Request Smuggling · unlock with TL Creds
  • PHP CLI Inline Code Execution With Command-Execution Functions - Web Shell / Gadget-Chain Follow-On to TL-2026-6472 · unlock with TL Creds
  • curl/wget Dropper Piped to Shell or Fetching From Community-Observed PHP2Shell / RedTail Hosts (Related to TL-2026-6472) · unlock with TL Creds
  • PHP Worker Crash Burst (SIGSEGV) - CVE-2026-129481 / CVE-2026-129182 / CVE-2026-129496 Memory-Corruption Exploitation · unlock with TL Creds
  • Outbound Connection to Community-Observed PHP2Shell / RedTail Dropper Infrastructure (Related to TL-2026-6472) · unlock with TL Creds

Indicators of compromise

As of 2026-11-19, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-6472.

10 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

The sources do not state exploitation of these seven CVEs, and several advisories say RCE has not been demonstrated for specific entry points.

PHP announced on 2026-11-18 that security releases would ship on 2026-11-19 and affect all supported branches, with a highest severity of CRITICAL. The team noted that the critical issues require non-default configuration or uncommon setups. On 2026-11-19 PHP 8.6.0 (GA) and security releases 8.5.13, 8.4.28, 8.3.37 and 8.2.36 shipped, and PHP published seven critical GitHub security advisories in php/php-src, each scored CVSS v4.0 9.2 (SecurityWeek reports the release also fixes 10 high and medium severity flaws).

Session (ext-session): CVE-2026-115560 (GHSA-658j-r8rw-q6mx, CWE-20/CWE-502) is a serializer mismatch in the session upload progress feature. Data is written with one serializer format and read with another, so a mismatched decoder can treat part of a session key as serialized object data. With a suitable gadget chain this leads to RCE, file modification, session corruption or DoS. The upload progress feature dates to PHP 5.4.0, so older unsupported releases may also be affected. The fix disables upload progress by default. CVE-2026-126714 (GHSA-fm2m-fjf5-v3cp, CWE-367/CWE-662) is a partial-overwrite flaw in the default 'files' session handler. An interrupted write of serialized session data can leave attacker-influenced content that is deserialized when the session is next opened. This needs an application gadget chain. CVE-2026-129481 (GHSA-g3vh-838c-65v7, CWE-416/CWE-459) is a use-after-free after an interrupted session shutdown, for example a fatal error in a user-defined stream wrapper's stream_close(). PHP describes it as an incomplete fix for CVE-2026-109619 (PHP2Shell). It affects PHP 8.3 and later only; PHP 8.2 is not affected.

Engine and date: CVE-2026-129182 (GHSA-2fjv-p558-g82m, CWE-416/CWE-459, PHP 8.5 only) is a use-after-free where fatal diagnostics during later shutdown work repopulate the last_fatal_error_backtrace global after the request heap is released. It covers further exploitation scenarios of CVE-2026-109619. The advisory states RCE through these entry points has not been demonstrated. CVE-2026-129474 (GHSA-8mjj-2r7p-4hg2, CWE-416, >=8.5.0 <8.5.13) is a use-after-free while collecting method arguments for a backtrace during __call()/__callStatic() calls. It requires fatal_error_backtraces=1 (default in PHP 8.5) and zend.exception_ignore_args=0; php.ini-production sets zend.exception_ignore_args=1, which blocks the path. CVE-2026-129496 (GHSA-gr4f-wgx5-jpfv, CWE-416/CWE-459, ext-date) is a timezone cache use-after-free. A startup diagnostic written to a file-based error_log leaves a stale reference that a later early-request diagnostic in a fresh worker can read. It is described for non-thread-safe builds, and the demonstrated code execution needed extra conditions (known runtime addresses and heap layout, with ASLR enabled).

PHP-FPM/LSAPI: CVE-2026-129289 (GHSA-qc49-hpvq-g2w6, CWE-444/CWE-670, sapi-fpm) is request smuggling. PHP does not discard unread request body bytes before reusing a persistent PHP-FPM or LSAPI connection, so an unauthenticated attacker can make those bytes parse as a forged FastCGI request. For PHP-FPM this allows execution of attacker-controlled PHP as the worker, running scripts outside front-end routes, spoofing client addresses and changing administrator settings that persist for later requests. The issue dates to lazy php://input handling introduced in PHP 5.6.0. Code execution through LSAPI is not established by the advisory. It affects 8.2.0 to before 8.2.36, 8.3.0 to before 8.3.37, 8.4.0 to before 8.4.28 and 8.5.0 to before 8.5.13. Mitigation is to keep backend connection reuse off (nginx fastcgi_keep_conn, Apache enablereuse) and never expose FPM/LSAPI listeners to untrusted networks.

Context: the related PHP2Shell flaws (CVE-2026-109618 and CVE-2026-109619, CVSS v4.0 9.2) were patched on 2026-10-21 in 8.5.12, 8.4.27, 8.3.36 and 8.2.35. They were exploited in the wild: honeypots recorded 35 shells on 2026-10-24, and CISA added both to KEV on 2026-10-26. SecurityWeek and the advisories do not state exploitation of the seven new CVEs. Defenders should prioritize patching because the same code areas (session shutdown, fatal-error backtrace globals) were already weaponized. No proof-of-concept or threat actor attribution is stated for these seven CVEs.

MITRE ATT&CK techniques by tactic:

Execution

T1059 Command and Scripting Interpreter

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1499.004 Application or System Exploitation; T1565.001 Stored Data Manipulation

Remediation

Patches

  • PHP 8.6.0
  • PHP 8.5.13
  • PHP 8.4.28
  • PHP 8.3.37
  • PHP 8.2.36

Immediate actions

  • Upgrade to PHP 8.6.0, 8.5.13, 8.4.28, 8.3.37 or 8.2.36 (whichever matches your branch) and restart all PHP-FPM / mod_php workers
  • Set session.upload_progress.enabled=0 administratively (php.ini or FPM pool config, not ini_set()) and restart workers until patched
  • Keep nginx fastcgi_keep_conn off and Apache enablereuse off, or close the backend connection after each request
  • Do not expose PHP-FPM or LSAPI listeners directly to untrusted networks
  • On PHP 8.5, set fatal_error_backtraces=0 and zend.exception_ignore_args=1 in the configuration used by workers

Workarounds

  • For CVE-2026-129481 on PHP-FPM, set pm.max_requests=1 and restart workers at a performance cost
  • Send PHP errors to syslog to avoid the file-timestamp path for CVE-2026-129496
  • Ensure request-specific configuration (PHP_VALUE / PHP_ADMIN_VALUE, Apache per-directory config) cannot re-enable fatal_error_backtraces
  • Disabling display_errors does not mitigate CVE-2026-129474

Longer-term hardening

  • Plan migration off PHP 8.2, which reaches end of life on 2026-12-31
  • Review applications for unsafe unserialize/gadget chains reachable through session data
  • Use a session storage backend that replaces records atomically and keep one session.serialize_handler across all readers and writers
  • Send PHP errors to syslog rather than file-based error_log and fix startup diagnostics (invalid date.timezone, deprecated session settings)

Affected and fixed versions

  • PHP Group — PHP (ext-session, ext-date, engine, sapi-fpm)
    Vulnerable versions: 8.2.0 to before 8.2.36 (CVE-2026-115560, CVE-2026-126714, CVE-2026-129289, CVE-2026-129496); 8.3.0 to before 8.3.37 (all except CVE-2026-129182 and CVE-2026-129474); 8.4.0 to before 8.4.28 (all except CVE-2026-129182 and CVE-2026-129474); 8.5.0 to before 8.5.13 (all seven)
    Fixed in: 8.2.36; 8.3.37; 8.4.28; 8.5.13; 8.6.0

Timeline

  • PHP releases 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fixing PHP2Shell flaws CVE-2026-109618 and CVE-2026-109619 after information leaked online
  • CVE-2026-115560 (session serializer mismatch) is publicly disclosed two days after the PHP2Shell patches, per SecurityWeek
  • Honeypots record 35 shells launched against PHP2Shell flaws (related campaign, not the seven new CVEs)
  • CISA adds CVE-2026-109618 and CVE-2026-109619 to the Known Exploited Vulnerabilities catalog
  • PHP security team pre-announces 2026-11-19 security releases covering all supported versions with highest severity CRITICAL
  • SecurityWeek reports the seven critical RCE fixes; exploitation of these CVEs is not stated
  • PHP 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36 released; seven critical GitHub advisories (CVSS v4.0 9.2) published
  • PHP 8.2 reaches end of life and will receive no further security fixes

Sources cited

Other reports on CVE-2026-115560

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats