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
Tools/GitHubGitHub/sneakynachos/cve-2026-74939-escape-the-mac-n-cheese-box
Privilege EscalationExploit FrameworksVulnerability AnalysisExploitationWeb Application ExploitationBinary Exploitation
GitHubsneakynachos/cve-2026-74939-escape-the-mac-n-cheese-box

CVE-2026-74939-escape-the-mac-n-cheese-box

Share

Firefox content-to-parent IPDL privilege escalation (N-day, bug 2054416): forged PDocumentChannel with RemoteTypeOverride -> privilegedabout process placement, via mojo-port send-path injection from a compromised content process

View Repository
1552 months agoNot yet reviewed

CVE-2026-74939 — Firefox content→parent privilege escalation

Proof of concept for a sandbox escape in Firefox 149.0a1 nightly (2fbc0748c4, pre-fix). A compromised content process forges an IPDL message that makes the parent load a page into a privileged (privilegedabout) process.

This is the stage-2 sandbox escape, designed to chain after a content-process RCE (e.g. CVE-2026-2796).

The bug (Mozilla bug 2054416)

The parent process deserializes a nsDocShellLoadState from content→parent IPDL messages. The vulnerable build does not reject a content-set RemoteTypeOverride field, so content can choose which process type a navigation lands in.

The fix (commit 3ec5c71b41bb, "Validate RemoteTypeOverride") makes the nsDocShellLoadState ctor reject any override on a content-triggered load.

When the override is honored — document load of about:blank, top-level context — IsolationOptionsForNavigation sets the load's remote type to the override value, and the page is placed in a privileged process. Sandbox boundary violated.

Exploit overview

The override rides on PNecko::PDocumentChannel, a message every content process sends for each document load (DocumentChannelCreationArgs.loadState is a nsDocShellLoadState).

Delivery is the interesting part: raw writes to the IPC socket are silently dropped, because IPDL messages now ride mojo ports. Instead, the PoC drives the real send path from JavaScript via native calls (using the CVE-2026-2796 funcref primitive):

  1. operator new — allocate a heap block for the IPC::Message
  2. IPC::Message::Message(routing, type, capacity, flags) — placement ctor
  3. Pickle::WriteBytes — append the forged payload
  4. MessageChannel::Send on the PContent channel — mojo framing, port routing, and sequence numbers are all handled natively

The payload (built by forge.py) carries RemoteTypeOverride = "privilegedabout", URI about:blank, a null principal, and runtime-leaked values (BrowsingContext id, TriggeringRemoteType).

Files

FilePurpose
privesc.htmlPoC page, run inside the compromised content process
forge.py / forge.jsonbuild the forged IPDL message (self-verifying)
wasm-bytes.jsstage-1 primitives: arb R/W, funcref calls
mdrive.py / mdrive2.pymarionette harness to launch and drive Nightly
iruninstrumented run: lldb attach to parent + MOZ_LOG evidence
profile.user.jsFirefox profile prefs (fission on, dump enabled)
parse_dc.pybyte-exact parser for captured DocumentChannel messages
scan_sentinels.py / extract_fields.pyfield-map scanners for captures

Run

./irun

Verification

Parent-side logs (MOZ_LOG=ProcessIsolation:5,DocumentChannel:5) show the process switch into the privileged process:

V/ProcessIsolation using remote type override (privilegedabout) for load
I/ProcessIsolation Process Switch: Changing Remoteness from 'webIsolated=http://127.0.0.1' to 'privilegedabout'

References

  • Mozilla bug 2054416 — fix commit 3ec5c71b41bb "Validate RemoteTypeOverride"
  • Stage-1 content RCE: CVE-2026-2796
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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    627
  • 3

    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.

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

    350
  • 5

    ARTEX

    baarai/artex

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

    329
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    283

Explore all tools

Browse our collection of tools

View all tools →