Remote Code Execution Vulnerability in PHP Session Management
CVE-2026-126714

9.2CRITICAL

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
19 November 2026

Badges

🔥 Trending now📈 Trended📈 Score: 12,900📰 News Worthy

What is CVE-2026-126714?

CVE-2026-126714 is a remote code execution vulnerability affecting PHP, a widely-used open-source scripting language primarily designed for web development. The issue arises within PHP’s session management system, where the default session save handler can inadvertently output corrupted session data due to incomplete write processes. Specifically, if a write operation is interrupted, the resulting session file can contain a mix of new and old session data. This corruption can allow an attacker, who can manipulate session data—such as during file uploads—to inject malicious objects that, when unserialized, could lead to arbitrary code execution. The versions of PHP impacted include 8.2., 8.3., 8.4., and 8.5., making this a significant concern for organizations relying on PHP for their web applications.

Potential Impact of CVE-2026-126714

  1. Remote Code Execution: The primary threat posed by this vulnerability is the potential for remote code execution. Attackers exploiting this flaw can execute arbitrary code on the server, which may lead to unauthorized access, data breaches, or full system compromise.

  2. Session Data Corruption: Due to the vulnerability in session management, corrupted session data can disrupt application functionality, leading to a poor user experience and potential data loss. This could result in significant operational challenges for businesses that rely on session-based interactions.

  3. Increased Attack Surface: The risk presented by this vulnerability may attract threat actors, increasing the likelihood of attacks against PHP-based applications. As the exploitation of such vulnerabilities often leads to larger-scale cyber incidents, organizations remain at a heightened risk of becoming targets for ransomware or other malicious activities.

Affected Version(s)

PHP 8.2.0 < 8.2.36

PHP 8.3.0 < 8.3.37

PHP 8.4.0 < 8.4.28

News Articles

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

PHP fixes CVE-2026-126714, a critical session file flaw enabling object injection and potential code execution when paired with another weakness.

2 hours ago

References

CVSS V4

Score:
9.2
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 📈

    Vulnerability started trending

  • 📰

    First article discovered by The Hacker News

  • Vulnerability published

  • Vulnerability Reserved

Credit

Leo Lin
Asahi
Ilija Tovilo
Arnaud Le Blanc
.