Apr 2, 2026·6 min read·272 visits
A Use-After-Free in Google Chrome's Dawn WebGPU component allows remote attackers to execute arbitrary code. The vulnerability involves a race condition in command buffer queue management and requires immediate patching to version 146.0.7680.178.
CVE-2026-5281 is a critical Use-After-Free (UAF) vulnerability located in the Dawn WebGPU backend of Chromium-based browsers. It allows remote attackers to execute arbitrary code via a crafted HTML page leveraging a race condition in the internal GPU task queue. The flaw is actively exploited in the wild.
Google Chrome versions prior to 146.0.7680.178 contain a high-severity Use-After-Free (UAF) vulnerability within the Dawn WebGPU implementation. Dawn serves as the open-source WebGPU backend for Chromium, translating modern GPU capabilities into underlying platform APIs such as D3D12, Metal, and Vulkan. The vulnerability, tracked as CVE-2026-5281, resides within the command buffer handling logic of the GPU task queue.
The flaw emerges when CommandBuffers are submitted for execution and subsequently destroyed in rapid succession. The system fails to maintain proper synchronization between the lifecycle of the buffer objects and the internal GPU task queue processing state. This lack of synchronization allows dangling pointers referencing the destroyed objects to persist within the queue.
An attacker can leverage these dangling pointers to execute arbitrary code within the context of the renderer process. Exploitation requires user interaction, specifically drawing the victim to a malicious HTML page hosting the WebGPU payload. The vulnerability has been observed under active exploitation in the wild, prompting its inclusion in the CISA Known Exploited Vulnerabilities catalog.
The core issue in CVE-2026-5281 is a race condition in the Dawn WebGPU backend's queue management system. Dawn maintains a sequential queue to organize command buffers submitted by the JavaScript execution environment before they are dispatched to the underlying hardware API. These command buffers encapsulate rendering and compute operations scheduled for GPU processing.
When a script submits operations to gpuDevice.queue, the backend allocates memory regions to track the asynchronous execution state of these tasks. The vulnerability manifests when the script invokes the .destroy() method on the associated buffer objects immediately after submission. The destruction routine deallocates the backing memory without synchronously halting or dequeuing the pending operations referencing that memory.
As the asynchronous task queue continues processing, it eventually reaches the submitted tasks that now contain invalid memory references. The backend attempts to read or execute data from the memory addresses previously assigned to the destroyed buffer objects. This state constitutes a classic Use-After-Free condition, enabling arbitrary memory access if the attacker has successfully reallocated the freed space.
The exploitation methodology relies on a precise sequence of WebGPU API calls to trigger the Use-After-Free and subsequently hijack the execution flow. The attacker initiates the chain by establishing a WebGPU context through a standard HTMLCanvasElement within a controlled web page. Upon acquiring the context, the exploit allocates a large volume of GPU buffers and constructs multiple compute pipelines.
The attacker then submits these command buffers to the GPU device queue in rapid succession, immediately followed by explicit calls to .destroy() on the buffer objects. This rapid allocation and destruction sequence maximizes the probability of winning the race condition against the internal GPU processing thread. The destruction frees the memory regions while the references remain active in the task queue.
To achieve code execution, the attacker performs heap spraying by reallocating buffers of identical sizes to reclaim the recently freed memory segments. These newly allocated blocks contain a malicious payload, typically constructed as shellcode or corrupted object headers. When the GPU queue processes the original dangling pointers, it operates on the attacker-controlled data.
// CVE-2026-5281 Aggressive UAF Trigger Snippet
async function triggerAggressiveUAF() {
while (!crashDetected) {
const tempBuffers = [];
for (let i = 0; i < 200; i++) {
const size = (64 + Math.floor(Math.random() * 16384)) * 4;
tempBuffers.push(gpuDevice.createBuffer({
size: size,
usage: GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_DST
}));
}
const commands = [];
for (let p = 0; p < tempBuffers.length / 2; p++) {
const cmdEncoder = gpuDevice.createCommandEncoder();
const computePass = cmdEncoder.beginComputePass();
computePass.end();
commands.push(cmdEncoder.finish());
}
gpuDevice.queue.submit(commands);
for (let i = 0; i < tempBuffers.length; i++) {
tempBuffers[i].destroy();
}
const reuseBuffer = gpuDevice.createBuffer({
size: 4096,
usage: GPUBufferUsage.STORAGE
});
}
}The immediate impact of a successful CVE-2026-5281 exploit is unauthenticated remote code execution within the Chromium renderer process. The renderer process operates under a restricted sandbox environment, limiting the attacker's direct access to the underlying operating system. However, gaining arbitrary code execution in this context provides a necessary foothold for subsequent privilege escalation attacks.
To fully compromise a target system, an attacker must chain this vulnerability with a separate sandbox escape flaw. The initial execution context allows the attacker to read memory within the renderer process, potentially exposing sensitive data originating from the rendered web content. The CVSSv3.1 base score of 8.8 reflects the high severity of the vulnerability, driven by the network attack vector and the high impact on confidentiality, integrity, and availability.
The vulnerability affects multiple platforms due to Dawn's role as a translation layer for various graphics APIs. Vulnerable implementations include Windows using Direct3D 12, macOS using Metal, Linux using Vulkan, and ChromeOS using Mali drivers. This cross-platform applicability broadens the attack surface, requiring comprehensive patch deployment across all supported operating systems.
The primary remediation for CVE-2026-5281 is updating all Chromium-based browsers to the patched versions. Google released Chrome version 146.0.7680.178 to address the vulnerability across Windows, macOS, and Linux platforms. Organizations utilizing Microsoft Edge, Opera, or other Chromium derivatives must apply corresponding updates provided by their respective vendors.
In enterprise environments, security teams should implement detection mechanisms to identify potential exploitation attempts. Monitoring browser error logs for unexpected GPU process crashes or "Device Lost" API errors provides a strong indicator of the race condition being triggered. While these errors occur during benign development, elevated frequencies correlate with exploit activity.
Administrators can utilize the cve_2026_5281_scanner.py research tool to audit local systems and fleet inventories for vulnerable browser installations. The scanner analyzes the BLBeacon registry key on Windows systems and extracts binary version information on Unix-like platforms. Disabling WebGPU via organizational group policies serves as a viable temporary mitigation if immediate patching is not feasible.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
Google Chrome Google | < 146.0.7680.178 | 146.0.7680.178 |
Microsoft Edge Microsoft | < 146.0.7680.178 | 146.0.7680.178 |
Opera Opera | < 146.0.7680.178 | 146.0.7680.178 |
| Attribute | Detail |
|---|---|
| CVE ID | CVE-2026-5281 |
| CVSSv3.1 Score | 8.8 (High) |
| CWE Identifier | CWE-416 |
| Attack Vector | Network |
| Impact | Remote Code Execution (Renderer Process) |
| Exploit Status | Actively Exploited (In the Wild) |
| CISA KEV Status | Listed (Added 2026-04-01) |
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
An Server-Side Request Forgery (SSRF) vulnerability via DNS-Rebinding Time-of-Check to Time-of-Use (TOCTOU) has been discovered in SiYuan (思源笔记), an open-source personal knowledge management system. The flaw exists within the AI Agent tools http_request (util.HTTPRequest) and web_fetch (util.WebFetch) of the SiYuan Kernel, allowing unauthenticated remote attackers to bypass SSRF validation and access private internal services or cloud metadata endpoints.
An uncontrolled resource consumption vulnerability (CWE-1333 / CWE-400) exists in probe-image-size versions prior to 7.4.0. The SVG parser utilizes an unanchored, inefficient regular expression to find the SVG root tag, leading to catastrophic backtracking when handling malformed payloads. This blocks the single-threaded Node.js event loop, resulting in a complete denial of service.
CVE-2026-10032 is a DOM-based Cross-Site Scripting (XSS) vulnerability in Google's @a2ui/web_core Node.js library. The vulnerability is located within the openUrl utility function, which processes and opens dynamic URLs defined in layout configurations. Because the function fails to sanitize or validate the target URL scheme before passing it to the window.open browser sink, an attacker can specify a javascript: pseudo-protocol to execute arbitrary client-side script in the context of the host origin.
CVE-2026-59944 is a path traversal and link-following vulnerability in Composer, the PHP dependency manager. This flaw allows malicious or compromised packages to bypass previous path-hardening protections and perform arbitrary filesystem operations outside of their designated installation directory, leading to unauthorized permission modifications or execution proxy creations.
A critical Broken Object Level Authorization (BOLA) vulnerability was identified in Trigger.dev before version v4.5.2. An authenticated attacker could trigger a run replay and supply an arbitrary target environmentId belonging to a completely different tenant. Because the server failed to validate whether the target environment belonged to the same project or organization as the source run, it would execute the task within the victim's environment, resulting in unauthorized cross-tenant write operations and remote task execution.
A critical Server-Side Request Forgery (SSRF) vulnerability in Trigger.dev prior to version 4.5.2 allows authenticated organization members to configure webhook alert channels with unvalidated target URLs. This can lead to internal network scanning and cloud metadata extraction.