Improper resource control in Linux Toolkit Theming (CVE-2026-76023)
Chrome's GPU process retains an authenticated X11 connection before sandboxing, allowing a compromised GPU process to become the XSETTINGS manager and publish a malicious Gtk/Modules setting. GTK3 in the unsandboxed browser process then loads an attacker-controlled module from a memfd, achieving native code execution in the browser process.
Originally disclosed on Chrome VRP
- Fix shipped in 10 days
Report description
Sandbox escape: a compromised Linux/X11 GPU process can make GTK3 execute an attacker-controlled memfd in Chrome's browser process via Gtk/Modules
Bug location
Where do you want to report your vulnerability?
Chrome VRP – Report security issues affecting the Chrome browser. See program rules
Which URL (or repository) have you found the vulnerability in?
https://chromium.googlesource.com/chromium/src/+/152.0.7977.30/ui/gtk/gtk_ui.cc
The problem
Please describe the technical details of the vulnerability
On Linux/X11 with GTK3, Chrome's GPU process receives an X11 connection before the GPU sandbox is installed: creating a new connection after sandboxing requires socket operations that the sandbox blocks. A native attacker already executing in the GPU process can therefore use this retained authenticated X11 connection to become the per-screen XSETTINGS manager.
The affected sink is GTK3 module loading in Chrome's unsandboxed browser process. GTK3 maps the XSETTING Gtk/Modules to the gtk-modules property. A dynamic XSETTING event writes that value directly to GTK private property storage unless Chrome has first made the property's source APPLICATION. This dynamic path bypasses Chrome's GtkSettings::set_property interceptor. GTK class notification then processes the module list: an absolute pathname is accepted by g_module_open, GTK resolves gtk_module_init, and invokes that initializer in the browser process.
Chrome Beta 152.0.7977.30 does not pin or clear gtk-modules; its current interceptor protects selected theme, icon, key, and cursor properties only. The effective attack sequence is:
native code in the already-compromised GPU process
-> use the retained authenticated X11 connection
-> become `_XSETTINGS_Sn` owner
-> create a compatible module in an executable memfd
-> publish `Gtk/Modules=/proc/<gpu-pid>/fd/<memfd>`
-> GTK3 in Chrome's browser process opens that path
-> GTK3 resolves and calls `gtk_module_init`
-> native code executes in the browser process
I dynamically verified the unmodified product sink on official Chrome for Testing Beta 152.0.7977.30 using a clean A/B/R campaign and normal Chrome sandbox settings:
- A / publish: the harmless module's marker PID equaled the exact browser PID, differed from the publisher PID, and the exact executable memfd inode was mapped
r-xpin the browser process. - B / no publication: a fresh browser had neither marker nor target-module mapping.
- R / fresh repeat: the browser-PID marker and exact executable mapping recurred with a new publisher and new memfd inode.
The source and memfd SHA-256 values matched in each positive axis. This campaign used no browser patch, LD_PRELOAD, --no-sandbox, --disable-gpu-sandbox, or --disable-setuid-sandbox.
I also collected a separate three-run real-GPU post-filter discriminator. Each run recorded a real Chrome GPU PID with NoNewPrivs: 1, Seccomp: 2, one filter, a retained socket, successful executable-memfd staging after filter installation, XSETTINGS publication, browser-PID marker execution, and an executable browser mapping. That campaign deliberately uses disclosed preload / early-sandbox / dedicated-descriptor instrumentation to prove policy and ordering facts; it is not claimed to be an unmodified end-to-end product exploit.
The supplied PoC is source-only and uses a harmless module whose initializer records the exact PID. It demonstrates the unmodified product sink with an external X11 publisher analogue. It does not claim a renderer-to-GPU compromise, a Web trigger, or a full remote chain.
Proposed remediation
During GTK3 initialization, set gtk-modules to an empty application-owned value before dynamic XSETTING updates can be processed. GTK3's source-precedence rule then rejects later XSETTING replacement. Adding only a setter-interceptor branch is insufficient because the dynamic XSETTING path writes GTK private storage directly.
An exact tagged Chromium candidate patch preserved XSETTINGS publication while suppressing both browser-PID module initialization and the target executable mapping; restoring the clean candidate reproduced both. This is candidate mitigation evidence, not a claim that a shipped fix exists.
Impact analysis
The attacker prerequisite is native code execution in Chrome's already BPF-sandboxed Linux GPU process. Given that prerequisite, the attacker can cross the GPU sandbox boundary and cause native code execution in Chrome's unsandboxed browser process by publishing one GTK XSETTING over the GPU process's retained X11 connection.
The gain is browser-process native code execution, not merely a crash or parser-level behavior. A browser-process compromise is materially more privileged than code confined to the GPU sandbox and can expose browser-process capabilities available under the victim's account. The report is therefore a GPU-sandbox escape / privilege-boundary violation.
The demonstrated scope is intentionally bounded: x86-64 Linux, Ozone/X11, GTK3, a retained authenticated X11 connection, compatible module ABI, and the tested same-UID /proc/<pid>/fd policy. I do not claim Wayland, GTK4, non-Linux platforms, universal /proc behavior, a renderer-to-GPU first stage, a Web-reachable trigger, or a complete remote exploitation chain. Recommended severity is High for the verified configuration; Google should apply its own VRP taxonomy.
The cause
What version of Chrome have you found the security issue in?
152.0.7977.30 Beta (Chrome for Testing; dynamically verified)
Is the security issue related to a crash?
No, it is not related to a crash.
Choose the type of vulnerability
Sandbox Escape
How would you like to be publicly acknowledged for your report?
Keita Sode (SYZD Research)
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, Chrome does not pin or clear the gtk-modules property before dynamic XSETTING updates, so GTK3 loads a module from an attacker-controlled path in the browser process.
Impact
Given native code execution in the GPU process, an attacker can cross the GPU sandbox boundary and achieve native code execution in the unsandboxed browser process, but only on x86-64 Linux with Ozone/X11 and GTK3.
What the attacker needed
Native code execution in GPU process; x86-64 Linux with Ozone/X11 and GTK3; retained authenticated X11 connection; compatible module ABI
The fix
During GTK3 initialization, set gtk-modules to an empty application-owned value before dynamic XSETTING updates can be processed.
How it was found
- Obtain native code execution in the GPU process.
- Use the retained authenticated X11 connection to become the XSETTINGS manager.
- Create a compatible module in an executable memfd.
- Publish Gtk/Modules pointing to the memfd path.
- GTK3 in the browser process opens the path and calls gtk_module_init, executing code.
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.
Chrome separates its code into processes with different privileges. The GPU process is sandboxed, but it keeps an X11 connection that lets it set desktop-wide settings. The browser process trusts those settings and loads a module from a path the attacker controls, so code runs outside the sandbox.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.