High

phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution

The Hacker News

Overview

A vulnerability in PHP's default file-based session storage, identified as phpAfterShell (CVE-2026-126714), allows attackers to manipulate session data. By interrupting a session write at a specific moment, hackers can force the system to return user-defined objects. If the application has certain weaknesses, known as 'gadget chains,' these objects can then be used to execute arbitrary code on the server. This issue affects all versions of PHP that utilize this session storage method. PHP has released updates to address this vulnerability, making it crucial for developers and system administrators to apply the latest patches to secure their applications against potential exploitation.

Key Takeaways

  • Affected Systems: All versions of PHP using file-based session storage.
  • Action Required: Update to the latest version of PHP to mitigate this vulnerability.
  • Timeline: Newly disclosed

Original Article Summary

PHP's default file-based session storage can be made to return objects an attacker chose, by cutting off a session write at the right moment. When combined with a second weakness, such as a suitable gadget chain in the app, those objects can allow the attacker to run code on the server. Today's PHP releases fix the flaw, called phpAfterShell. The flaw is tracked as CVE-2026-126714 and rated

Impact

All versions of PHP using file-based session storage.

Exploitation Status

No active exploitation has been reported at this time. However, organizations should still apply patches promptly as proof-of-concept code may exist.

Timeline

Newly disclosed

Remediation

Update to the latest version of PHP to mitigate this vulnerability. Specific patch numbers or versions were not mentioned, but users should ensure they are running the most current release.

Additional Information

This threat intelligence is aggregated from trusted cybersecurity sources. For the most up-to-date information, technical details, and official vendor guidance, please refer to the original article linked below.

Related Topics: This incident relates to CVE, Vulnerability.

Related Coverage

PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution

The Hacker News

The PHP Foundation has issued security updates to fix seven critical vulnerabilities in PHP, including one identified as CVE-2026-115560, which could allow attackers to execute remote code on affected systems. These flaws impact all supported versions of PHP, highlighting a significant risk for developers and businesses using this widely utilized programming language. The foundation had previously warned users about these vulnerabilities, which could lead to serious security breaches if left unaddressed. Users are strongly advised to apply the latest patches to safeguard their deployments against potential exploitation.

Nov 19, 2026

Critical VMware vCenter Flaw (CVSS 9.8) Lets Network Attackers Bypass Authentication

The Hacker News

A serious vulnerability has been discovered in VMware vCenter that allows attackers with network access to bypass authentication and gain unauthorized entry to the system. This flaw, rated 9.8 on the CVSS scale, poses a significant risk as vCenter is essential for managing virtual machines and ESX hosts within organizations. Broadcom, which owns VMware, has released updates to address this issue across all supported versions, but they have not provided any workarounds for users who cannot update immediately. Organizations using VMware vCenter need to prioritize applying these patches to protect their systems from potential exploitation, as failing to do so could lead to unauthorized access and control over critical virtual infrastructure.

Nov 19, 2026

Drupal Patches Critical Installer Flaw That Could Give Unauthenticated Attackers Control of Sites

The Hacker News

A serious vulnerability has been identified in the core of Drupal, which could allow unauthenticated attackers to exploit the built-in installer and potentially take over affected sites. This flaw could lead to unauthorized site reinstalls, risking remote code execution. The Drupal Security Team has classified the vulnerable configurations as uncommon, suggesting that while the risk is significant, it may not be widely applicable to all users. Patches to fix this issue were released for all supported versions yesterday, so it’s crucial for site administrators to update their systems promptly to prevent potential exploitation. This incident underscores the need for regular updates and vigilance in maintaining website security.

Nov 19, 2026

Everything Is a Web Application, Including Your Firewall

The Hacker News

On October 28, Palo Alto Networks reported that attackers are exploiting two vulnerabilities in the PAN-OS management interfaces, identified as CVE-2026-109618 and CVE-2026-109619. These flaws allow unauthorized users to execute code on the web server, posing significant risks to organizations using affected firewalls. The vulnerabilities primarily impact firewalls with their management interfaces exposed to the internet, which could lead to unauthorized access and control. This situation is particularly concerning as it highlights the potential for critical infrastructure to be compromised through web application vulnerabilities. Companies need to ensure their firewall configurations are secure and limit internet exposure to prevent exploitation.

Nov 19, 2026

Ruby Releases Fixes for 7 Regex and String Flaws, Warns 5 Have Proof-of-Concept RCE

The Hacker News

Ruby has identified seven memory-safety vulnerabilities in its regular expression engine and string case-conversion code. Among these, five have been shown to potentially allow attackers to execute code remotely through specially crafted input. The Ruby maintainers have confirmed the existence of proof-of-concept exploits for these vulnerabilities, raising concerns for developers and users alike. To address this issue, the Ruby project has released updated versions that fix these flaws. Users of Ruby should prioritize updating to the latest versions to protect their systems from possible exploitation.

Nov 19, 2026

Researcher Demonstrates Database RCE Exploits Affecting PostgreSQL, MySQL and Oracle

The Hacker News

A researcher has demonstrated that low-privilege database accounts can exploit memory-corruption bugs in the underlying code of SQL databases, allowing them to execute code on the database server. This vulnerability affects popular database systems including PostgreSQL, MySQL, and ClickHouse, as well as Oracle databases. Even accounts that lack permissions to read application tables can be used for these exploits, raising serious security concerns. The findings suggest that organizations should reassess their database security measures and monitor for potential misuse of low-privilege accounts. This research emphasizes the need for ongoing vigilance and updates in database management practices to prevent unauthorized access and exploitation.

Nov 19, 2026