AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

phpAfterShell (CVE-2026-126714) Slips Past PHP2Shell Patch

PHP fixed phpAfterShell (CVE-2026-126714), a critical session flaw that slips past the October PHP2Shell fix, on November 19, 2026. The same release fixes six other critical PHP bugs, which makes this a priority update for any PHP estate. Introduction to Malware Binary Triage (IMBT) Course Looking to level up your skills? Get 10% off using coupon code: MWNEWS10 for any flavor. Enroll Now and Save 10%: Coupon Code MWNEWS10 Note: Affiliate link – your enrollment helps support this platform at no extra cost to you. What Is CVE-2026-126714? CVE-2026-126714 (CVSS 9.2), known as phpAfterShell, is a critical flaw in PHP’s default file-based session handler that can leave a session file half old and half new, and in some applications turn that corruption into Remote Code Execution (RCE). It reaches the same dangerous state as last month’s PHP2Shell flaws through a path the October fix left open. PHP rates the flaw 9.2 under CVSS v4.0 and fixed it in PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13; the full exploit chain has not been published. SOCRadar Vulnerability Intelligence card for CVE-2026-126714 Why Did the PHP2Shell Patch Leave a Path Open? PHP2Shell (CVE-2026-109618 and CVE-2026-109619) forced emergency PHP releases on October 21, 2026. CISA added both CVEs to its KEV catalog on October 26, and attackers have since used PHP2Shell against network gateways. The October fix blocked object creation inside the file upload progress callback. How PHP saves the session file to disk stayed the same. Depthfirst, which named the flaw phpAfterShell, explains in its analysis that the October patch shut down the known exploit path but left the session file write itself unsafe if a PHP worker crashes mid-update. phpAfterShell does not need anything to happen inside that callback, because the corrupted file is only read back later through a normal session_start() call. What Goes Wrong Inside the Files Session Handler? Under the default files handler, every session lives on disk as a single serialized string. PHP’s advisory traces the bug to ps_files_write(), which reuses the existing session file and overwrites it from the start instead of emptying it before the new data goes in. In practice, the handler calls pwrite() at offset zero and trims leftover bytes with ftruncate() only afterward. Because these are two separate system calls, a worker that dies between them, or in the middle of the write, leaves a mixed file: fresh session data at the top and stale bytes from the earlier session below it. Locking the file does not prevent this. Nothing in a session file records its expected size or confirms that a write finished, so PHP reads the mixed content as if it were valid. An attacker who controls the new data can arrange it so the stale remainder is parsed as serialized objects, which PHP then instantiates on the next session_start() for that session ID. PHP maps the bug to CWE-367 and CWE-662 and, from reviewing the code, believes it has existed since PHP 4.1.0. Which Conditions Does an Attack Need? Default session storage: PHP’s built-in files save handler, active unless another backend is configured; session stores that swap a whole record in a single operation avoid this defect Control over session data: Upload progress tracking (session.upload_progress.enabled) offers one route, though PHP notes that other routes can also work An interrupted write: The PHP process has to stop mid-write; the researchers forced out-of-memory kills in their tests, and PHP says a hard memory-limit failure in a separate thread of a threaded build can have the same effect A later session load: A subsequent request must call session_start() on the damaged session A path from objects to code: Usually a deserialization gadget chain, although that requirement is disputed Those preconditions are why the CVSS v4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) marks attack requirements as present. PHP’s pre-release notice also said its critical issues require “either

Reference details

Source category
research-report
First reported
Nov 20, 2026 11:45 UTC
Last reported
Nov 20, 2026 11:45 UTC
Catalog updated
Nov 22, 2026 13:17 UTC
Record ID
f8265337170687d9e56def2d2d7a260515e313da4adbada0bdee911f141ed4ad

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_f9879f264b7a8ec1d7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 20, 2026 11:45 UTC
Retrieved
Nov 22, 2026 13:17 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_f9879f264b7a8ec1d7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.