{"vuln_id":"GHSA-fm2m-fjf5-v3cp","aliases":["CVE-2026-126714"],"description":"Partially overwritten session files can lead to remote code execution","published_at":"2026-11-19T14:06:39Z","modified_at":"2026-11-19T18:42:47Z","first_seen_at":"2026-11-21T19:15:07.667828Z","severity":"critical","severity_source":"ghsa","cvss_score":9.2,"cvss_vector":"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","cwe":["CWE-367","CWE-662"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-fm2m-fjf5-v3cp"},"matched_alias":null,"items":[{"id":654,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"[SECURITY RELEASE] php/php-src php-8.5.13 - PHP 8.5.13","summary":"Fixes advisories: GHSA-8mjj-2r7p-4hg2, GHSA-2fjv-p558-g82m, GHSA-mg3p-mxj9-g2mm, GHSA-g3vh-838c-65v7, GHSA-x8r7-mg3g-74hg, GHSA-jm4m-qfqx-967m, GHSA-mmf9-xm3v-hg2x, GHSA-f6gg-rchx-xw8j, GHSA-658j-r8rw-q6mx, GHSA-gr4f-wgx5-jpfv, GHSA-fm2m-fjf5-v3cp, GHSA-4646-p932-gw34, GHSA-qc49-hpvq-g2w6, GHSA-3mg3-cr28-46gc, GHSA-5j3f-64r7-f564, GHSA-68fq-fh7h-f8gr, GHSA-q23r-hr55-xmpg\n\n(no release notes)","url":"https://github.com/php/php-src/releases/tag/php-8.5.13","published_at":"2026-11-21T02:00:50Z","updated_at":null,"fetched_at":"2026-11-21T19:15:07.553386Z","severity":"critical","cvss_score":9.2,"epss":0.71117,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php-src","vuln_id":"CVE-2026-129474","vuln_ids":["CVE-2025-1217","CVE-2026-109619","CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129182","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129438","CVE-2026-129474","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","CVE-2026-6735","CVE-2026-91765","GHSA-2FJV-P558-G82M","GHSA-3MG3-CR28-46GC","GHSA-4646-P932-GW34","GHSA-5J3F-64R7-F564","GHSA-658J-R8RW-Q6MX","GHSA-68FQ-FH7H-F8GR","GHSA-6WMF-4RV5-P3RP","GHSA-7QG2-V9FJ-4MWV","GHSA-8MJJ-2R7P-4HG2","GHSA-F6GG-RCHX-XW8J","GHSA-FM2M-FJF5-V3CP","GHSA-G3VH-838C-65V7","GHSA-GR4F-WGX5-JPFV","GHSA-JM4M-QFQX-967M","GHSA-MG3P-MXJ9-G2MM","GHSA-MMF9-XM3V-HG2X","GHSA-Q23R-HR55-XMPG","GHSA-Q8FM-P8FX-H6R6","GHSA-QC49-HPVQ-G2W6","GHSA-RGRP-MWPX-F6RM","GHSA-V8XR-GPVJ-CX9G","GHSA-X8R7-MG3G-74HG"],"tags":["release","repo:php/php-src","security"],"cluster_id":444,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/654","html":"https://vulnwatch.ve1ve2.com/item/654"}},{"id":655,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"[SECURITY RELEASE] php/php-src php-8.4.28 - PHP 8.4.28","summary":"Fixes advisories: GHSA-g3vh-838c-65v7, GHSA-x8r7-mg3g-74hg, GHSA-jm4m-qfqx-967m, GHSA-mmf9-xm3v-hg2x, GHSA-f6gg-rchx-xw8j, GHSA-658j-r8rw-q6mx, GHSA-gr4f-wgx5-jpfv, GHSA-fm2m-fjf5-v3cp, GHSA-4646-p932-gw34, GHSA-qc49-hpvq-g2w6, GHSA-3mg3-cr28-46gc, GHSA-5j3f-64r7-f564, GHSA-68fq-fh7h-f8gr, GHSA-q23r-hr55-xmpg\n\n(no release notes)","url":"https://github.com/php/php-src/releases/tag/php-8.4.28","published_at":"2026-11-21T02:00:27Z","updated_at":null,"fetched_at":"2026-11-21T19:15:07.553387Z","severity":"critical","cvss_score":9.2,"epss":0.71117,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php-src","vuln_id":"CVE-2026-129481","vuln_ids":["CVE-2025-1217","CVE-2026-109619","CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129474","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","CVE-2026-6735","CVE-2026-91765","GHSA-2FJV-P558-G82M","GHSA-3MG3-CR28-46GC","GHSA-4646-P932-GW34","GHSA-5J3F-64R7-F564","GHSA-658J-R8RW-Q6MX","GHSA-68FQ-FH7H-F8GR","GHSA-6WMF-4RV5-P3RP","GHSA-7QG2-V9FJ-4MWV","GHSA-8MJJ-2R7P-4HG2","GHSA-F6GG-RCHX-XW8J","GHSA-FM2M-FJF5-V3CP","GHSA-G3VH-838C-65V7","GHSA-GR4F-WGX5-JPFV","GHSA-JM4M-QFQX-967M","GHSA-MMF9-XM3V-HG2X","GHSA-Q23R-HR55-XMPG","GHSA-Q8FM-P8FX-H6R6","GHSA-QC49-HPVQ-G2W6","GHSA-RGRP-MWPX-F6RM","GHSA-V8XR-GPVJ-CX9G","GHSA-X8R7-MG3G-74HG"],"tags":["release","repo:php/php-src","security"],"cluster_id":450,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/655","html":"https://vulnwatch.ve1ve2.com/item/655"}},{"id":656,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"[SECURITY RELEASE] php/php-src php-8.3.37 - PHP 8.3.37","summary":"Fixes advisories: GHSA-g3vh-838c-65v7, GHSA-jm4m-qfqx-967m, GHSA-mmf9-xm3v-hg2x, GHSA-f6gg-rchx-xw8j, GHSA-658j-r8rw-q6mx, GHSA-gr4f-wgx5-jpfv, GHSA-fm2m-fjf5-v3cp, GHSA-4646-p932-gw34, GHSA-qc49-hpvq-g2w6, GHSA-3mg3-cr28-46gc, GHSA-5j3f-64r7-f564, GHSA-68fq-fh7h-f8gr, GHSA-q23r-hr55-xmpg\n\n(no release notes)","url":"https://github.com/php/php-src/releases/tag/php-8.3.37","published_at":"2026-11-21T02:00:02Z","updated_at":null,"fetched_at":"2026-11-21T19:15:07.553388Z","severity":"critical","cvss_score":9.2,"epss":0.71117,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php-src","vuln_id":"CVE-2026-129481","vuln_ids":["CVE-2025-1217","CVE-2026-109619","CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129474","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","CVE-2026-6735","CVE-2026-91765","GHSA-2FJV-P558-G82M","GHSA-3MG3-CR28-46GC","GHSA-4646-P932-GW34","GHSA-5J3F-64R7-F564","GHSA-658J-R8RW-Q6MX","GHSA-68FQ-FH7H-F8GR","GHSA-6WMF-4RV5-P3RP","GHSA-7QG2-V9FJ-4MWV","GHSA-8MJJ-2R7P-4HG2","GHSA-F6GG-RCHX-XW8J","GHSA-FM2M-FJF5-V3CP","GHSA-G3VH-838C-65V7","GHSA-GR4F-WGX5-JPFV","GHSA-JM4M-QFQX-967M","GHSA-MMF9-XM3V-HG2X","GHSA-Q23R-HR55-XMPG","GHSA-Q8FM-P8FX-H6R6","GHSA-QC49-HPVQ-G2W6","GHSA-RGRP-MWPX-F6RM","GHSA-V8XR-GPVJ-CX9G"],"tags":["release","repo:php/php-src","security"],"cluster_id":450,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/656","html":"https://vulnwatch.ve1ve2.com/item/656"}},{"id":657,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"[SECURITY RELEASE] php/php-src php-8.2.36 - PHP 8.2.36","summary":"Fixes advisories: GHSA-jm4m-qfqx-967m, GHSA-mmf9-xm3v-hg2x, GHSA-f6gg-rchx-xw8j, GHSA-658j-r8rw-q6mx, GHSA-gr4f-wgx5-jpfv, GHSA-fm2m-fjf5-v3cp, GHSA-4646-p932-gw34, GHSA-qc49-hpvq-g2w6, GHSA-3mg3-cr28-46gc, GHSA-5j3f-64r7-f564, GHSA-68fq-fh7h-f8gr, GHSA-q23r-hr55-xmpg\n\n(no release notes)","url":"https://github.com/php/php-src/releases/tag/php-8.2.36","published_at":"2026-11-21T01:59:37Z","updated_at":null,"fetched_at":"2026-11-21T19:15:07.553389Z","severity":"critical","cvss_score":9.2,"epss":0.71117,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php-src","vuln_id":"CVE-2026-129291","vuln_ids":["CVE-2025-1217","CVE-2026-109619","CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129474","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","CVE-2026-6735","CVE-2026-91765","GHSA-2FJV-P558-G82M","GHSA-3MG3-CR28-46GC","GHSA-4646-P932-GW34","GHSA-5J3F-64R7-F564","GHSA-658J-R8RW-Q6MX","GHSA-68FQ-FH7H-F8GR","GHSA-6WMF-4RV5-P3RP","GHSA-7QG2-V9FJ-4MWV","GHSA-8MJJ-2R7P-4HG2","GHSA-F6GG-RCHX-XW8J","GHSA-FM2M-FJF5-V3CP","GHSA-GR4F-WGX5-JPFV","GHSA-JM4M-QFQX-967M","GHSA-MMF9-XM3V-HG2X","GHSA-Q23R-HR55-XMPG","GHSA-Q8FM-P8FX-H6R6","GHSA-QC49-HPVQ-G2W6","GHSA-RGRP-MWPX-F6RM","GHSA-V8XR-GPVJ-CX9G"],"tags":["release","repo:php/php-src","security"],"cluster_id":454,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/657","html":"https://vulnwatch.ve1ve2.com/item/657"}},{"id":8602,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-126714: Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into t…","summary":"Partially overwritten session files can lead to remote code execution.\n\nThe 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.\n\nThis 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.\n\nReferences:\nhttps://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp\nhttps://access.redhat.com/security/cve/cve-2026-126714\nhttps://bugzilla.suse.com/show_bug.cgi?id=1290690\nhttps://depthfirst.com/phpaftershell\nhttps://github.com/semgrep/detection-scripts/pull/14\nhttps://ubuntu.com/security/CVE-2026-126714","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126714","published_at":"2026-11-19T15:17:26.167000Z","updated_at":"2026-11-22T01:16:52.470000Z","fetched_at":"2026-11-21T19:15:31.484331Z","severity":"critical","cvss_score":9.2,"epss":0.13104,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-126714","vuln_ids":["CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","GHSA-FM2M-FJF5-V3CP"],"tags":["CWE-367","CWE-662"],"cluster_id":3,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8602","html":"https://vulnwatch.ve1ve2.com/item/8602"}},{"id":633,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-fm2m-fjf5-v3cp / CVE-2026-126714: Partially overwritten session files can lead to remote code execution","summary":"Partially overwritten session files can lead to remote code execution\n\n### Summary\r\n\r\nPHP's file-based session handler can leave a session file containing parts of two different serialized sessions if a write is interrupted. An attacker who can influence the session contents and interrupt a replacement write may be able to make PHP deserialize attacker-controlled objects when the session is next opened. A suitable object gadget chain in the application can turn this into remote code execution.\r\n\r\nThis affects the `files` session save handler, which is PHP's default. The issue is not limited to session upload progress or PHP 8.6.\r\n\r\n### Details\r\n\r\nWhen updating a session, `ps_files_write()` writes the new serialized data into the existing file. The vulnerable implementation does not clear the existing contents before every write. If the operation stops after replacing only part of the file, the result can contain a prefix of the new session followed by a suffix of the old one. The file lock prevents competing session operations from accessing the file during the write, but does not make an interrupted write atomic.\r\n\r\nPHP's session decoders use its unserialization machinery to restore session values. Carefully arranged old and new data can cause the combined file to be interpreted differently from either original session. Bytes that were previously part of an ordinary string can become serialized object data. A later `session_start()` or another session-reading operation can then create those objects and invoke their deserialization behavior.\r\n\r\nSession 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. This provides a way to influence where the write stops.\r\n\r\nThe fix truncates the session file to zero before writing the replacement data and aborts the write if truncation fails. An interrupted write can still lose session data, but it can no longer retain the old suffix that enables this attack.\r\n\r\n### Impact\r\n\r\nSuccessful exploitation can execute code with the privileges of the PHP worker. It requires attacker influence over the session data, an interruption at a useful point in the write, and an application with a suitable deserialization gadget chain. The issue can also corrupt session state. Authentication requirements depend on how the application exposes the affected session operations.\r\n\r\nOther session storage implementations are not affected by this specific file-write defect, although their own handling of interrupted updates must be considered separately.\r\n\r\n### Affected versions\r\n\r\nThe affected code has been present since PHP 4.1.0. This is based on code inspection.\r\n\r\n### Mitigation\r\n\r\nUpgrade to the fixed release for your PHP branch when it becomes available. As a temporary measure, disable `session.up\n\nAffected packages: php:ext-session\nPatched: ext-session 8.2.36, ext-session 8.3.37, ext-session 8.4.28, ext-session 8.5.13","url":"https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp","published_at":"2026-11-19T14:06:39Z","updated_at":"2026-11-19T18:42:47Z","fetched_at":"2026-11-21T19:15:07.553371Z","severity":"critical","cvss_score":9.2,"epss":0.13104,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"ext-session","vuln_id":"CVE-2026-126714","vuln_ids":["CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","GHSA-FM2M-FJF5-V3CP"],"tags":["repo-advisory","php","CWE-367","CWE-662","security","repo:php/php-src"],"cluster_id":460,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/633","html":"https://vulnwatch.ve1ve2.com/item/633"}}]}