Skip to content
Disclosed report Advanced CVE-2026-75874

Firefox Content Process Sandbox Escape — macOS (Nimbus / Remote Settings Recipe Poison)

The report claims that an attacker who already controls a Firefox content process can forge the document principal to SystemPrincipal with four pointer writes, then write a record into the remote-settings IndexedDB at the chrome:// origin. On the next startup, the Nimbus experimentation system is said to read that record as a signed recipe and enrol the profile in an experiment that sets the content sandbox level to zero, leaving later content processes unsandboxed.

Frederik Braun Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 4 months
  • Disclosed after 3 months

Executive Summary

This report documents a complete, end-to-end Firefox content-process sandbox escape on macOS that has been runtime-validated on 2026-05-15 against a Firefox Nightly build configured with ac_add_options --enable-release. An attacker who already controls a single content process (assumed primitive: a renderer-side memory write, e.g. via a JIT type confusion) can pivot from a content-side compromise to a persistent, fully-unsandboxed content process by performing four pointer writes to forge the document principal to SystemPrincipal, then writing a single record into the remote-settings IndexedDB at the chrome:// origin. Upon the next browser startup, Firefox's Nimbus experimentation system reads that record back, treats it as a legitimately-signed experiment recipe, and enrolls the local profile in an experiment that sets security.sandbox.content.level=0. Every content process spawned after that point runs with no Seatbelt profile applied, with sandbox_check(getpid()) == 0, and is empirically able to fork()+execv() arbitrary binaries, open arbitrary outbound TCP sockets, and read arbitrary files. The vulnerability bypasses the local defense-in-depth patch BLOCKED_PREF_PREFIXES = ["security.sandbox"] added to PrefFlipsFeature.sys.mjs by routing through the contentProcessSandbox setPref feature rather than prefFlips. Persistence is achieved by preserving the timestamps store's value field so the Remote Settings client's expectedTimestamp == collectionLastModified invariant continues to hold and no resync overwrites the poisoned record.

The chain combines four distinct trust-boundary violations: (1) principal pointers live in writable heap memory with no integrity protection; (2) IPC IndexedDB writes trust the caller's principal as authoritative origin for chrome-origin storage; (3) Nimbus enrolls recipes read from IndexedDB without re-verifying provenance against the signed Remote Settings server; (4) Seatbelt sandbox level 0 is reachable as a final user-branch pref value with no minimum clamp on Nightly macOS builds.

The original report as published on Mozilla's Bugzilla, by Frederik Braun. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the combination of writable, unprotected principal pointers, IndexedDB writes that trust the caller's principal as the origin for chrome storage, Nimbus enrolling recipes from IndexedDB without re-checking provenance, and no minimum clamp on the sandbox level pref.

Impact

The report claims later content processes run with no sandbox and can execute binaries, open outbound connections and read files, but only after the attacker already holds a content-process primitive.

What the attacker needed

Existing content-process code execution; macOS Firefox Nightly build; browser restart

The fix

The report does not state a fix; it implies the sandbox level pref should be clamped to a minimum and Nimbus should re-verify recipe provenance against the signed server.

How it was found

  1. Obtain code execution inside a single Firefox content process.
  2. Perform four pointer writes to forge the document principal to SystemPrincipal.
  3. Write one record into the remote-settings IndexedDB at the chrome:// origin, keeping the timestamps value so no resync overwrites it.
  4. Restart the browser so Nimbus reads the record and enrols the profile in the experiment.
  5. Observe that later content processes run with no Seatbelt profile and can fork, exec, open sockets and read files.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Firefox normally runs web pages inside a restricted 'sandbox' so that a bug in a page cannot reach the rest of the computer. This report says that if an attacker can already run code inside that sandbox, they can trick Firefox's own experiment system into switching the sandbox off, so later pages run with no restrictions at all. The attacker still needs that first foothold, so this is a step after an initial compromise, not a way in from nothing.

More by Frederik Braun

View all

4 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.