Close Menu

    Subscribe to Updates

    Get the latest Tech news from SynapseFlow

    What's Hot

    Audible, Kindle+ and Music all drastically reduced

    November 25, 2026

    ArtCraft Suite of Apps: Free Adobe, Office and Figma alternative

    November 25, 2026

    Your PlayStation 5 isn’t a good Blu-ray player

    November 25, 2026
    Facebook X (Twitter) Instagram
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    Facebook X (Twitter) Instagram YouTube
    synapseflow.co.uksynapseflow.co.uk
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    synapseflow.co.uksynapseflow.co.uk
    Home»Cybersecurity»phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path
    phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path
    Cybersecurity

    phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path

    The Tech GuyBy The Tech GuyNovember 24, 2026No Comments3 Mins Read0 Views
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Advertisement


    PHP last week patched a critical-severity vulnerability residing in the same dangerous state as the PHP2Shell flaws, cybersecurity firm Depthfirst says.

    Advertisement

    Dubbed phpAfterShell, the security flaw is tracked as CVE-2026-126714 (CVSS score of 9.2), and was resolved on November 19 alongside six other critical issues.

    According to Depthfirst, the bug could allow an attacker who can control data written to a session file and interrupt the session write operation to trigger an object deserialization and achieve remote code execution (RCE).

    It exists because PHP overwrites the session file from the start without emptying it first. If the operation is interrupted mid-write, or before the subsequent truncation operation removes old trailing data, the file is left with mixed content: fresh session data followed by remnants of the old session. 

    “We discovered reliable methods to interrupt the file operation during session upload-progress updates, allowing us to splice the prefix of one valid session with the suffix of another. A subsequent session operation treats the corrupted data as legitimate server-side state, giving attackers control over session values and the ability to trigger object deserialization,” Depthfirst notes in its technical write-up.

    An attacker could arrange the new and old data so that the combined file would be interpreted differently from the original sessions, and parts of ordinary strings would become serialized object data. A future session would create the objects and invoke their deserialization.

    Advertisement. Scroll to continue reading.

    “Session upload progress provides one way for a remote client to influence stored session data through multipart uploads. The same underlying problem can arise when an application stores large user-controlled strings in a session. In threaded PHP builds, a hard memory-limit failure in another thread can terminate the process while the session write is in progress,” PHP notes in its advisory.

    phpAfterShell, Depthfirst explains, is related to PHP2Shell, which occurred because, during the parsing of an unauthenticated multipart request, PHP’s upload-progress callback could open and decode a file-backed session before the target script would begin.

    Because objects would become active during the callback, PHP added restrictions to which objects could be created in memory, but did not modify the underlying file update behavior.

    “Even with the new restrictions in place, the callback still reads the existing Session, adds upload-progress state, serializes the whole thing, and writes it back to the same file,” Depthfirst explains.

    Successful exploitation of phpAfterShell requires certain conditions to be met: default session storage to be active, an exploitation route (the easiest is upload progress tracking), the PHP process to stop mid-write, a request to call session_start() on the corrupted file, and a deserialization-to-code-execution path.

    Patches for the vulnerability were included in PHP versions 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. There appear to be no reports of phpAfterShell’s in-the-wild exploitation. 

    Related: SAP NetWeaver, Cisco Expressway Flaws Exploited in Attacks

    Related: WhatsApp Fixes Flaw Uncovered While Disrupting Scam Campaign

    Related: Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE

    Related: F5 Patches Critical NGINX2Root Flaws as PoC Exploits Go Public

    Advertisement
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    The Tech Guy
    • Website

    Related Posts

    Hackers Exploit Unpatched Flaw in Defunct Idunno AntiCsrf Library

    November 25, 2026

    An Unclassified CIA System Was Breached in a Cyberattack, AP Source Says

    November 25, 2026

    VMware Updates Patch Critical ESX, vCenter Vulnerabilities

    November 24, 2026

    European Commission Data Breach – SecurityWeek

    November 24, 2026

    GL.iNet GoodCloud Vulnerability Exploited for Malware Delivery

    November 24, 2026

    Azure Flaw Exploited to Target Secrets at Norwegian Energy Firms

    November 23, 2026
    Leave A Reply Cancel Reply

    Advertisement
    Top Posts

    You don’t need a NAS to self-host — I proved it with hardware from my closet

    June 7, 2026395 Views

    Spotify is giving one of its best playlists a big visual upgrade to give subscribers ‘a closer connection’ to its New Music Friday curators — and I think it could be the update it’s always needed

    June 12, 2026216 Views

    The iPad Air brand makes no sense – it needs a rethink

    October 12, 202519 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Advertisement
    About Us
    About Us

    SynapseFlow brings you the latest updates in Technology, AI, and Gadgets from innovations and reviews to future trends. Stay smart, stay updated with the tech world every day!

    Our Picks

    Audible, Kindle+ and Music all drastically reduced

    November 25, 2026

    ArtCraft Suite of Apps: Free Adobe, Office and Figma alternative

    November 25, 2026

    Your PlayStation 5 isn’t a good Blu-ray player

    November 25, 2026
    categories
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    Facebook X (Twitter) Instagram Pinterest YouTube Dribbble
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    © 2026 SynapseFlow All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.