ungoogled-software/ungoogled-chromium

Disable Background Fetch API (unpatched Chromium vuln, exploit code public)

Geschlossen

#3.791 geöffnet am 21.05.2026

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (771 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (18.674 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 11h) (9 gemergte PRs in 30 T)

Beschreibung

Description

How to disable Background Fetch API at build time?

Who's implementing?

  • I'm willing to implement this feature myself

The problem

Background Fetch in Chromium has a vulnerability that's been public since yesterday (May 20, 2026). Originally reported by Lyra Rebane in late 2022, rated S1 internally, still unpatched ~29 months later. Google briefly published PoC exploit code on their own tracker before pulling it.

How it works: a malicious site registers a service worker that uses Background Fetch to keep a persistent connection open - survives tab close, browser restart, sometimes OS reboot. Turns the browser into a low-capability botnet node (anonymous proxy, proxied DDoS, traffic monitoring). Doesn't cross same-origin boundaries by itself, but stockpiles browsers for when the next vuln drops.

Affects every Chromium-based browser including UC. Firefox and Safari aren't affected - they never shipped the API.

Refs:

Two things:

  1. Is there a way to disable Background Fetch at build time today - e.g. flipping BackgroundFetch in third_party/blink/renderer/platform/runtime_enabled_features.json5, or some existing build flag I missed? If something works, could it get a line in docs/?

  2. Could UC add a --disable-background-fetch switch (and ideally --disable-service-workers for the broader case), with Background Fetch defaulted off? Almost nothing uses it in practice - for typical UC users disabling it by default breaks essentially nothing, and anyone who needs it can flip the flag back. Until upstream ships a fix this looks like the only real user-side mitigation, and it fits the project's "privacy/control over convenience" line.

Possible solutions

  • Now: recipe for self-builders - how to disable Background Fetch and service workers at build time (files, flags, anything related).

  • Later: ship it as UC flags (--disable-background-fetch, --disable-service-workers), Background Fetch off by default.

Alternatives

No response

Additional context

No response

Contributor Guide