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-106378 — Educational proof-of-concept lab demonstrating CVE-2026-106378, a Chrome macOS sandbox escape via WindowServer keystroke injection from a compromised renderer. | Kitploit
Tools/GitHubGitHub/leisureprog/cve-2026-106378
Privilege EscalationDynamic Analysis (Sandboxing)ExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubleisureprog/cve-2026-106378

CVE-2026-106378

Educational proof-of-concept lab demonstrating CVE-2026-106378, a Chrome macOS sandbox escape via WindowServer keystroke injection from a compromised renderer.

View Repository
222 days agoNot yet reviewed
Share

CVE-2026-106378 — Educational Lab

Author: Leisure

This is educational code. It was created solely to study the vulnerability mechanism in an isolated lab environment and is not intended to attack real systems. Use it only on your own machine and your own hardware.

About the Vulnerability

CVE-2026-106378 is a privilege escalation in the Google Chrome sandbox on macOS. An attacker who has already compromised the renderer process can execute arbitrary code outside the sandbox via a crafted HTML page.

FieldValue
TypeSandbox escape / Execution with Unnecessary Privileges (CWE-250)
PlatformGoogle Chrome on macOS
Affected versionsprior to 155.0.8059.39
FixChrome 155.0.8059.39 and later
CVSS v3.18.3 (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H)
Severity (Chromium)Medium
PublishedOctober 6, 2026

Root cause: gpu.sb (the Seatbelt profile of Chrome's GPU process) retains the com.apple.windowserver.active grant, while the renderer profile does not. Through the private CGSPostKeyboardEvent API from SkyLight.framework, this allows synthetic keyboard events to be posted directly to WindowServer — effectively typing into Spotlight, launching apps, and running commands outside the sandbox. Public write-ups describe this as a "hijacked GPU process injecting keystrokes on Macs".

What the Lab Demonstrates

A simplified but working chain:

website in browser  →  local server (Bun)  →  injection via WindowServer
  1. The page http://127.0.0.1:8730/ is opened.
  2. The page immediately calls /run on the local server.
  3. The server puts the command into the clipboard (pbcopy), opens Terminal, and launches the injector.
  4. The injector sends Cmd+V and Enter through CGSPostKeyboardEvent — Terminal receives the command and executes it.

The clipboard route is intentional: injection at the WindowServer level follows the active keyboard layout, so typing symbols directly would produce altered text (e.g. Latin letters coming out as Cyrillic), whereas pasting is layout-independent.

Layout

bench/
├── Makefile          # target: serve
├── serve.js          # local server: /run → pbcopy + Terminal + injection
├── cdp/
│   └── system.js     # injector: SkyLight / CGSPostKeyboardEvent via bun:ffi
└── sites/
    └── index.html    # page that auto-triggers /run on load

Running

Requirements: macOS, Bun, Google Chrome.

make serve          # start the server on 127.0.0.1:8730

Then, in another terminal:

make run            # open Chrome at the lab page

Or just open http://127.0.0.1:8730/ in a browser.

The command can be set when starting the server:

COMMAND='ls -la' make serve

Notes

  • Keystrokes are actually delivered only if the process running serve.js (i.e. your terminal) has the Accessibility permission granted (System Settings → Privacy & Security → Accessibility). Otherwise Terminal opens but nothing is pasted.
  • WindowServer injection is directed at the active window. The lab therefore opens and activates Terminal first, then sends the keys.

References

  • Chrome Releases — Stable Channel Update for Desktop (October 2026)
  • Chromium Issue Tracker — #507596239
  • NVD / MITRE — CVE-2026-106378
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.

    899
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    831
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    661
  • 4

    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.

    444
  • 5

    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.

    443
  • 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.

    395

Explore all tools

Browse our collection of tools

View all tools →