Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-126714 β€” Advisory and analysis for CVE-2026-126714, a critical PHP file-based session handler flaw enabling object injection and RCE, with detection steps, affected versions, and patch guidance. | Kitploit
Tools/GitHubGitHub/0xblackash/cve-2026-126714
Vulnerability AnalysisExploitationSecurity VirtualizationWeb SecurityLearning & Education
GitHub0xblackash/cve-2026-126714

CVE-2026-126714

Advisory and analysis for CVE-2026-126714, a critical PHP file-based session handler flaw enabling object injection and RCE, with detection steps, affected versions, and patch guidance.

View Repository
Nov 20, 2026Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    841
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    451
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    377
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    351
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    336

Explore all tools

Browse our collection of tools

View all tools β†’
Share

πŸ”΄ CVE-2026-126714 - PHPAfterShell

PHP Vulnerability_ Patch Now

CRITICAL PHP SESSION HANDLING VULNERABILITY

CVE Severity CVSS PHP

πŸ”΄ Understand β€’ Analyze β€’ Detect β€’ Patch β€’ Protect


☠️ Overview

PHPAfterShell (CVE-2026-126714) is a critical vulnerability in PHP's default file-based session handler.

The vulnerability occurs when PHP partially overwrites an existing session file during an interrupted write operation.

This can result in a session file containing fragments of two different serialized sessions. When PHP subsequently reads the session, attacker-controlled serialized objects may be created.

Under suitable application conditions, including the presence of a usable PHP object gadget chain, this can lead to Remote Code Execution (RCE).

πŸ”΄ Security impact: Remote Code Execution
☠️ Affected component: PHP ext-session
⚠️ Default configuration: File-based sessions

πŸ”΄ Vulnerability Information

AttributeDetails
VulnerabilityPHPAfterShell
CVECVE-2026-126714
VendorPHP Group
ComponentPHP Session Handler
SeverityCritical
CVSS9.2 / 10 (CVSS 4.0)
CWECWE-367, CWE-662
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Primary ImpactRemote Code Execution

☠️ Technical Root Cause

The vulnerability exists in PHP's file-based session storage mechanism.

Default configuration:

session.save_handler = files

During session updates, PHP writes new serialized session data into an existing session file.

If the write operation is interrupted before completion, the file may contain:

  • A prefix of the new session data.
  • A suffix of the previous session data.
  • Unexpected serialized object structures.

When a subsequent request invokes:

session_start();

PHP processes the session data and may deserialize attacker-controlled objects.

If the application contains a suitable gadget chain, object injection can potentially escalate into arbitrary code execution.

πŸ”΄ Attack Chain

        ATTACKER
            |
            v
   HTTP REQUEST / SESSION INPUT
            |
            v
    PHP FILE SESSION HANDLER
            |
            v
    INTERRUPTED WRITE OPERATION
            |
            v
     PARTIALLY OVERWRITTEN FILE
            |
            v
      SESSION DESERIALIZATION
            |
            v
       PHP OBJECT INJECTION
            |
            v
      GADGET CHAIN EXECUTION
            |
            v
       REMOTE CODE EXECUTION

⚠️ Successful exploitation requires suitable control over session contents, a useful interruption point, and an applicable gadget chain.

πŸ”΄ Affected Versions

PHP BranchVulnerable VersionsFixed Version
PHP 8.2Before 8.2.368.2.36
PHP 8.3Before 8.3.378.3.37
PHP 8.4Before 8.4.288.4.28
PHP 8.5Before 8.5.138.5.13

Note: PHP 8.1 and older are unsupported upstream branches. Plan migration to a supported, patched release.

☠️ Security Impact

ImpactDescription
πŸ”΄ Remote Code ExecutionPotential arbitrary code execution
πŸ”΄ Object InjectionAttacker-controlled object deserialization
πŸ”΄ Session CorruptionMixed or malformed session data
πŸ”΄ Data IntegrityUnauthorized modification
πŸ”΄ ConfidentialityPotential exposure of sensitive data
πŸ”΄ AvailabilityPotential service compromise

πŸ” Detection & Analysis

1. Identify PHP Version

php -v

2. Inspect Session Configuration

php -i | grep -E \
'session.save_handler|session.save_path|session.upload_progress.enabled'

3. Check PHP-FPM Version

php-fpm -v

4. Inspect Session Configuration in PHP

<?php

echo "PHP Version: " . PHP_VERSION . PHP_EOL;

echo "Session Handler: " .
    ini_get('session.save_handler') . PHP_EOL;

echo "Session Path: " .
    ini_get('session.save_path') . PHP_EOL;

echo "Upload Progress: " .
    ini_get('session.upload_progress.enabled') . PHP_EOL;

⚠️ Run these checks in the actual web-serving PHP environment. CLI configuration may differ from PHP-FPM or Apache.

πŸ›‘οΈ Mitigation & Remediation

1. Upgrade PHP

Install a patched PHP version:

PHP 8.2.36
PHP 8.3.37
PHP 8.4.28
PHP 8.5.13

2. Disable Session Upload Progress

If the feature is unnecessary, temporarily disable it:

session.upload_progress.enabled = 0

This removes one important attacker-controlled session input path, but does not eliminate every possible exploitation scenario.

3. Review Session Storage

Review applications using:

session.save_handler = files

Evaluate alternative session storage backends where appropriate.

4. Restart PHP-FPM

Example:

sudo systemctl restart php8.4-fpm

Adjust the service name to your installed version.

5. Verify the Update

php -v
php-fpm -v

Also verify the PHP version used by the actual web application and all running workers.

πŸ”΄ Security Recommendations

  • πŸ”΄ Upgrade all affected PHP installations.
  • πŸ”΄ Review PHP session storage configurations.
  • πŸ”΄ Disable unnecessary session upload progress.
  • πŸ”΄ Avoid storing excessive untrusted data in sessions.
  • πŸ”΄ Review application deserialization behavior.
  • πŸ”΄ Monitor unexpected PHP worker activity.
  • πŸ”΄ Review application and server logs for suspicious activity.

πŸ“š References & Resources

ResourceLink
Official PHP AdvisoryGHSA-fm2m-fjf5-v3cp
CVE DatabaseCVE-2026-126714
Technical AnalysisDepthfirst Research
Red Hat AdvisoryRed Hat CVE
PHP ReleasesPHP.net

☠️ SECURITY IS NOT OPTIONAL

πŸ”΄ DETECT β€’ ANALYZE β€’ PATCH β€’ PROTECT

PHPAfterShell | CVE-2026-126714 | 2026

Stay curious. Stay ethical. Stay secure.

Download Tool