Skip to main content
Network Thinking Solutions Logo

CVE-2026-126714

Partially overwritten session files can lead to remote code execution.

All CVEs
CVE-2026-126714Published 11/19/2026

Partially overwritten session files can lead to remote code execution.

Vendor advisory
CVSS 4.09.2Critical

Overview

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.

Published
11/19/2026
Last modified
11/22/2026
CVE assigner
php
NVD analysis
Awaiting Analysis

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
PHP
PHP Group
< 8.2.36

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
PHP
PHP Group
≥ 8.3.0, < 8.3.37

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
PHP
PHP Group
≥ 8.4.0, < 8.4.28

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
PHP
PHP Group
≥ 8.5.0, < 8.5.13

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

9.2 · Critical CVSS 4.0

Scored by php

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

9.2 · Critical CVSS 4.0

Scored by security@php.net

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

Related weaknesses

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.