CVE-2026-126714

Published Nov 19, 2026

Last updated 6 hours ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-126714, dubbed "phpAfterShell" by security researchers at Depthfirst, is a vulnerability in PHP's default file-based session handler. The flaw arises from a race condition or Time-of-check Time-of-use (TOCTOU) issue during session file updates. If a write operation (such as `pwrite()` or `ftruncate()`) is interrupted mid-operation, PHP can leave behind a malformed session file containing parts of two different serialized sessions. This issue affects PHP versions below 8.2.36, 8.3.37, 8.4.28, and 8.5.13. An attacker can exploit this vulnerability by influencing session data—for example, through PHP's session upload progress feature—and interrupting a replacement write at a specific point. When the corrupted session file is subsequently loaded and processed by `session_start()`, it triggers an arbitrary deserialization primitive. If the target application contains a suitable gadget chain or a secondary memory-corruption bug, this deserialization can allow a remote attacker to execute arbitrary code with the privileges of the PHP worker.

Description
Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Source
security@php.net
NVD status
Awaiting Analysis

Risk scores

CVSS 4.0

Type
Secondary
Base score
9.2
Impact score
-
Exploitability score
-
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
CRITICAL

Weaknesses

security@php.net
CWE-367

Social media

Hype score
Not currently trending
  1. MantisHub servers have been patched against the recently disclosed PHP security vulnerabilities, including seven critical vulnerabilities (CVE-2026-115560, CVE-2026-126714, CVE-2026-129182, CVE-2026-129289, CVE-2026-129474, CVE-2026-129481, and CVE-2026-129496).

    @mantishub

    20 Nov 2026

    108 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. Honeypot Analysis as Code; PHP Patches and Session RCE (CVE-2026-126714); Dragos AI Canary Tokens; vCenter Exploit (CVE-2026-123890) (Nov 20th 2026) https://t.co/QNdcKxHSpJ https://t.co/noRRUI1YLo

    @sans_isc

    20 Nov 2026

    329 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  3. PHP8.3で対応されたCVEはこの13件 CVE-2026-129538 CVE-2026-129496 CVE-2026-129289 CVE-2026-129292 CVE-2026-129291 CVE-2026-128090 CVE-2026-126714 CVE-2026-115560 CVE-2026-129481 CVE-2026-15353 CVE-2026-129506 CVE-2026-128064 CVE-2026-127960

    @6LR61YXJ

    20 Nov 2026

    126 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. 🚨 PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix 18 vulnerabilities. Several can lead to remote code execution: session handling (CVE-2026-126714, CVE-2026-115560), use-after-free in timezones and backtraces (CVE-2026-129496, CVE-2026-129474). Update now 🧵

    @wodbycloud

    19 Nov 2026

    158 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    1 Reply

    0 Quotes

  5. 💀 PHP Critical Vulnerability RCE Detection ​ Following the November 19, 2026 PHP security update addressing multiple critical remote code execution vulnerabilities: ​ • CVE-2026-129474 (CVSS 9.2) • CVE-2026-129496 (CVSS 9.2) • CVE-2026-115560 (CVSS 9.2) • CVE-2026-

    @0x534c

    19 Nov 2026

    3494 Impressions

    11 Retweets

    36 Likes

    19 Bookmarks

    3 Replies

    0 Quotes

  6. kusanagi-phpを更新しました。 複数の脆弱性(CVE-2026-129538, CVE-2026-129496, CVE-2026-129289, CVE-2026-129292, CVE-2026-129291, CVE-2026-128090, CVE-2026-126714, CVE-2026-115560, CVE-2026-15353, CVE-2026-129506, CVE-2026-128064, CVE-2026-127960)への対応が含ま

    @kusanagi_saya

    19 Nov 2026

    798 Impressions

    3 Retweets

    7 Likes

    0 Bookmarks

    1 Reply

    1 Quote

  7. 🚨 Daily CVE Roundup | Nov 19 NGINX: CVE-2026-123007 PHP: CVE-2026-115560, CVE-2026-126714, CVE-2026-129474 Ruby: CVE-2026-132825 Linux: CVE-2026-124757 Java: CVE-2026-114938 https://t.co/FGQUUoMZeG #CVE #CyberSecurity #PerLod

    @Perlod_official

    19 Nov 2026

    142 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  8. ひとまず、整理しよう、PHPの脆弱性は何点あるがCriticalは7つ CVE番号:バージョン CVE-2026-129474:8.5 CVE-2026-129182:8.5 CVE-2026-129496:8.2〜8.5 CVE-2026-129289:8.2〜8.5 CVE-2026-126714:8.2〜8.5 CVE-2026-115560:8.2〜8.5 CVE-2026-1294

    @uemuragame5683

    19 Nov 2026

    1247 Impressions

    0 Retweets

    2 Likes

    3 Bookmarks

    1 Reply

    0 Quotes

  9. CVE-2026-129182, CVE-2026-129474, CVE-2026-129496, CVE-2026-129289, CVE-2026-115560, CVE-2026-126714, CVE-2026-129481がCritical?

    @seiyakubo

    19 Nov 2026

    114 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  10. PHP again! Vulns 7 critical CVEs: CVE-2026-126714, CVE-2026-115560, CVE-2026-129289, CVE-2026-129496, CVE-2026-129481, CVE-2026-129474, CVE-2026-129182 more: https://t.co/4k6qj8xuBE Security updates: PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13. PHP 8.6 is also arriving!

    @danielkalinka

    19 Nov 2026

    40 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  11. ん~PHPのアップデート多いな~。 8.4はCVE-2026-126714、CVE-2026-129289、CVE-2026-115560、CVE-2026-129481、CVE-2026-129496の5件かな・・・? そして今回のAmazon Linux 2023のパッチ早いな! 8.4.28にアップデート完了や! https://t.co/D

    @y2357jp

    19 Nov 2026

    580 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  12. PHP脆弱性まとめ(メモ) Critical, High CVE-2026-129289 CVE-2026-126714 CVE-2026-115560 CVE-2026-129496 CVE-2026-129474 CVE-2026-129182 CVE-2026-129291 https://t.co/XW9aoqGjoN

    @tabimoba

    19 Nov 2026

    9895 Impressions

    5 Retweets

    26 Likes

    25 Bookmarks

    3 Replies

    0 Quotes

  13. この辺が影響あるか確認早めが良さそう。 CVE-2026-129474 CVE-2026-129496 CVE-2026-126714 / CVE-2026-115560 CVE-2026-129291 #php

    @MCoDesign

    19 Nov 2026

    1038 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    1 Reply

    0 Quotes